@microsoft/msgraph-sdk 1.0.0-preview.72 → 1.0.0-preview.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/models/identityGovernance/index.d.ts +1 -1
- package/models/index.d.ts +2167 -259
- package/models/index.d.ts.map +1 -1
- package/models/index.js +2200 -128
- package/models/index.js.map +1 -1
- package/models/security/index.d.ts +56 -2
- package/models/security/index.d.ts.map +1 -1
- package/models/security/index.js +63 -1
- package/models/security/index.js.map +1 -1
- package/package.json +2 -2
- package/tsconfig.tsbuildinfo +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/models/security/index.js
CHANGED
|
@@ -340,6 +340,8 @@ export function createCaseOperationFromDiscriminatorValue(parseNode) {
|
|
|
340
340
|
return deserializeIntoEdiscoveryExportOperation;
|
|
341
341
|
case "#microsoft.graph.security.ediscoveryHoldOperation":
|
|
342
342
|
return deserializeIntoEdiscoveryHoldOperation;
|
|
343
|
+
case "#microsoft.graph.security.ediscoveryHoldPolicySyncOperation":
|
|
344
|
+
return deserializeIntoEdiscoveryHoldPolicySyncOperation;
|
|
343
345
|
case "#microsoft.graph.security.ediscoveryIndexOperation":
|
|
344
346
|
return deserializeIntoEdiscoveryIndexOperation;
|
|
345
347
|
case "#microsoft.graph.security.ediscoveryPurgeDataOperation":
|
|
@@ -692,6 +694,15 @@ export function createEdiscoveryExportOperationFromDiscriminatorValue(parseNode)
|
|
|
692
694
|
export function createEdiscoveryHoldOperationFromDiscriminatorValue(parseNode) {
|
|
693
695
|
return deserializeIntoEdiscoveryHoldOperation;
|
|
694
696
|
}
|
|
697
|
+
/**
|
|
698
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
699
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
700
|
+
* @returns {EdiscoveryHoldPolicySyncOperation}
|
|
701
|
+
*/
|
|
702
|
+
// @ts-ignore
|
|
703
|
+
export function createEdiscoveryHoldPolicySyncOperationFromDiscriminatorValue(parseNode) {
|
|
704
|
+
return deserializeIntoEdiscoveryHoldPolicySyncOperation;
|
|
705
|
+
}
|
|
695
706
|
/**
|
|
696
707
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
697
708
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -2265,7 +2276,7 @@ export function createWhoisRecordFromDiscriminatorValue(parseNode) {
|
|
|
2265
2276
|
*/
|
|
2266
2277
|
// @ts-ignore
|
|
2267
2278
|
export function deserializeIntoAlert(alert = {}) {
|
|
2268
|
-
return Object.assign(Object.assign({}, deserializeIntoEntity(alert)), { "actorDisplayName": n => { alert.actorDisplayName = n.getStringValue(); }, "additionalData": n => { alert.additionalDataProperty = n.getObjectValue(createDictionaryFromDiscriminatorValue); }, "alertPolicyId": n => { alert.alertPolicyId = n.getStringValue(); }, "alertWebUrl": n => { alert.alertWebUrl = n.getStringValue(); }, "assignedTo": n => { alert.assignedTo = n.getStringValue(); }, "category": n => { alert.category = n.getStringValue(); }, "classification": n => { alert.classification = n.getEnumValue(AlertClassificationObject); }, "comments": n => { alert.comments = n.getCollectionOfObjectValues(createAlertCommentFromDiscriminatorValue); }, "createdDateTime": n => { alert.createdDateTime = n.getDateValue(); }, "customDetails": n => { alert.customDetails = n.getObjectValue(createDictionaryFromDiscriminatorValue); }, "description": n => { alert.description = n.getStringValue(); }, "detectionSource": n => { alert.detectionSource = n.getEnumValue(DetectionSourceObject); }, "detectorId": n => { alert.detectorId = n.getStringValue(); }, "determination": n => { alert.determination = n.getEnumValue(AlertDeterminationObject); }, "evidence": n => { alert.evidence = n.getCollectionOfObjectValues(createAlertEvidenceFromDiscriminatorValue); }, "firstActivityDateTime": n => { alert.firstActivityDateTime = n.getDateValue(); }, "incidentId": n => { alert.incidentId = n.getStringValue(); }, "incidentWebUrl": n => { alert.incidentWebUrl = n.getStringValue(); }, "lastActivityDateTime": n => { alert.lastActivityDateTime = n.getDateValue(); }, "lastUpdateDateTime": n => { alert.lastUpdateDateTime = n.getDateValue(); }, "mitreTechniques": n => { alert.mitreTechniques = n.getCollectionOfPrimitiveValues(); }, "productName": n => { alert.productName = n.getStringValue(); }, "providerAlertId": n => { alert.providerAlertId = n.getStringValue(); }, "recommendedActions": n => { alert.recommendedActions = n.getStringValue(); }, "resolvedDateTime": n => { alert.resolvedDateTime = n.getDateValue(); }, "serviceSource": n => { alert.serviceSource = n.getEnumValue(ServiceSourceObject); }, "severity": n => { alert.severity = n.getEnumValue(AlertSeverityObject); }, "status": n => { alert.status = n.getEnumValue(AlertStatusObject); }, "systemTags": n => { alert.systemTags = n.getCollectionOfPrimitiveValues(); }, "tenantId": n => { alert.tenantId = n.getStringValue(); }, "threatDisplayName": n => { alert.threatDisplayName = n.getStringValue(); }, "threatFamilyName": n => { alert.threatFamilyName = n.getStringValue(); }, "title": n => { alert.title = n.getStringValue(); } });
|
|
2279
|
+
return Object.assign(Object.assign({}, deserializeIntoEntity(alert)), { "actorDisplayName": n => { alert.actorDisplayName = n.getStringValue(); }, "additionalData": n => { alert.additionalDataProperty = n.getObjectValue(createDictionaryFromDiscriminatorValue); }, "alertPolicyId": n => { alert.alertPolicyId = n.getStringValue(); }, "alertWebUrl": n => { alert.alertWebUrl = n.getStringValue(); }, "assignedTo": n => { alert.assignedTo = n.getStringValue(); }, "category": n => { alert.category = n.getStringValue(); }, "classification": n => { alert.classification = n.getEnumValue(AlertClassificationObject); }, "comments": n => { alert.comments = n.getCollectionOfObjectValues(createAlertCommentFromDiscriminatorValue); }, "createdDateTime": n => { alert.createdDateTime = n.getDateValue(); }, "customDetails": n => { alert.customDetails = n.getObjectValue(createDictionaryFromDiscriminatorValue); }, "description": n => { alert.description = n.getStringValue(); }, "detectionSource": n => { alert.detectionSource = n.getEnumValue(DetectionSourceObject); }, "detectorId": n => { alert.detectorId = n.getStringValue(); }, "determination": n => { alert.determination = n.getEnumValue(AlertDeterminationObject); }, "evidence": n => { alert.evidence = n.getCollectionOfObjectValues(createAlertEvidenceFromDiscriminatorValue); }, "firstActivityDateTime": n => { alert.firstActivityDateTime = n.getDateValue(); }, "incidentId": n => { alert.incidentId = n.getStringValue(); }, "incidentWebUrl": n => { alert.incidentWebUrl = n.getStringValue(); }, "investigationState": n => { alert.investigationState = n.getEnumValue(InvestigationStateObject); }, "lastActivityDateTime": n => { alert.lastActivityDateTime = n.getDateValue(); }, "lastUpdateDateTime": n => { alert.lastUpdateDateTime = n.getDateValue(); }, "mitreTechniques": n => { alert.mitreTechniques = n.getCollectionOfPrimitiveValues(); }, "productName": n => { alert.productName = n.getStringValue(); }, "providerAlertId": n => { alert.providerAlertId = n.getStringValue(); }, "recommendedActions": n => { alert.recommendedActions = n.getStringValue(); }, "resolvedDateTime": n => { alert.resolvedDateTime = n.getDateValue(); }, "serviceSource": n => { alert.serviceSource = n.getEnumValue(ServiceSourceObject); }, "severity": n => { alert.severity = n.getEnumValue(AlertSeverityObject); }, "status": n => { alert.status = n.getEnumValue(AlertStatusObject); }, "systemTags": n => { alert.systemTags = n.getCollectionOfPrimitiveValues(); }, "tenantId": n => { alert.tenantId = n.getStringValue(); }, "threatDisplayName": n => { alert.threatDisplayName = n.getStringValue(); }, "threatFamilyName": n => { alert.threatFamilyName = n.getStringValue(); }, "title": n => { alert.title = n.getStringValue(); } });
|
|
2269
2280
|
}
|
|
2270
2281
|
/**
|
|
2271
2282
|
* The deserialization information for the current model
|
|
@@ -2771,6 +2782,15 @@ export function deserializeIntoEdiscoveryExportOperation(ediscoveryExportOperati
|
|
|
2771
2782
|
export function deserializeIntoEdiscoveryHoldOperation(ediscoveryHoldOperation = {}) {
|
|
2772
2783
|
return Object.assign({}, deserializeIntoCaseOperation(ediscoveryHoldOperation));
|
|
2773
2784
|
}
|
|
2785
|
+
/**
|
|
2786
|
+
* The deserialization information for the current model
|
|
2787
|
+
* @param EdiscoveryHoldPolicySyncOperation The instance to deserialize into.
|
|
2788
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
2789
|
+
*/
|
|
2790
|
+
// @ts-ignore
|
|
2791
|
+
export function deserializeIntoEdiscoveryHoldPolicySyncOperation(ediscoveryHoldPolicySyncOperation = {}) {
|
|
2792
|
+
return Object.assign(Object.assign({}, deserializeIntoCaseOperation(ediscoveryHoldPolicySyncOperation)), { "reportFileMetadata": n => { ediscoveryHoldPolicySyncOperation.reportFileMetadata = n.getCollectionOfObjectValues(createReportFileMetadataFromDiscriminatorValue); } });
|
|
2793
|
+
}
|
|
2774
2794
|
/**
|
|
2775
2795
|
* The deserialization information for the current model
|
|
2776
2796
|
* @param EdiscoveryIndexOperation The instance to deserialize into.
|
|
@@ -4467,6 +4487,7 @@ export function serializeAlert(writer, alert = {}, isSerializingDerivedType = fa
|
|
|
4467
4487
|
writer.writeDateValue("firstActivityDateTime", alert.firstActivityDateTime);
|
|
4468
4488
|
writer.writeStringValue("incidentId", alert.incidentId);
|
|
4469
4489
|
writer.writeStringValue("incidentWebUrl", alert.incidentWebUrl);
|
|
4490
|
+
writer.writeEnumValue("investigationState", alert.investigationState);
|
|
4470
4491
|
writer.writeDateValue("lastActivityDateTime", alert.lastActivityDateTime);
|
|
4471
4492
|
writer.writeDateValue("lastUpdateDateTime", alert.lastUpdateDateTime);
|
|
4472
4493
|
writer.writeCollectionOfPrimitiveValues("mitreTechniques", alert.mitreTechniques);
|
|
@@ -4983,6 +5004,9 @@ export function serializeCaseOperation(writer, caseOperation = {}, isSerializing
|
|
|
4983
5004
|
case "#microsoft.graph.security.ediscoveryHoldOperation":
|
|
4984
5005
|
serializeEdiscoveryHoldOperation(writer, caseOperation, true);
|
|
4985
5006
|
break;
|
|
5007
|
+
case "#microsoft.graph.security.ediscoveryHoldPolicySyncOperation":
|
|
5008
|
+
serializeEdiscoveryHoldPolicySyncOperation(writer, caseOperation, true);
|
|
5009
|
+
break;
|
|
4986
5010
|
case "#microsoft.graph.security.ediscoveryIndexOperation":
|
|
4987
5011
|
serializeEdiscoveryIndexOperation(writer, caseOperation, true);
|
|
4988
5012
|
break;
|
|
@@ -5595,6 +5619,20 @@ export function serializeEdiscoveryHoldOperation(writer, ediscoveryHoldOperation
|
|
|
5595
5619
|
}
|
|
5596
5620
|
serializeCaseOperation(writer, ediscoveryHoldOperation, isSerializingDerivedType);
|
|
5597
5621
|
}
|
|
5622
|
+
/**
|
|
5623
|
+
* Serializes information the current object
|
|
5624
|
+
* @param EdiscoveryHoldPolicySyncOperation The instance to serialize from.
|
|
5625
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
5626
|
+
* @param writer Serialization writer to use to serialize this model
|
|
5627
|
+
*/
|
|
5628
|
+
// @ts-ignore
|
|
5629
|
+
export function serializeEdiscoveryHoldPolicySyncOperation(writer, ediscoveryHoldPolicySyncOperation = {}, isSerializingDerivedType = false) {
|
|
5630
|
+
if (!ediscoveryHoldPolicySyncOperation || isSerializingDerivedType) {
|
|
5631
|
+
return;
|
|
5632
|
+
}
|
|
5633
|
+
serializeCaseOperation(writer, ediscoveryHoldPolicySyncOperation, isSerializingDerivedType);
|
|
5634
|
+
writer.writeCollectionOfObjectValues("reportFileMetadata", ediscoveryHoldPolicySyncOperation.reportFileMetadata, serializeReportFileMetadata);
|
|
5635
|
+
}
|
|
5598
5636
|
/**
|
|
5599
5637
|
* Serializes information the current object
|
|
5600
5638
|
* @param EdiscoveryIndexOperation The instance to serialize from.
|
|
@@ -8549,6 +8587,7 @@ export const CaseActionObject = {
|
|
|
8549
8587
|
PurgeData: "purgeData",
|
|
8550
8588
|
ExportReport: "exportReport",
|
|
8551
8589
|
ExportResult: "exportResult",
|
|
8590
|
+
HoldPolicySync: "holdPolicySync",
|
|
8552
8591
|
};
|
|
8553
8592
|
export const CaseOperationStatusObject = {
|
|
8554
8593
|
NotStarted: "notStarted",
|
|
@@ -8681,6 +8720,8 @@ export const DetectionSourceObject = {
|
|
|
8681
8720
|
BuiltInMl: "builtInMl",
|
|
8682
8721
|
MicrosoftInsiderRiskManagement: "microsoftInsiderRiskManagement",
|
|
8683
8722
|
MicrosoftThreatIntelligence: "microsoftThreatIntelligence",
|
|
8723
|
+
MicrosoftDefenderForAIServices: "microsoftDefenderForAIServices",
|
|
8724
|
+
SecurityCopilot: "securityCopilot",
|
|
8684
8725
|
MicrosoftSentinel: "microsoftSentinel",
|
|
8685
8726
|
};
|
|
8686
8727
|
export const DetectionStatusObject = {
|
|
@@ -8876,6 +8917,27 @@ export const IntelligenceProfileKindObject = {
|
|
|
8876
8917
|
Tool: "tool",
|
|
8877
8918
|
UnknownFutureValue: "unknownFutureValue",
|
|
8878
8919
|
};
|
|
8920
|
+
export const InvestigationStateObject = {
|
|
8921
|
+
Unknown: "unknown",
|
|
8922
|
+
Terminated: "terminated",
|
|
8923
|
+
SuccessfullyRemediated: "successfullyRemediated",
|
|
8924
|
+
Benign: "benign",
|
|
8925
|
+
Failed: "failed",
|
|
8926
|
+
PartiallyRemediated: "partiallyRemediated",
|
|
8927
|
+
Running: "running",
|
|
8928
|
+
PendingApproval: "pendingApproval",
|
|
8929
|
+
PendingResource: "pendingResource",
|
|
8930
|
+
Queued: "queued",
|
|
8931
|
+
InnerFailure: "innerFailure",
|
|
8932
|
+
PreexistingAlert: "preexistingAlert",
|
|
8933
|
+
UnsupportedOs: "unsupportedOs",
|
|
8934
|
+
UnsupportedAlertType: "unsupportedAlertType",
|
|
8935
|
+
SuppressedAlert: "suppressedAlert",
|
|
8936
|
+
PartiallyInvestigated: "partiallyInvestigated",
|
|
8937
|
+
TerminatedByUser: "terminatedByUser",
|
|
8938
|
+
TerminatedBySystem: "terminatedBySystem",
|
|
8939
|
+
UnknownFutureValue: "unknownFutureValue",
|
|
8940
|
+
};
|
|
8879
8941
|
export const IoTDeviceImportanceTypeObject = {
|
|
8880
8942
|
Unknown: "unknown",
|
|
8881
8943
|
Low: "low",
|