diff --git a/packages/kiota-dom-export.txt b/packages/kiota-dom-export.txt index 9bfde39b393..f5ae9519818 100644 --- a/packages/kiota-dom-export.txt +++ b/packages/kiota-dom-export.txt @@ -83090,12 +83090,22 @@ github.com/microsoftgraph/msgraph-sdk-typescript/.models.ProtectedContent::|publ github.com/microsoftgraph/msgraph-sdk-typescript/.models.ProtectedContent::|public|labelId:string github.com/microsoftgraph/msgraph-sdk-typescript/.models.ProtectedContent::|public|odataType:string github.com/microsoftgraph/msgraph-sdk-typescript/.models.ProtectedContent~~>AdditionalDataHolder; BackedModel; Parsable +github.com/microsoftgraph/msgraph-sdk-typescript/.models.ProtectionPolicyArtifactCount::|public|AdditionalData:Record +github.com/microsoftgraph/msgraph-sdk-typescript/.models.ProtectionPolicyArtifactCount::|public|backingStoreEnabled:boolean +github.com/microsoftgraph/msgraph-sdk-typescript/.models.ProtectionPolicyArtifactCount::|public|completed:number +github.com/microsoftgraph/msgraph-sdk-typescript/.models.ProtectionPolicyArtifactCount::|public|failed:number +github.com/microsoftgraph/msgraph-sdk-typescript/.models.ProtectionPolicyArtifactCount::|public|inProgress:number +github.com/microsoftgraph/msgraph-sdk-typescript/.models.ProtectionPolicyArtifactCount::|public|odataType:string +github.com/microsoftgraph/msgraph-sdk-typescript/.models.ProtectionPolicyArtifactCount::|public|total:number +github.com/microsoftgraph/msgraph-sdk-typescript/.models.ProtectionPolicyArtifactCount~~>AdditionalDataHolder; BackedModel; Parsable github.com/microsoftgraph/msgraph-sdk-typescript/.models.ProtectionPolicyBase::|public|createdBy:IdentitySet github.com/microsoftgraph/msgraph-sdk-typescript/.models.ProtectionPolicyBase::|public|createdDateTime:Date github.com/microsoftgraph/msgraph-sdk-typescript/.models.ProtectionPolicyBase::|public|displayName:string +github.com/microsoftgraph/msgraph-sdk-typescript/.models.ProtectionPolicyBase::|public|isEnabled:boolean github.com/microsoftgraph/msgraph-sdk-typescript/.models.ProtectionPolicyBase::|public|lastModifiedBy:IdentitySet github.com/microsoftgraph/msgraph-sdk-typescript/.models.ProtectionPolicyBase::|public|lastModifiedDateTime:Date github.com/microsoftgraph/msgraph-sdk-typescript/.models.ProtectionPolicyBase::|public|OdataType:string +github.com/microsoftgraph/msgraph-sdk-typescript/.models.ProtectionPolicyBase::|public|protectionPolicyArtifactCount:ProtectionPolicyArtifactCount github.com/microsoftgraph/msgraph-sdk-typescript/.models.ProtectionPolicyBase::|public|retentionSettings:RetentionSetting[] github.com/microsoftgraph/msgraph-sdk-typescript/.models.ProtectionPolicyBase::|public|status:ProtectionPolicyStatus github.com/microsoftgraph/msgraph-sdk-typescript/.models.ProtectionPolicyBaseCollectionResponse::|public|value:ProtectionPolicyBase[] @@ -85998,6 +86008,7 @@ github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.Incident::|pub github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.Incident::|public|lastModifiedBy:string github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.Incident::|public|lastUpdateDateTime:Date github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.Incident::|public|OdataType:string +github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.Incident::|public|priorityScore:number github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.Incident::|public|redirectIncidentId:string github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.Incident::|public|resolvingComment:string github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.Incident::|public|severity:AlertSeverity @@ -86475,9 +86486,11 @@ github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.Sensor::|publi github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.Sensor::|public|OdataType:string github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.Sensor::|public|openHealthIssuesCount:number github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.Sensor::|public|sensorType:SensorType +github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.Sensor::|public|serviceStatus:ServiceStatus github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.Sensor::|public|settings:SensorSettings github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.Sensor::|public|version:string github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.SensorCandidate::|public|computerDnsName:string +github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.SensorCandidate::|public|domainName:string github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.SensorCandidate::|public|lastSeenDateTime:Date github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.SensorCandidate::|public|OdataType:string github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.SensorCandidate::|public|senseClientVersion:string @@ -86550,6 +86563,14 @@ github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.serviceSource: github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.serviceSource::0012-microsoftInsiderRiskManagement github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.serviceSource::0013-microsoftThreatIntelligence github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.serviceSourceObject +github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.serviceStatus::0000-stopped +github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.serviceStatus::0001-starting +github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.serviceStatus::0002-running +github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.serviceStatus::0003-disabled +github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.serviceStatus::0004-onboarding +github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.serviceStatus::0005-unknown +github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.serviceStatus::0006-unknownFutureValue +github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.serviceStatusObject github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.SinglePropertySchema::|public|AdditionalData:Record github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.SinglePropertySchema::|public|backingStoreEnabled:boolean github.com/microsoftgraph/msgraph-sdk-typescript/.models.security.SinglePropertySchema::|public|name:string @@ -95302,6 +95323,7 @@ github.com/microsoftgraph/msgraph-sdk-typescript/.models::createPromptFromDiscri github.com/microsoftgraph/msgraph-sdk-typescript/.models::createPronounsSettingsFromDiscriminatorValue(parseNode:ParseNode):PronounsSettings github.com/microsoftgraph/msgraph-sdk-typescript/.models::createProtectedApplicationMetadataFromDiscriminatorValue(parseNode:ParseNode):ProtectedApplicationMetadata github.com/microsoftgraph/msgraph-sdk-typescript/.models::createProtectedContentFromDiscriminatorValue(parseNode:ParseNode):ProtectedContent +github.com/microsoftgraph/msgraph-sdk-typescript/.models::createProtectionPolicyArtifactCountFromDiscriminatorValue(parseNode:ParseNode):ProtectionPolicyArtifactCount github.com/microsoftgraph/msgraph-sdk-typescript/.models::createProtectionPolicyBaseCollectionResponseFromDiscriminatorValue(parseNode:ParseNode):ProtectionPolicyBaseCollectionResponse github.com/microsoftgraph/msgraph-sdk-typescript/.models::createProtectionPolicyBaseFromDiscriminatorValue(parseNode:ParseNode):ProtectionPolicyBase github.com/microsoftgraph/msgraph-sdk-typescript/.models::createProtectionRuleBaseFromDiscriminatorValue(parseNode:ParseNode):ProtectionRuleBase @@ -97857,6 +97879,7 @@ github.com/microsoftgraph/msgraph-sdk-typescript/.models::deserializeIntoPrompt( github.com/microsoftgraph/msgraph-sdk-typescript/.models::deserializeIntoPronounsSettings(PronounsSettings:PronounsSettings={}):Record void> github.com/microsoftgraph/msgraph-sdk-typescript/.models::deserializeIntoProtectedApplicationMetadata(ProtectedApplicationMetadata:ProtectedApplicationMetadata={}):Record void> github.com/microsoftgraph/msgraph-sdk-typescript/.models::deserializeIntoProtectedContent(ProtectedContent:ProtectedContent={}):Record void> +github.com/microsoftgraph/msgraph-sdk-typescript/.models::deserializeIntoProtectionPolicyArtifactCount(ProtectionPolicyArtifactCount:ProtectionPolicyArtifactCount={}):Record void> github.com/microsoftgraph/msgraph-sdk-typescript/.models::deserializeIntoProtectionPolicyBase(ProtectionPolicyBase:ProtectionPolicyBase={}):Record void> github.com/microsoftgraph/msgraph-sdk-typescript/.models::deserializeIntoProtectionPolicyBaseCollectionResponse(ProtectionPolicyBaseCollectionResponse:ProtectionPolicyBaseCollectionResponse={}):Record void> github.com/microsoftgraph/msgraph-sdk-typescript/.models::deserializeIntoProtectionRuleBase(ProtectionRuleBase:ProtectionRuleBase={}):Record void> @@ -100412,6 +100435,7 @@ github.com/microsoftgraph/msgraph-sdk-typescript/.models::serializePrompt(writer github.com/microsoftgraph/msgraph-sdk-typescript/.models::serializePronounsSettings(writer:SerializationWriter; PronounsSettings:PronounsSettings={}; isSerializingDerivedType?:boolean=false):void github.com/microsoftgraph/msgraph-sdk-typescript/.models::serializeProtectedApplicationMetadata(writer:SerializationWriter; ProtectedApplicationMetadata:ProtectedApplicationMetadata={}; isSerializingDerivedType?:boolean=false):void github.com/microsoftgraph/msgraph-sdk-typescript/.models::serializeProtectedContent(writer:SerializationWriter; ProtectedContent:ProtectedContent={}; isSerializingDerivedType?:boolean=false):void +github.com/microsoftgraph/msgraph-sdk-typescript/.models::serializeProtectionPolicyArtifactCount(writer:SerializationWriter; ProtectionPolicyArtifactCount:ProtectionPolicyArtifactCount={}; isSerializingDerivedType?:boolean=false):void github.com/microsoftgraph/msgraph-sdk-typescript/.models::serializeProtectionPolicyBase(writer:SerializationWriter; ProtectionPolicyBase:ProtectionPolicyBase={}; isSerializingDerivedType?:boolean=false):void github.com/microsoftgraph/msgraph-sdk-typescript/.models::serializeProtectionPolicyBaseCollectionResponse(writer:SerializationWriter; ProtectionPolicyBaseCollectionResponse:ProtectionPolicyBaseCollectionResponse={}; isSerializingDerivedType?:boolean=false):void github.com/microsoftgraph/msgraph-sdk-typescript/.models::serializeProtectionRuleBase(writer:SerializationWriter; ProtectionRuleBase:ProtectionRuleBase={}; isSerializingDerivedType?:boolean=false):void diff --git a/packages/kiota-lock.json b/packages/kiota-lock.json index c2fef26e5d0..8f7c24d7f83 100644 --- a/packages/kiota-lock.json +++ b/packages/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "B772231A114EE0F151C5CAD415592E6EC30B995AF2CC2035B656C76E0001C925D96ED0F43B5BE31AF65452F62E25448AB3A19A7FBECB1096C50BCB71D40F0E49", + "descriptionHash": "B02CED4D519DAD7AEE3434A50C96EA210737F35497DEDEB8E7604CCBC9B0E4C9C9387FBD5AA8BDCD61AF3F723790969091A25F0BB6E7AF2D2ED117718910B5FC", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.30.0", diff --git a/packages/msgraph-sdk/models/index.ts b/packages/msgraph-sdk/models/index.ts index 7ae1c6957f9..56b91c9907e 100644 --- a/packages/msgraph-sdk/models/index.ts +++ b/packages/msgraph-sdk/models/index.ts @@ -32024,6 +32024,15 @@ export function createProtectedApplicationMetadataFromDiscriminatorValue(parseNo export function createProtectedContentFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record void>) { return deserializeIntoProtectedContent; } +/** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @returns {ProtectionPolicyArtifactCount} + */ +// @ts-ignore +export function createProtectionPolicyArtifactCountFromDiscriminatorValue(parseNode: ParseNode | undefined) : ((instance?: Parsable) => Record void>) { + return deserializeIntoProtectionPolicyArtifactCount; +} /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object @@ -67185,6 +67194,22 @@ export function deserializeIntoProtectedContent(protectedContent: Partial { protectedContent.odataType = n.getStringValue(); }, } } +/** + * The deserialization information for the current model + * @param ProtectionPolicyArtifactCount The instance to deserialize into. + * @returns {Record void>} + */ +// @ts-ignore +export function deserializeIntoProtectionPolicyArtifactCount(protectionPolicyArtifactCount: Partial | undefined = {}) : Record void> { + return { + "backingStoreEnabled": n => { protectionPolicyArtifactCount.backingStoreEnabled = true; }, + "completed": n => { protectionPolicyArtifactCount.completed = n.getNumberValue(); }, + "failed": n => { protectionPolicyArtifactCount.failed = n.getNumberValue(); }, + "inProgress": n => { protectionPolicyArtifactCount.inProgress = n.getNumberValue(); }, + "@odata.type": n => { protectionPolicyArtifactCount.odataType = n.getStringValue(); }, + "total": n => { protectionPolicyArtifactCount.total = n.getNumberValue(); }, + } +} /** * The deserialization information for the current model * @param ProtectionPolicyBase The instance to deserialize into. @@ -67197,8 +67222,10 @@ export function deserializeIntoProtectionPolicyBase(protectionPolicyBase: Partia "createdBy": n => { protectionPolicyBase.createdBy = n.getObjectValue(createIdentitySetFromDiscriminatorValue); }, "createdDateTime": n => { protectionPolicyBase.createdDateTime = n.getDateValue(); }, "displayName": n => { protectionPolicyBase.displayName = n.getStringValue(); }, + "isEnabled": n => { protectionPolicyBase.isEnabled = n.getBooleanValue(); }, "lastModifiedBy": n => { protectionPolicyBase.lastModifiedBy = n.getObjectValue(createIdentitySetFromDiscriminatorValue); }, "lastModifiedDateTime": n => { protectionPolicyBase.lastModifiedDateTime = n.getDateValue(); }, + "protectionPolicyArtifactCount": n => { protectionPolicyBase.protectionPolicyArtifactCount = n.getObjectValue(createProtectionPolicyArtifactCountFromDiscriminatorValue); }, "retentionSettings": n => { protectionPolicyBase.retentionSettings = n.getCollectionOfObjectValues(createRetentionSettingFromDiscriminatorValue); }, "status": n => { protectionPolicyBase.status = n.getEnumValue(ProtectionPolicyStatusObject); }, } @@ -101678,6 +101705,32 @@ export interface ProtectedContent extends AdditionalDataHolder, BackedModel, Par */ odataType?: string | null; } +export interface ProtectionPolicyArtifactCount extends AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + backingStoreEnabled?: boolean | null; + /** + * The completed property + */ + completed?: number | null; + /** + * The failed property + */ + failed?: number | null; + /** + * The inProgress property + */ + inProgress?: number | null; + /** + * The OdataType property + */ + odataType?: string | null; + /** + * The total property + */ + total?: number | null; +} export interface ProtectionPolicyBase extends Entity, Parsable { /** * The identity of person who created the policy. @@ -101691,6 +101744,10 @@ export interface ProtectionPolicyBase extends Entity, Parsable { * The name of the policy to be created. */ displayName?: string | null; + /** + * The isEnabled property + */ + isEnabled?: boolean | null; /** * The identity of the person who last modified the policy. */ @@ -101699,6 +101756,10 @@ export interface ProtectionPolicyBase extends Entity, Parsable { * The timestamp of the last modification of the policy. */ lastModifiedDateTime?: Date | null; + /** + * The protectionPolicyArtifactCount property + */ + protectionPolicyArtifactCount?: ProtectionPolicyArtifactCount | null; /** * Contains the retention setting details for the policy. */ @@ -136059,6 +136120,22 @@ export function serializeProtectedContent(writer: SerializationWriter, protected writer.writeStringValue("@odata.type", protectedContent.odataType); writer.writeAdditionalData(protectedContent.additionalData); } +/** + * Serializes information the current object + * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type. + * @param ProtectionPolicyArtifactCount The instance to serialize from. + * @param writer Serialization writer to use to serialize this model + */ +// @ts-ignore +export function serializeProtectionPolicyArtifactCount(writer: SerializationWriter, protectionPolicyArtifactCount: Partial | undefined | null = {}, isSerializingDerivedType: boolean = false) : void { + if (!protectionPolicyArtifactCount || isSerializingDerivedType) { return; } + writer.writeNumberValue("completed", protectionPolicyArtifactCount.completed); + writer.writeNumberValue("failed", protectionPolicyArtifactCount.failed); + writer.writeNumberValue("inProgress", protectionPolicyArtifactCount.inProgress); + writer.writeStringValue("@odata.type", protectionPolicyArtifactCount.odataType); + writer.writeNumberValue("total", protectionPolicyArtifactCount.total); + writer.writeAdditionalData(protectionPolicyArtifactCount.additionalData); +} /** * Serializes information the current object * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type. @@ -136072,8 +136149,10 @@ export function serializeProtectionPolicyBase(writer: SerializationWriter, prote writer.writeObjectValue("createdBy", protectionPolicyBase.createdBy, serializeIdentitySet); writer.writeDateValue("createdDateTime", protectionPolicyBase.createdDateTime); writer.writeStringValue("displayName", protectionPolicyBase.displayName); + writer.writeBooleanValue("isEnabled", protectionPolicyBase.isEnabled); writer.writeObjectValue("lastModifiedBy", protectionPolicyBase.lastModifiedBy, serializeIdentitySet); writer.writeDateValue("lastModifiedDateTime", protectionPolicyBase.lastModifiedDateTime); + writer.writeObjectValue("protectionPolicyArtifactCount", protectionPolicyBase.protectionPolicyArtifactCount, serializeProtectionPolicyArtifactCount); writer.writeCollectionOfObjectValues("retentionSettings", protectionPolicyBase.retentionSettings, serializeRetentionSetting); writer.writeEnumValue("status", protectionPolicyBase.status); switch (protectionPolicyBase.odataType) { @@ -150744,7 +150823,7 @@ export interface ServicePrincipal extends DirectoryObject, Parsable { */ servicePrincipalNames?: string[] | null; /** - * Identifies whether the service principal represents an application, a managed identity, or a legacy application. This is set by Microsoft Entra ID internally. The servicePrincipalType property can be set to three different values: Application - A service principal that represents an application or service. The appId property identifies the associated app registration, and matches the appId of an application, possibly from a different tenant. If the associated app registration is missing, tokens aren't issued for the service principal.ManagedIdentity - A service principal that represents a managed identity. Service principals representing managed identities can be granted access and permissions, but can't be updated or modified directly.Legacy - A service principal that represents an app created before app registrations, or through legacy experiences. A legacy service principal can have credentials, service principal names, reply URLs, and other properties that are editable by an authorized user, but doesn't have an associated app registration. The appId value doesn't associate the service principal with an app registration. The service principal can only be used in the tenant where it was created.SocialIdp - For internal use. + * Identifies whether the service principal represents an application, a managed identity, or a legacy application. This property is set by Microsoft Entra ID internally. The servicePrincipalType property can be set to three different values: Application - A service principal that represents an application or service. The appId property identifies the associated app registration, and matches the appId of an application, possibly from a different tenant. If the associated app registration is missing, tokens aren't issued for the service principal.ManagedIdentity - A service principal that represents a managed identity. Service principals representing managed identities can be granted access and permissions, but can't be updated or modified directly.Legacy - A service principal that represents an app created before app registrations, or through legacy experiences. A legacy service principal can have credentials, service principal names, reply URLs, and other properties that are editable by an authorized user, but doesn't have an associated app registration. The appId value doesn't associate the service principal with an app registration. The service principal can only be used in the tenant where it was created.ServiceIdentity - A service principal that represents an agent identity.SocialIdp - For internal use. */ servicePrincipalType?: string | null; /** diff --git a/packages/msgraph-sdk/models/security/index.ts b/packages/msgraph-sdk/models/security/index.ts index ed0d28fb4b4..accf4f28ba2 100644 --- a/packages/msgraph-sdk/models/security/index.ts +++ b/packages/msgraph-sdk/models/security/index.ts @@ -107,7 +107,7 @@ export interface Alert extends Entity, Parsable { */ description?: string | null; /** - * Detection technology or sensor that identified the notable component or activity. The possible values are: unknown, microsoftDefenderForEndpoint, antivirus, smartScreen, customTi, microsoftDefenderForOffice365, automatedInvestigation, microsoftThreatExperts, customDetection, microsoftDefenderForIdentity, cloudAppSecurity, microsoft365Defender, azureAdIdentityProtection, manual, microsoftDataLossPrevention, appGovernancePolicy, appGovernanceDetection, unknownFutureValue, microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl, microsoftThreatIntelligence, microsoftDefenderForAIServices, securityCopilot. Use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl, microsoftThreatIntelligence, microsoftDefenderForAIServices, securityCopilot. + * Detection technology or sensor that identified the notable component or activity. */ detectionSource?: DetectionSource | null; /** @@ -5130,6 +5130,7 @@ export function deserializeIntoIncident(incident: Partial | undefined "incidentWebUrl": n => { incident.incidentWebUrl = n.getStringValue(); }, "lastModifiedBy": n => { incident.lastModifiedBy = n.getStringValue(); }, "lastUpdateDateTime": n => { incident.lastUpdateDateTime = n.getDateValue(); }, + "priorityScore": n => { incident.priorityScore = n.getNumberValue(); }, "redirectIncidentId": n => { incident.redirectIncidentId = n.getStringValue(); }, "resolvingComment": n => { incident.resolvingComment = n.getStringValue(); }, "severity": n => { incident.severity = n.getEnumValue(AlertSeverityObject); }, @@ -5969,6 +5970,7 @@ export function deserializeIntoSensor(sensor: Partial | undefined = {}) "healthStatus": n => { sensor.healthStatus = n.getEnumValue(SensorHealthStatusObject); }, "openHealthIssuesCount": n => { sensor.openHealthIssuesCount = n.getNumberValue(); }, "sensorType": n => { sensor.sensorType = n.getEnumValue(SensorTypeObject); }, + "serviceStatus": n => { sensor.serviceStatus = n.getEnumValue(ServiceStatusObject); }, "settings": n => { sensor.settings = n.getObjectValue(createSensorSettingsFromDiscriminatorValue); }, "version": n => { sensor.version = n.getStringValue(); }, } @@ -5983,6 +5985,7 @@ export function deserializeIntoSensorCandidate(sensorCandidate: Partial { sensorCandidate.computerDnsName = n.getStringValue(); }, + "domainName": n => { sensorCandidate.domainName = n.getStringValue(); }, "lastSeenDateTime": n => { sensorCandidate.lastSeenDateTime = n.getDateValue(); }, "senseClientVersion": n => { sensorCandidate.senseClientVersion = n.getStringValue(); }, } @@ -8260,6 +8263,10 @@ export interface Incident extends Entity, Parsable { * Time when the incident was last updated. */ lastUpdateDateTime?: Date | null; + /** + * The priorityScore property + */ + priorityScore?: number | null; /** * Only populated in case an incident is grouped with another incident, as part of the logic that processes incidents. In such a case, the status property is redirected. */ @@ -9489,6 +9496,10 @@ export interface Sensor extends Entity, Parsable { * The sensorType property */ sensorType?: SensorType | null; + /** + * The serviceStatus property + */ + serviceStatus?: ServiceStatus | null; /** * The settings property */ @@ -9503,6 +9514,10 @@ export interface SensorCandidate extends Entity, Parsable { * The DNS name of the computer associated with the sensor. */ computerDnsName?: string | null; + /** + * The domain name of the sensor. + */ + domainName?: string | null; /** * The date and time when the sensor was last seen. */ @@ -11782,6 +11797,7 @@ export function serializeIncident(writer: SerializationWriter, incident: Partial writer.writeStringValue("incidentWebUrl", incident.incidentWebUrl); writer.writeStringValue("lastModifiedBy", incident.lastModifiedBy); writer.writeDateValue("lastUpdateDateTime", incident.lastUpdateDateTime); + writer.writeNumberValue("priorityScore", incident.priorityScore); writer.writeStringValue("redirectIncidentId", incident.redirectIncidentId); writer.writeStringValue("resolvingComment", incident.resolvingComment); writer.writeEnumValue("severity", incident.severity); @@ -12645,6 +12661,7 @@ export function serializeSensor(writer: SerializationWriter, sensor: Partial("healthStatus", sensor.healthStatus); writer.writeNumberValue("openHealthIssuesCount", sensor.openHealthIssuesCount); writer.writeEnumValue("sensorType", sensor.sensorType); + writer.writeEnumValue("serviceStatus", sensor.serviceStatus); writer.writeObjectValue("settings", sensor.settings, serializeSensorSettings); writer.writeStringValue("version", sensor.version); } @@ -12659,6 +12676,7 @@ export function serializeSensorCandidate(writer: SerializationWriter, sensorCand if (!sensorCandidate || isSerializingDerivedType) { return; } serializeEntity(writer, sensorCandidate, isSerializingDerivedType) writer.writeStringValue("computerDnsName", sensorCandidate.computerDnsName); + writer.writeStringValue("domainName", sensorCandidate.domainName); writer.writeDateValue("lastSeenDateTime", sensorCandidate.lastSeenDateTime); writer.writeStringValue("senseClientVersion", sensorCandidate.senseClientVersion); } @@ -13388,6 +13406,7 @@ export interface ServicePrincipalEvidence extends AlertEvidence, Parsable { } export type ServicePrincipalType = (typeof ServicePrincipalTypeObject)[keyof typeof ServicePrincipalTypeObject]; export type ServiceSource = (typeof ServiceSourceObject)[keyof typeof ServiceSourceObject]; +export type ServiceStatus = (typeof ServiceStatusObject)[keyof typeof ServiceStatusObject]; export interface SinglePropertySchema extends AdditionalDataHolder, BackedModel, Parsable { /** * Stores model information. @@ -14793,6 +14812,15 @@ export const ServiceSourceObject = { MicrosoftInsiderRiskManagement: "microsoftInsiderRiskManagement", MicrosoftThreatIntelligence: "microsoftThreatIntelligence", } as const; +export const ServiceStatusObject = { + Stopped: "stopped", + Starting: "starting", + Running: "running", + Disabled: "disabled", + Onboarding: "onboarding", + Unknown: "unknown", + UnknownFutureValue: "unknownFutureValue", +} as const; export const SourceTypeObject = { Mailbox: "mailbox", Site: "site",