@microsoft/msgraph-sdk 1.0.0-preview.73 → 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/index.d.ts +755 -49
- package/models/index.d.ts.map +1 -1
- package/models/index.js +834 -45
- package/models/index.js.map +1 -1
- package/models/security/index.d.ts +26 -0
- package/models/security/index.d.ts.map +1 -1
- package/models/security/index.js +23 -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
|
@@ -2276,7 +2276,7 @@ export function createWhoisRecordFromDiscriminatorValue(parseNode) {
|
|
|
2276
2276
|
*/
|
|
2277
2277
|
// @ts-ignore
|
|
2278
2278
|
export function deserializeIntoAlert(alert = {}) {
|
|
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(); }, "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(); } });
|
|
2280
2280
|
}
|
|
2281
2281
|
/**
|
|
2282
2282
|
* The deserialization information for the current model
|
|
@@ -4487,6 +4487,7 @@ export function serializeAlert(writer, alert = {}, isSerializingDerivedType = fa
|
|
|
4487
4487
|
writer.writeDateValue("firstActivityDateTime", alert.firstActivityDateTime);
|
|
4488
4488
|
writer.writeStringValue("incidentId", alert.incidentId);
|
|
4489
4489
|
writer.writeStringValue("incidentWebUrl", alert.incidentWebUrl);
|
|
4490
|
+
writer.writeEnumValue("investigationState", alert.investigationState);
|
|
4490
4491
|
writer.writeDateValue("lastActivityDateTime", alert.lastActivityDateTime);
|
|
4491
4492
|
writer.writeDateValue("lastUpdateDateTime", alert.lastUpdateDateTime);
|
|
4492
4493
|
writer.writeCollectionOfPrimitiveValues("mitreTechniques", alert.mitreTechniques);
|
|
@@ -8916,6 +8917,27 @@ export const IntelligenceProfileKindObject = {
|
|
|
8916
8917
|
Tool: "tool",
|
|
8917
8918
|
UnknownFutureValue: "unknownFutureValue",
|
|
8918
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
|
+
};
|
|
8919
8941
|
export const IoTDeviceImportanceTypeObject = {
|
|
8920
8942
|
Unknown: "unknown",
|
|
8921
8943
|
Low: "low",
|