@microsoft/msgraph-sdk 1.0.0-preview.29 → 1.0.0-preview.39
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/callRecords/index.d.ts +38 -0
- package/models/callRecords/index.d.ts.map +1 -1
- package/models/callRecords/index.js +35 -1
- package/models/callRecords/index.js.map +1 -1
- package/models/externalConnectors/index.d.ts +1 -1
- package/models/index.d.ts +670 -108
- package/models/index.d.ts.map +1 -1
- package/models/index.js +510 -25
- package/models/index.js.map +1 -1
- package/models/security/index.d.ts +312 -45
- package/models/security/index.d.ts.map +1 -1
- package/models/security/index.js +241 -5
- 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.d.ts.map +1 -1
- package/version.js +3 -1
- package/version.js.map +1 -1
package/models/security/index.js
CHANGED
|
@@ -555,6 +555,15 @@ export function createDepartmentTemplateCollectionResponseFromDiscriminatorValue
|
|
|
555
555
|
export function createDepartmentTemplateFromDiscriminatorValue(parseNode) {
|
|
556
556
|
return deserializeIntoDepartmentTemplate;
|
|
557
557
|
}
|
|
558
|
+
/**
|
|
559
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
560
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
561
|
+
* @returns {DeploymentAccessKeyType}
|
|
562
|
+
*/
|
|
563
|
+
// @ts-ignore
|
|
564
|
+
export function createDeploymentAccessKeyTypeFromDiscriminatorValue(parseNode) {
|
|
565
|
+
return deserializeIntoDeploymentAccessKeyType;
|
|
566
|
+
}
|
|
558
567
|
/**
|
|
559
568
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
560
569
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -1572,6 +1581,15 @@ export function createMailClusterEvidenceFromDiscriminatorValue(parseNode) {
|
|
|
1572
1581
|
export function createMalwareEvidenceFromDiscriminatorValue(parseNode) {
|
|
1573
1582
|
return deserializeIntoMalwareEvidence;
|
|
1574
1583
|
}
|
|
1584
|
+
/**
|
|
1585
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
1586
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1587
|
+
* @returns {NetworkAdapter}
|
|
1588
|
+
*/
|
|
1589
|
+
// @ts-ignore
|
|
1590
|
+
export function createNetworkAdapterFromDiscriminatorValue(parseNode) {
|
|
1591
|
+
return deserializeIntoNetworkAdapter;
|
|
1592
|
+
}
|
|
1575
1593
|
/**
|
|
1576
1594
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
1577
1595
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -1807,6 +1825,42 @@ export function createSearchFromDiscriminatorValue(parseNode) {
|
|
|
1807
1825
|
export function createSecurityGroupEvidenceFromDiscriminatorValue(parseNode) {
|
|
1808
1826
|
return deserializeIntoSecurityGroupEvidence;
|
|
1809
1827
|
}
|
|
1828
|
+
/**
|
|
1829
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
1830
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1831
|
+
* @returns {SensorCollectionResponse}
|
|
1832
|
+
*/
|
|
1833
|
+
// @ts-ignore
|
|
1834
|
+
export function createSensorCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
1835
|
+
return deserializeIntoSensorCollectionResponse;
|
|
1836
|
+
}
|
|
1837
|
+
/**
|
|
1838
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
1839
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1840
|
+
* @returns {SensorDeploymentPackage}
|
|
1841
|
+
*/
|
|
1842
|
+
// @ts-ignore
|
|
1843
|
+
export function createSensorDeploymentPackageFromDiscriminatorValue(parseNode) {
|
|
1844
|
+
return deserializeIntoSensorDeploymentPackage;
|
|
1845
|
+
}
|
|
1846
|
+
/**
|
|
1847
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
1848
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1849
|
+
* @returns {Sensor}
|
|
1850
|
+
*/
|
|
1851
|
+
// @ts-ignore
|
|
1852
|
+
export function createSensorFromDiscriminatorValue(parseNode) {
|
|
1853
|
+
return deserializeIntoSensor;
|
|
1854
|
+
}
|
|
1855
|
+
/**
|
|
1856
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
1857
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1858
|
+
* @returns {SensorSettings}
|
|
1859
|
+
*/
|
|
1860
|
+
// @ts-ignore
|
|
1861
|
+
export function createSensorSettingsFromDiscriminatorValue(parseNode) {
|
|
1862
|
+
return deserializeIntoSensorSettings;
|
|
1863
|
+
}
|
|
1810
1864
|
/**
|
|
1811
1865
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
1812
1866
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -2466,7 +2520,7 @@ export function deserializeIntoCvssSummary(cvssSummary = {}) {
|
|
|
2466
2520
|
*/
|
|
2467
2521
|
// @ts-ignore
|
|
2468
2522
|
export function deserializeIntoDataSet(dataSet = {}) {
|
|
2469
|
-
return Object.assign(Object.assign({}, deserializeIntoEntity(dataSet)), { "createdBy": n => { dataSet.createdBy = n.getObjectValue(createIdentitySetFromDiscriminatorValue); }, "createdDateTime": n => { dataSet.createdDateTime = n.getDateValue(); }, "displayName": n => { dataSet.displayName = n.getStringValue(); } });
|
|
2523
|
+
return Object.assign(Object.assign({}, deserializeIntoEntity(dataSet)), { "createdBy": n => { dataSet.createdBy = n.getObjectValue(createIdentitySetFromDiscriminatorValue); }, "createdDateTime": n => { dataSet.createdDateTime = n.getDateValue(); }, "description": n => { dataSet.description = n.getStringValue(); }, "displayName": n => { dataSet.displayName = n.getStringValue(); } });
|
|
2470
2524
|
}
|
|
2471
2525
|
/**
|
|
2472
2526
|
* The deserialization information for the current model
|
|
@@ -2513,6 +2567,18 @@ export function deserializeIntoDepartmentTemplateCollectionResponse(departmentTe
|
|
|
2513
2567
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
2514
2568
|
*/
|
|
2515
2569
|
// @ts-ignore
|
|
2570
|
+
export function deserializeIntoDeploymentAccessKeyType(deploymentAccessKeyType = {}) {
|
|
2571
|
+
return {
|
|
2572
|
+
"backingStoreEnabled": n => { deploymentAccessKeyType.backingStoreEnabled = true; },
|
|
2573
|
+
"deploymentAccessKey": n => { deploymentAccessKeyType.deploymentAccessKey = n.getStringValue(); },
|
|
2574
|
+
"@odata.type": n => { deploymentAccessKeyType.odataType = n.getStringValue(); },
|
|
2575
|
+
};
|
|
2576
|
+
}
|
|
2577
|
+
/**
|
|
2578
|
+
* The deserialization information for the current model
|
|
2579
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
2580
|
+
*/
|
|
2581
|
+
// @ts-ignore
|
|
2516
2582
|
export function deserializeIntoDeviceEvidence(deviceEvidence = {}) {
|
|
2517
2583
|
return Object.assign(Object.assign({}, deserializeIntoAlertEvidence(deviceEvidence)), { "azureAdDeviceId": n => { deviceEvidence.azureAdDeviceId = n.getStringValue(); }, "defenderAvStatus": n => { deviceEvidence.defenderAvStatus = n.getEnumValue(DefenderAvStatusObject); }, "deviceDnsName": n => { deviceEvidence.deviceDnsName = n.getStringValue(); }, "dnsDomain": n => { deviceEvidence.dnsDomain = n.getStringValue(); }, "firstSeenDateTime": n => { deviceEvidence.firstSeenDateTime = n.getDateValue(); }, "healthStatus": n => { deviceEvidence.healthStatus = n.getEnumValue(DeviceHealthStatusObject); }, "hostName": n => { deviceEvidence.hostName = n.getStringValue(); }, "ipInterfaces": n => { deviceEvidence.ipInterfaces = n.getCollectionOfPrimitiveValues(); }, "lastExternalIpAddress": n => { deviceEvidence.lastExternalIpAddress = n.getStringValue(); }, "lastIpAddress": n => { deviceEvidence.lastIpAddress = n.getStringValue(); }, "loggedOnUsers": n => { deviceEvidence.loggedOnUsers = n.getCollectionOfObjectValues(createLoggedOnUserFromDiscriminatorValue); }, "mdeDeviceId": n => { deviceEvidence.mdeDeviceId = n.getStringValue(); }, "ntDomain": n => { deviceEvidence.ntDomain = n.getStringValue(); }, "onboardingStatus": n => { deviceEvidence.onboardingStatus = n.getEnumValue(OnboardingStatusObject); }, "osBuild": n => { deviceEvidence.osBuild = n.getNumberValue(); }, "osPlatform": n => { deviceEvidence.osPlatform = n.getStringValue(); }, "rbacGroupId": n => { deviceEvidence.rbacGroupId = n.getNumberValue(); }, "rbacGroupName": n => { deviceEvidence.rbacGroupName = n.getStringValue(); }, "riskScore": n => { deviceEvidence.riskScore = n.getEnumValue(DeviceRiskScoreObject); }, "version": n => { deviceEvidence.version = n.getStringValue(); }, "vmMetadata": n => { deviceEvidence.vmMetadata = n.getObjectValue(createVmMetadataFromDiscriminatorValue); } });
|
|
2518
2584
|
}
|
|
@@ -3247,7 +3313,7 @@ export function deserializeIntoHyperlink(hyperlink = {}) {
|
|
|
3247
3313
|
*/
|
|
3248
3314
|
// @ts-ignore
|
|
3249
3315
|
export function deserializeIntoIdentityContainer(identityContainer = {}) {
|
|
3250
|
-
return Object.assign(Object.assign({}, deserializeIntoEntity(identityContainer)), { "healthIssues": n => { identityContainer.healthIssues = n.getCollectionOfObjectValues(createHealthIssueFromDiscriminatorValue); } });
|
|
3316
|
+
return Object.assign(Object.assign({}, deserializeIntoEntity(identityContainer)), { "healthIssues": n => { identityContainer.healthIssues = n.getCollectionOfObjectValues(createHealthIssueFromDiscriminatorValue); }, "sensors": n => { identityContainer.sensors = n.getCollectionOfObjectValues(createSensorFromDiscriminatorValue); } });
|
|
3251
3317
|
}
|
|
3252
3318
|
/**
|
|
3253
3319
|
* The deserialization information for the current model
|
|
@@ -3324,7 +3390,7 @@ export function deserializeIntoIntelligenceProfileIndicatorCollectionResponse(in
|
|
|
3324
3390
|
*/
|
|
3325
3391
|
// @ts-ignore
|
|
3326
3392
|
export function deserializeIntoIoTDeviceEvidence(ioTDeviceEvidence = {}) {
|
|
3327
|
-
return Object.assign(Object.assign({}, deserializeIntoAlertEvidence(ioTDeviceEvidence)), { "deviceId": n => { ioTDeviceEvidence.deviceId = n.getStringValue(); }, "deviceName": n => { ioTDeviceEvidence.deviceName = n.getStringValue(); }, "devicePageLink": n => { ioTDeviceEvidence.devicePageLink = n.getStringValue(); }, "deviceSubType": n => { ioTDeviceEvidence.deviceSubType = n.getStringValue(); }, "deviceType": n => { ioTDeviceEvidence.deviceType = n.getStringValue(); }, "importance": n => { ioTDeviceEvidence.importance = n.getEnumValue(IoTDeviceImportanceTypeObject); }, "ioTHub": n => { ioTDeviceEvidence.ioTHub = n.getObjectValue(createAzureResourceEvidenceFromDiscriminatorValue); }, "ioTSecurityAgentId": n => { ioTDeviceEvidence.ioTSecurityAgentId = n.getStringValue(); }, "ipAddress": n => { ioTDeviceEvidence.ipAddress = n.getObjectValue(createIpEvidenceFromDiscriminatorValue); }, "isAuthorized": n => { ioTDeviceEvidence.isAuthorized = n.getBooleanValue(); }, "isProgramming": n => { ioTDeviceEvidence.isProgramming = n.getBooleanValue(); }, "isScanner": n => { ioTDeviceEvidence.isScanner = n.getBooleanValue(); }, "macAddress": n => { ioTDeviceEvidence.macAddress = n.getStringValue(); }, "manufacturer": n => { ioTDeviceEvidence.manufacturer = n.getStringValue(); }, "model": n => { ioTDeviceEvidence.model = n.getStringValue(); }, "nics": n => { ioTDeviceEvidence.nics = n.
|
|
3393
|
+
return Object.assign(Object.assign({}, deserializeIntoAlertEvidence(ioTDeviceEvidence)), { "deviceId": n => { ioTDeviceEvidence.deviceId = n.getStringValue(); }, "deviceName": n => { ioTDeviceEvidence.deviceName = n.getStringValue(); }, "devicePageLink": n => { ioTDeviceEvidence.devicePageLink = n.getStringValue(); }, "deviceSubType": n => { ioTDeviceEvidence.deviceSubType = n.getStringValue(); }, "deviceType": n => { ioTDeviceEvidence.deviceType = n.getStringValue(); }, "importance": n => { ioTDeviceEvidence.importance = n.getEnumValue(IoTDeviceImportanceTypeObject); }, "ioTHub": n => { ioTDeviceEvidence.ioTHub = n.getObjectValue(createAzureResourceEvidenceFromDiscriminatorValue); }, "ioTSecurityAgentId": n => { ioTDeviceEvidence.ioTSecurityAgentId = n.getStringValue(); }, "ipAddress": n => { ioTDeviceEvidence.ipAddress = n.getObjectValue(createIpEvidenceFromDiscriminatorValue); }, "isAuthorized": n => { ioTDeviceEvidence.isAuthorized = n.getBooleanValue(); }, "isProgramming": n => { ioTDeviceEvidence.isProgramming = n.getBooleanValue(); }, "isScanner": n => { ioTDeviceEvidence.isScanner = n.getBooleanValue(); }, "macAddress": n => { ioTDeviceEvidence.macAddress = n.getStringValue(); }, "manufacturer": n => { ioTDeviceEvidence.manufacturer = n.getStringValue(); }, "model": n => { ioTDeviceEvidence.model = n.getStringValue(); }, "nics": n => { ioTDeviceEvidence.nics = n.getCollectionOfObjectValues(createNicEvidenceFromDiscriminatorValue); }, "operatingSystem": n => { ioTDeviceEvidence.operatingSystem = n.getStringValue(); }, "owners": n => { ioTDeviceEvidence.owners = n.getCollectionOfPrimitiveValues(); }, "protocols": n => { ioTDeviceEvidence.protocols = n.getCollectionOfPrimitiveValues(); }, "purdueLayer": n => { ioTDeviceEvidence.purdueLayer = n.getStringValue(); }, "sensor": n => { ioTDeviceEvidence.sensor = n.getStringValue(); }, "serialNumber": n => { ioTDeviceEvidence.serialNumber = n.getStringValue(); }, "site": n => { ioTDeviceEvidence.site = n.getStringValue(); }, "source": n => { ioTDeviceEvidence.source = n.getStringValue(); }, "sourceRef": n => { ioTDeviceEvidence.sourceRef = n.getObjectValue(createUrlEvidenceFromDiscriminatorValue); }, "zone": n => { ioTDeviceEvidence.zone = n.getStringValue(); } });
|
|
3328
3394
|
}
|
|
3329
3395
|
/**
|
|
3330
3396
|
* The deserialization information for the current model
|
|
@@ -3473,6 +3539,14 @@ export function deserializeIntoMalwareEvidence(malwareEvidence = {}) {
|
|
|
3473
3539
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
3474
3540
|
*/
|
|
3475
3541
|
// @ts-ignore
|
|
3542
|
+
export function deserializeIntoNetworkAdapter(networkAdapter = {}) {
|
|
3543
|
+
return Object.assign(Object.assign({}, deserializeIntoEntity(networkAdapter)), { "isEnabled": n => { networkAdapter.isEnabled = n.getBooleanValue(); }, "name": n => { networkAdapter.name = n.getStringValue(); } });
|
|
3544
|
+
}
|
|
3545
|
+
/**
|
|
3546
|
+
* The deserialization information for the current model
|
|
3547
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
3548
|
+
*/
|
|
3549
|
+
// @ts-ignore
|
|
3476
3550
|
export function deserializeIntoNetworkConnectionEvidence(networkConnectionEvidence = {}) {
|
|
3477
3551
|
return Object.assign(Object.assign({}, deserializeIntoAlertEvidence(networkConnectionEvidence)), { "destinationAddress": n => { networkConnectionEvidence.destinationAddress = n.getObjectValue(createIpEvidenceFromDiscriminatorValue); }, "destinationPort": n => { networkConnectionEvidence.destinationPort = n.getNumberValue(); }, "protocol": n => { networkConnectionEvidence.protocol = n.getEnumValue(ProtocolTypeObject); }, "sourceAddress": n => { networkConnectionEvidence.sourceAddress = n.getObjectValue(createIpEvidenceFromDiscriminatorValue); }, "sourcePort": n => { networkConnectionEvidence.sourcePort = n.getNumberValue(); } });
|
|
3478
3552
|
}
|
|
@@ -3678,6 +3752,50 @@ export function deserializeIntoSecurityGroupEvidence(securityGroupEvidence = {})
|
|
|
3678
3752
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
3679
3753
|
*/
|
|
3680
3754
|
// @ts-ignore
|
|
3755
|
+
export function deserializeIntoSensor(sensor = {}) {
|
|
3756
|
+
return Object.assign(Object.assign({}, deserializeIntoEntity(sensor)), { "createdDateTime": n => { sensor.createdDateTime = n.getDateValue(); }, "deploymentStatus": n => { sensor.deploymentStatus = n.getEnumValue(DeploymentStatusObject); }, "displayName": n => { sensor.displayName = n.getStringValue(); }, "domainName": n => { sensor.domainName = n.getStringValue(); }, "healthIssues": n => { sensor.healthIssues = n.getCollectionOfObjectValues(createHealthIssueFromDiscriminatorValue); }, "healthStatus": n => { sensor.healthStatus = n.getEnumValue(SensorHealthStatusObject); }, "openHealthIssuesCount": n => { sensor.openHealthIssuesCount = n.getNumberValue(); }, "sensorType": n => { sensor.sensorType = n.getEnumValue(SensorTypeObject); }, "settings": n => { sensor.settings = n.getObjectValue(createSensorSettingsFromDiscriminatorValue); }, "version": n => { sensor.version = n.getStringValue(); } });
|
|
3757
|
+
}
|
|
3758
|
+
/**
|
|
3759
|
+
* The deserialization information for the current model
|
|
3760
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
3761
|
+
*/
|
|
3762
|
+
// @ts-ignore
|
|
3763
|
+
export function deserializeIntoSensorCollectionResponse(sensorCollectionResponse = {}) {
|
|
3764
|
+
return Object.assign(Object.assign({}, deserializeIntoBaseCollectionPaginationCountResponse(sensorCollectionResponse)), { "value": n => { sensorCollectionResponse.value = n.getCollectionOfObjectValues(createSensorFromDiscriminatorValue); } });
|
|
3765
|
+
}
|
|
3766
|
+
/**
|
|
3767
|
+
* The deserialization information for the current model
|
|
3768
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
3769
|
+
*/
|
|
3770
|
+
// @ts-ignore
|
|
3771
|
+
export function deserializeIntoSensorDeploymentPackage(sensorDeploymentPackage = {}) {
|
|
3772
|
+
return {
|
|
3773
|
+
"backingStoreEnabled": n => { sensorDeploymentPackage.backingStoreEnabled = true; },
|
|
3774
|
+
"downloadUrl": n => { sensorDeploymentPackage.downloadUrl = n.getStringValue(); },
|
|
3775
|
+
"@odata.type": n => { sensorDeploymentPackage.odataType = n.getStringValue(); },
|
|
3776
|
+
"version": n => { sensorDeploymentPackage.version = n.getStringValue(); },
|
|
3777
|
+
};
|
|
3778
|
+
}
|
|
3779
|
+
/**
|
|
3780
|
+
* The deserialization information for the current model
|
|
3781
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
3782
|
+
*/
|
|
3783
|
+
// @ts-ignore
|
|
3784
|
+
export function deserializeIntoSensorSettings(sensorSettings = {}) {
|
|
3785
|
+
return {
|
|
3786
|
+
"backingStoreEnabled": n => { sensorSettings.backingStoreEnabled = true; },
|
|
3787
|
+
"description": n => { sensorSettings.description = n.getStringValue(); },
|
|
3788
|
+
"domainControllerDnsNames": n => { sensorSettings.domainControllerDnsNames = n.getCollectionOfPrimitiveValues(); },
|
|
3789
|
+
"isDelayedDeploymentEnabled": n => { sensorSettings.isDelayedDeploymentEnabled = n.getBooleanValue(); },
|
|
3790
|
+
"networkAdapters": n => { sensorSettings.networkAdapters = n.getCollectionOfObjectValues(createNetworkAdapterFromDiscriminatorValue); },
|
|
3791
|
+
"@odata.type": n => { sensorSettings.odataType = n.getStringValue(); },
|
|
3792
|
+
};
|
|
3793
|
+
}
|
|
3794
|
+
/**
|
|
3795
|
+
* The deserialization information for the current model
|
|
3796
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
3797
|
+
*/
|
|
3798
|
+
// @ts-ignore
|
|
3681
3799
|
export function deserializeIntoServicePrincipalEvidence(servicePrincipalEvidence = {}) {
|
|
3682
3800
|
return Object.assign(Object.assign({}, deserializeIntoAlertEvidence(servicePrincipalEvidence)), { "appId": n => { servicePrincipalEvidence.appId = n.getStringValue(); }, "appOwnerTenantId": n => { servicePrincipalEvidence.appOwnerTenantId = n.getStringValue(); }, "servicePrincipalName": n => { servicePrincipalEvidence.servicePrincipalName = n.getStringValue(); }, "servicePrincipalObjectId": n => { servicePrincipalEvidence.servicePrincipalObjectId = n.getStringValue(); }, "servicePrincipalType": n => { servicePrincipalEvidence.servicePrincipalType = n.getEnumValue(ServicePrincipalTypeObject); }, "tenantId": n => { servicePrincipalEvidence.tenantId = n.getStringValue(); } });
|
|
3683
3801
|
}
|
|
@@ -4513,6 +4631,7 @@ export function serializeDataSet(writer, dataSet = {}) {
|
|
|
4513
4631
|
serializeEntity(writer, dataSet);
|
|
4514
4632
|
writer.writeObjectValue("createdBy", dataSet.createdBy, serializeIdentitySet);
|
|
4515
4633
|
writer.writeDateValue("createdDateTime", dataSet.createdDateTime);
|
|
4634
|
+
writer.writeStringValue("description", dataSet.description);
|
|
4516
4635
|
writer.writeStringValue("displayName", dataSet.displayName);
|
|
4517
4636
|
}
|
|
4518
4637
|
}
|
|
@@ -4583,6 +4702,18 @@ export function serializeDepartmentTemplateCollectionResponse(writer, department
|
|
|
4583
4702
|
* @param writer Serialization writer to use to serialize this model
|
|
4584
4703
|
*/
|
|
4585
4704
|
// @ts-ignore
|
|
4705
|
+
export function serializeDeploymentAccessKeyType(writer, deploymentAccessKeyType = {}) {
|
|
4706
|
+
if (deploymentAccessKeyType) {
|
|
4707
|
+
writer.writeStringValue("deploymentAccessKey", deploymentAccessKeyType.deploymentAccessKey);
|
|
4708
|
+
writer.writeStringValue("@odata.type", deploymentAccessKeyType.odataType);
|
|
4709
|
+
writer.writeAdditionalData(deploymentAccessKeyType.additionalData);
|
|
4710
|
+
}
|
|
4711
|
+
}
|
|
4712
|
+
/**
|
|
4713
|
+
* Serializes information the current object
|
|
4714
|
+
* @param writer Serialization writer to use to serialize this model
|
|
4715
|
+
*/
|
|
4716
|
+
// @ts-ignore
|
|
4586
4717
|
export function serializeDeviceEvidence(writer, deviceEvidence = {}) {
|
|
4587
4718
|
if (deviceEvidence) {
|
|
4588
4719
|
serializeAlertEvidence(writer, deviceEvidence);
|
|
@@ -5664,6 +5795,7 @@ export function serializeIdentityContainer(writer, identityContainer = {}) {
|
|
|
5664
5795
|
if (identityContainer) {
|
|
5665
5796
|
serializeEntity(writer, identityContainer);
|
|
5666
5797
|
writer.writeCollectionOfObjectValues("healthIssues", identityContainer.healthIssues, serializeHealthIssue);
|
|
5798
|
+
writer.writeCollectionOfObjectValues("sensors", identityContainer.sensors, serializeSensor);
|
|
5667
5799
|
}
|
|
5668
5800
|
}
|
|
5669
5801
|
/**
|
|
@@ -5808,7 +5940,7 @@ export function serializeIoTDeviceEvidence(writer, ioTDeviceEvidence = {}) {
|
|
|
5808
5940
|
writer.writeStringValue("macAddress", ioTDeviceEvidence.macAddress);
|
|
5809
5941
|
writer.writeStringValue("manufacturer", ioTDeviceEvidence.manufacturer);
|
|
5810
5942
|
writer.writeStringValue("model", ioTDeviceEvidence.model);
|
|
5811
|
-
writer.
|
|
5943
|
+
writer.writeCollectionOfObjectValues("nics", ioTDeviceEvidence.nics, serializeNicEvidence);
|
|
5812
5944
|
writer.writeStringValue("operatingSystem", ioTDeviceEvidence.operatingSystem);
|
|
5813
5945
|
writer.writeCollectionOfPrimitiveValues("owners", ioTDeviceEvidence.owners);
|
|
5814
5946
|
writer.writeCollectionOfPrimitiveValues("protocols", ioTDeviceEvidence.protocols);
|
|
@@ -6063,6 +6195,18 @@ export function serializeMalwareEvidence(writer, malwareEvidence = {}) {
|
|
|
6063
6195
|
* @param writer Serialization writer to use to serialize this model
|
|
6064
6196
|
*/
|
|
6065
6197
|
// @ts-ignore
|
|
6198
|
+
export function serializeNetworkAdapter(writer, networkAdapter = {}) {
|
|
6199
|
+
if (networkAdapter) {
|
|
6200
|
+
serializeEntity(writer, networkAdapter);
|
|
6201
|
+
writer.writeBooleanValue("isEnabled", networkAdapter.isEnabled);
|
|
6202
|
+
writer.writeStringValue("name", networkAdapter.name);
|
|
6203
|
+
}
|
|
6204
|
+
}
|
|
6205
|
+
/**
|
|
6206
|
+
* Serializes information the current object
|
|
6207
|
+
* @param writer Serialization writer to use to serialize this model
|
|
6208
|
+
*/
|
|
6209
|
+
// @ts-ignore
|
|
6066
6210
|
export function serializeNetworkConnectionEvidence(writer, networkConnectionEvidence = {}) {
|
|
6067
6211
|
if (networkConnectionEvidence) {
|
|
6068
6212
|
serializeAlertEvidence(writer, networkConnectionEvidence);
|
|
@@ -6401,6 +6545,65 @@ export function serializeSecurityGroupEvidence(writer, securityGroupEvidence = {
|
|
|
6401
6545
|
* @param writer Serialization writer to use to serialize this model
|
|
6402
6546
|
*/
|
|
6403
6547
|
// @ts-ignore
|
|
6548
|
+
export function serializeSensor(writer, sensor = {}) {
|
|
6549
|
+
if (sensor) {
|
|
6550
|
+
serializeEntity(writer, sensor);
|
|
6551
|
+
writer.writeDateValue("createdDateTime", sensor.createdDateTime);
|
|
6552
|
+
writer.writeEnumValue("deploymentStatus", sensor.deploymentStatus);
|
|
6553
|
+
writer.writeStringValue("displayName", sensor.displayName);
|
|
6554
|
+
writer.writeStringValue("domainName", sensor.domainName);
|
|
6555
|
+
writer.writeCollectionOfObjectValues("healthIssues", sensor.healthIssues, serializeHealthIssue);
|
|
6556
|
+
writer.writeEnumValue("healthStatus", sensor.healthStatus);
|
|
6557
|
+
writer.writeNumberValue("openHealthIssuesCount", sensor.openHealthIssuesCount);
|
|
6558
|
+
writer.writeEnumValue("sensorType", sensor.sensorType);
|
|
6559
|
+
writer.writeObjectValue("settings", sensor.settings, serializeSensorSettings);
|
|
6560
|
+
writer.writeStringValue("version", sensor.version);
|
|
6561
|
+
}
|
|
6562
|
+
}
|
|
6563
|
+
/**
|
|
6564
|
+
* Serializes information the current object
|
|
6565
|
+
* @param writer Serialization writer to use to serialize this model
|
|
6566
|
+
*/
|
|
6567
|
+
// @ts-ignore
|
|
6568
|
+
export function serializeSensorCollectionResponse(writer, sensorCollectionResponse = {}) {
|
|
6569
|
+
if (sensorCollectionResponse) {
|
|
6570
|
+
serializeBaseCollectionPaginationCountResponse(writer, sensorCollectionResponse);
|
|
6571
|
+
writer.writeCollectionOfObjectValues("value", sensorCollectionResponse.value, serializeSensor);
|
|
6572
|
+
}
|
|
6573
|
+
}
|
|
6574
|
+
/**
|
|
6575
|
+
* Serializes information the current object
|
|
6576
|
+
* @param writer Serialization writer to use to serialize this model
|
|
6577
|
+
*/
|
|
6578
|
+
// @ts-ignore
|
|
6579
|
+
export function serializeSensorDeploymentPackage(writer, sensorDeploymentPackage = {}) {
|
|
6580
|
+
if (sensorDeploymentPackage) {
|
|
6581
|
+
writer.writeStringValue("downloadUrl", sensorDeploymentPackage.downloadUrl);
|
|
6582
|
+
writer.writeStringValue("@odata.type", sensorDeploymentPackage.odataType);
|
|
6583
|
+
writer.writeStringValue("version", sensorDeploymentPackage.version);
|
|
6584
|
+
writer.writeAdditionalData(sensorDeploymentPackage.additionalData);
|
|
6585
|
+
}
|
|
6586
|
+
}
|
|
6587
|
+
/**
|
|
6588
|
+
* Serializes information the current object
|
|
6589
|
+
* @param writer Serialization writer to use to serialize this model
|
|
6590
|
+
*/
|
|
6591
|
+
// @ts-ignore
|
|
6592
|
+
export function serializeSensorSettings(writer, sensorSettings = {}) {
|
|
6593
|
+
if (sensorSettings) {
|
|
6594
|
+
writer.writeStringValue("description", sensorSettings.description);
|
|
6595
|
+
writer.writeCollectionOfPrimitiveValues("domainControllerDnsNames", sensorSettings.domainControllerDnsNames);
|
|
6596
|
+
writer.writeBooleanValue("isDelayedDeploymentEnabled", sensorSettings.isDelayedDeploymentEnabled);
|
|
6597
|
+
writer.writeCollectionOfObjectValues("networkAdapters", sensorSettings.networkAdapters, serializeNetworkAdapter);
|
|
6598
|
+
writer.writeStringValue("@odata.type", sensorSettings.odataType);
|
|
6599
|
+
writer.writeAdditionalData(sensorSettings.additionalData);
|
|
6600
|
+
}
|
|
6601
|
+
}
|
|
6602
|
+
/**
|
|
6603
|
+
* Serializes information the current object
|
|
6604
|
+
* @param writer Serialization writer to use to serialize this model
|
|
6605
|
+
*/
|
|
6606
|
+
// @ts-ignore
|
|
6404
6607
|
export function serializeServicePrincipalEvidence(writer, servicePrincipalEvidence = {}) {
|
|
6405
6608
|
if (servicePrincipalEvidence) {
|
|
6406
6609
|
serializeAlertEvidence(writer, servicePrincipalEvidence);
|
|
@@ -7078,6 +7281,18 @@ export const DefenderAvStatusObject = {
|
|
|
7078
7281
|
NotSupported: "notSupported",
|
|
7079
7282
|
UnknownFutureValue: "unknownFutureValue",
|
|
7080
7283
|
};
|
|
7284
|
+
export const DeploymentStatusObject = {
|
|
7285
|
+
UpToDate: "upToDate",
|
|
7286
|
+
Outdated: "outdated",
|
|
7287
|
+
Updating: "updating",
|
|
7288
|
+
UpdateFailed: "updateFailed",
|
|
7289
|
+
NotConfigured: "notConfigured",
|
|
7290
|
+
Unreachable: "unreachable",
|
|
7291
|
+
Disconnected: "disconnected",
|
|
7292
|
+
StartFailure: "startFailure",
|
|
7293
|
+
Syncing: "syncing",
|
|
7294
|
+
UnknownFutureValue: "unknownFutureValue",
|
|
7295
|
+
};
|
|
7081
7296
|
export const DetectionSourceObject = {
|
|
7082
7297
|
Unknown: "unknown",
|
|
7083
7298
|
MicrosoftDefenderForEndpoint: "microsoftDefenderForEndpoint",
|
|
@@ -7160,6 +7375,12 @@ export const EvidenceRemediationStatusObject = {
|
|
|
7160
7375
|
Blocked: "blocked",
|
|
7161
7376
|
NotFound: "notFound",
|
|
7162
7377
|
UnknownFutureValue: "unknownFutureValue",
|
|
7378
|
+
Active: "active",
|
|
7379
|
+
PendingApproval: "pendingApproval",
|
|
7380
|
+
Declined: "declined",
|
|
7381
|
+
Unremediated: "unremediated",
|
|
7382
|
+
Running: "running",
|
|
7383
|
+
PartiallyRemediated: "partiallyRemediated",
|
|
7163
7384
|
};
|
|
7164
7385
|
export const EvidenceRoleObject = {
|
|
7165
7386
|
Unknown: "unknown",
|
|
@@ -7341,8 +7562,8 @@ export const PurgeAreasObject = {
|
|
|
7341
7562
|
};
|
|
7342
7563
|
export const PurgeTypeObject = {
|
|
7343
7564
|
Recoverable: "recoverable",
|
|
7344
|
-
PermanentlyDeleted: "permanentlyDeleted",
|
|
7345
7565
|
UnknownFutureValue: "unknownFutureValue",
|
|
7566
|
+
PermanentlyDelete: "permanentlyDelete",
|
|
7346
7567
|
};
|
|
7347
7568
|
export const QueryTypeObject = {
|
|
7348
7569
|
Files: "files",
|
|
@@ -7356,6 +7577,21 @@ export const RetentionTriggerObject = {
|
|
|
7356
7577
|
DateOfEvent: "dateOfEvent",
|
|
7357
7578
|
UnknownFutureValue: "unknownFutureValue",
|
|
7358
7579
|
};
|
|
7580
|
+
export const SensorHealthStatusObject = {
|
|
7581
|
+
Healthy: "healthy",
|
|
7582
|
+
NotHealthyLow: "notHealthyLow",
|
|
7583
|
+
NotHealthyMedium: "notHealthyMedium",
|
|
7584
|
+
NotHealthyHigh: "notHealthyHigh",
|
|
7585
|
+
UnknownFutureValue: "unknownFutureValue",
|
|
7586
|
+
};
|
|
7587
|
+
export const SensorTypeObject = {
|
|
7588
|
+
AdConnectIntegrated: "adConnectIntegrated",
|
|
7589
|
+
AdcsIntegrated: "adcsIntegrated",
|
|
7590
|
+
AdfsIntegrated: "adfsIntegrated",
|
|
7591
|
+
DomainControllerIntegrated: "domainControllerIntegrated",
|
|
7592
|
+
DomainControllerStandalone: "domainControllerStandalone",
|
|
7593
|
+
UnknownFutureValue: "unknownFutureValue",
|
|
7594
|
+
};
|
|
7359
7595
|
export const ServicePrincipalTypeObject = {
|
|
7360
7596
|
Unknown: "unknown",
|
|
7361
7597
|
Application: "application",
|