Class Alert
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.security.Alert
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class Alert
extends Entity
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Alert
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the actorDisplayName property value.Gets the additionalData property value.Gets the alertPolicyId property value.Gets the alertWebUrl property value.Gets the assignedTo property value.Gets the category property value.Gets the classification property value.Gets the comments property value.Gets the createdDateTime property value.Gets the description property value.Gets the detectionSource property value.Gets the detectorId property value.Gets the determination property value.Gets the evidence property value.The deserialization information for the current modelGets the firstActivityDateTime property value.Gets the incidentId property value.Gets the incidentWebUrl property value.Gets the lastActivityDateTime property value.Gets the lastUpdateDateTime property value.Gets the mitreTechniques property value.Gets the productName property value.Gets the providerAlertId property value.Gets the recommendedActions property value.Gets the resolvedDateTime property value.Gets the serviceSource property value.Gets the severity property value.Gets the status property value.Gets the systemTags property value.Gets the tenantId property value.Gets the threatDisplayName property value.Gets the threatFamilyName property value.getTitle()
Gets the title property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setActorDisplayName
(String value) Sets the actorDisplayName property value.void
Sets the additionalData property value.void
setAlertPolicyId
(String value) Sets the alertPolicyId property value.void
setAlertWebUrl
(String value) Sets the alertWebUrl property value.void
setAssignedTo
(String value) Sets the assignedTo property value.void
setCategory
(String value) Sets the category property value.void
Sets the classification property value.void
setComments
(List<AlertComment> value) Sets the comments property value.void
setCreatedDateTime
(OffsetDateTime value) Sets the createdDateTime property value.void
setDescription
(String value) Sets the description property value.void
Sets the detectionSource property value.void
setDetectorId
(String value) Sets the detectorId property value.void
Sets the determination property value.void
setEvidence
(List<AlertEvidence> value) Sets the evidence property value.void
Sets the firstActivityDateTime property value.void
setIncidentId
(String value) Sets the incidentId property value.void
setIncidentWebUrl
(String value) Sets the incidentWebUrl property value.void
Sets the lastActivityDateTime property value.void
Sets the lastUpdateDateTime property value.void
setMitreTechniques
(List<String> value) Sets the mitreTechniques property value.void
setProductName
(String value) Sets the productName property value.void
setProviderAlertId
(String value) Sets the providerAlertId property value.void
setRecommendedActions
(String value) Sets the recommendedActions property value.void
Sets the resolvedDateTime property value.void
setServiceSource
(ServiceSource value) Sets the serviceSource property value.void
setSeverity
(AlertSeverity value) Sets the severity property value.void
setStatus
(AlertStatus value) Sets the status property value.void
setSystemTags
(List<String> value) Sets the systemTags property value.void
setTenantId
(String value) Sets the tenantId property value.void
setThreatDisplayName
(String value) Sets the threatDisplayName property value.void
setThreatFamilyName
(String value) Sets the threatFamilyName property value.void
Sets the title property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
Alert
public Alert()Instantiates a newAlert
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static Alert createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode
- The parse node to use to read the discriminator value and create the object- Returns:
- a
Alert
-
getActorDisplayName
Gets the actorDisplayName property value. The adversary or activity group that is associated with this alert.- Returns:
- a
String
-
getAdditionalDataProperty
Gets the additionalData property value. A collection of other alert properties, including user-defined properties. Any custom details defined in the alert, and any dynamic content in the alert details, are stored here.- Returns:
- a
Dictionary
-
getAlertPolicyId
Gets the alertPolicyId property value. The ID of the policy that generated the alert, and populated when there is a specific policy that generated the alert, whether configured by a customer or a built-in policy.- Returns:
- a
String
-
getAlertWebUrl
Gets the alertWebUrl property value. URL for the Microsoft 365 Defender portal alert page.- Returns:
- a
String
-
getAssignedTo
Gets the assignedTo property value. Owner of the alert, or null if no owner is assigned.- Returns:
- a
String
-
getCategory
Gets the category property value. The attack kill-chain category that the alert belongs to. Aligned with the MITRE ATT&CK framework.- Returns:
- a
String
-
getClassification
Gets the classification property value. Specifies whether the alert represents a true threat. Possible values are: unknown, falsePositive, truePositive, informationalExpectedActivity, unknownFutureValue.- Returns:
- a
AlertClassification
-
getComments
Gets the comments property value. Array of comments created by the Security Operations (SecOps) team during the alert management process.- Returns:
- a
List<AlertComment>
-
getCreatedDateTime
Gets the createdDateTime property value. Time when Microsoft 365 Defender created the alert.- Returns:
- a
OffsetDateTime
-
getDescription
Gets the description property value. String value describing each alert.- Returns:
- a
String
-
getDetectionSource
Gets the detectionSource property value. Detection technology or sensor that identified the notable component or activity. 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. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl.- Returns:
- a
DetectionSource
-
getDetectorId
Gets the detectorId property value. The ID of the detector that triggered the alert.- Returns:
- a
String
-
getDetermination
Gets the determination property value. Specifies the result of the investigation, whether the alert represents a true attack and if so, the nature of the attack. Possible values are: unknown, apt, malware, securityPersonnel, securityTesting, unwantedSoftware, other, multiStagedAttack, compromisedAccount, phishing, maliciousUserActivity, notMalicious, notEnoughDataToValidate, confirmedUserActivity, lineOfBusinessApplication, unknownFutureValue.- Returns:
- a
AlertDetermination
-
getEvidence
Gets the evidence property value. Collection of evidence related to the alert.- Returns:
- a
List<AlertEvidence>
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializers
in interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getFirstActivityDateTime
Gets the firstActivityDateTime property value. The earliest activity associated with the alert.- Returns:
- a
OffsetDateTime
-
getIncidentId
Gets the incidentId property value. Unique identifier to represent the incident this alert resource is associated with.- Returns:
- a
String
-
getIncidentWebUrl
Gets the incidentWebUrl property value. URL for the incident page in the Microsoft 365 Defender portal.- Returns:
- a
String
-
getLastActivityDateTime
Gets the lastActivityDateTime property value. The oldest activity associated with the alert.- Returns:
- a
OffsetDateTime
-
getLastUpdateDateTime
Gets the lastUpdateDateTime property value. Time when the alert was last updated at Microsoft 365 Defender.- Returns:
- a
OffsetDateTime
-
getMitreTechniques
Gets the mitreTechniques property value. The attack techniques, as aligned with the MITRE ATT&CK framework. -
getProductName
Gets the productName property value. The name of the product which published this alert.- Returns:
- a
String
-
getProviderAlertId
Gets the providerAlertId property value. The ID of the alert as it appears in the security provider product that generated the alert.- Returns:
- a
String
-
getRecommendedActions
Gets the recommendedActions property value. Recommended response and remediation actions to take in the event this alert was generated.- Returns:
- a
String
-
getResolvedDateTime
Gets the resolvedDateTime property value. Time when the alert was resolved.- Returns:
- a
OffsetDateTime
-
getServiceSource
Gets the serviceSource property value. The serviceSource property- Returns:
- a
ServiceSource
-
getSeverity
Gets the severity property value. The severity property- Returns:
- a
AlertSeverity
-
getStatus
Gets the status property value. The status property- Returns:
- a
AlertStatus
-
getSystemTags
Gets the systemTags property value. The system tags associated with the alert. -
getTenantId
Gets the tenantId property value. The Microsoft Entra tenant the alert was created in.- Returns:
- a
String
-
getThreatDisplayName
Gets the threatDisplayName property value. The threat associated with this alert.- Returns:
- a
String
-
getThreatFamilyName
Gets the threatFamilyName property value. Threat family associated with this alert.- Returns:
- a
String
-
getTitle
Gets the title property value. Brief identifying string value describing the alert.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setActorDisplayName
Sets the actorDisplayName property value. The adversary or activity group that is associated with this alert.- Parameters:
value
- Value to set for the actorDisplayName property.
-
setAdditionalDataProperty
Sets the additionalData property value. A collection of other alert properties, including user-defined properties. Any custom details defined in the alert, and any dynamic content in the alert details, are stored here.- Parameters:
value
- Value to set for the additionalData property.
-
setAlertPolicyId
Sets the alertPolicyId property value. The ID of the policy that generated the alert, and populated when there is a specific policy that generated the alert, whether configured by a customer or a built-in policy.- Parameters:
value
- Value to set for the alertPolicyId property.
-
setAlertWebUrl
Sets the alertWebUrl property value. URL for the Microsoft 365 Defender portal alert page.- Parameters:
value
- Value to set for the alertWebUrl property.
-
setAssignedTo
Sets the assignedTo property value. Owner of the alert, or null if no owner is assigned.- Parameters:
value
- Value to set for the assignedTo property.
-
setCategory
Sets the category property value. The attack kill-chain category that the alert belongs to. Aligned with the MITRE ATT&CK framework.- Parameters:
value
- Value to set for the category property.
-
setClassification
Sets the classification property value. Specifies whether the alert represents a true threat. Possible values are: unknown, falsePositive, truePositive, informationalExpectedActivity, unknownFutureValue.- Parameters:
value
- Value to set for the classification property.
-
setComments
Sets the comments property value. Array of comments created by the Security Operations (SecOps) team during the alert management process.- Parameters:
value
- Value to set for the comments property.
-
setCreatedDateTime
Sets the createdDateTime property value. Time when Microsoft 365 Defender created the alert.- Parameters:
value
- Value to set for the createdDateTime property.
-
setDescription
Sets the description property value. String value describing each alert.- Parameters:
value
- Value to set for the description property.
-
setDetectionSource
Sets the detectionSource property value. Detection technology or sensor that identified the notable component or activity. 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. Use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: microsoftDefenderForCloud, microsoftDefenderForIoT, microsoftDefenderForServers, microsoftDefenderForStorage, microsoftDefenderForDNS, microsoftDefenderForDatabases, microsoftDefenderForContainers, microsoftDefenderForNetwork, microsoftDefenderForAppService, microsoftDefenderForKeyVault, microsoftDefenderForResourceManager, microsoftDefenderForApiManagement, microsoftSentinel, nrtAlerts, scheduledAlerts, microsoftDefenderThreatIntelligenceAnalytics, builtInMl.- Parameters:
value
- Value to set for the detectionSource property.
-
setDetectorId
Sets the detectorId property value. The ID of the detector that triggered the alert.- Parameters:
value
- Value to set for the detectorId property.
-
setDetermination
Sets the determination property value. Specifies the result of the investigation, whether the alert represents a true attack and if so, the nature of the attack. Possible values are: unknown, apt, malware, securityPersonnel, securityTesting, unwantedSoftware, other, multiStagedAttack, compromisedAccount, phishing, maliciousUserActivity, notMalicious, notEnoughDataToValidate, confirmedUserActivity, lineOfBusinessApplication, unknownFutureValue.- Parameters:
value
- Value to set for the determination property.
-
setEvidence
Sets the evidence property value. Collection of evidence related to the alert.- Parameters:
value
- Value to set for the evidence property.
-
setFirstActivityDateTime
Sets the firstActivityDateTime property value. The earliest activity associated with the alert.- Parameters:
value
- Value to set for the firstActivityDateTime property.
-
setIncidentId
Sets the incidentId property value. Unique identifier to represent the incident this alert resource is associated with.- Parameters:
value
- Value to set for the incidentId property.
-
setIncidentWebUrl
Sets the incidentWebUrl property value. URL for the incident page in the Microsoft 365 Defender portal.- Parameters:
value
- Value to set for the incidentWebUrl property.
-
setLastActivityDateTime
Sets the lastActivityDateTime property value. The oldest activity associated with the alert.- Parameters:
value
- Value to set for the lastActivityDateTime property.
-
setLastUpdateDateTime
Sets the lastUpdateDateTime property value. Time when the alert was last updated at Microsoft 365 Defender.- Parameters:
value
- Value to set for the lastUpdateDateTime property.
-
setMitreTechniques
Sets the mitreTechniques property value. The attack techniques, as aligned with the MITRE ATT&CK framework.- Parameters:
value
- Value to set for the mitreTechniques property.
-
setProductName
Sets the productName property value. The name of the product which published this alert.- Parameters:
value
- Value to set for the productName property.
-
setProviderAlertId
Sets the providerAlertId property value. The ID of the alert as it appears in the security provider product that generated the alert.- Parameters:
value
- Value to set for the providerAlertId property.
-
setRecommendedActions
Sets the recommendedActions property value. Recommended response and remediation actions to take in the event this alert was generated.- Parameters:
value
- Value to set for the recommendedActions property.
-
setResolvedDateTime
Sets the resolvedDateTime property value. Time when the alert was resolved.- Parameters:
value
- Value to set for the resolvedDateTime property.
-
setServiceSource
Sets the serviceSource property value. The serviceSource property- Parameters:
value
- Value to set for the serviceSource property.
-
setSeverity
Sets the severity property value. The severity property- Parameters:
value
- Value to set for the severity property.
-
setStatus
Sets the status property value. The status property- Parameters:
value
- Value to set for the status property.
-
setSystemTags
Sets the systemTags property value. The system tags associated with the alert.- Parameters:
value
- Value to set for the systemTags property.
-
setTenantId
Sets the tenantId property value. The Microsoft Entra tenant the alert was created in.- Parameters:
value
- Value to set for the tenantId property.
-
setThreatDisplayName
Sets the threatDisplayName property value. The threat associated with this alert.- Parameters:
value
- Value to set for the threatDisplayName property.
-
setThreatFamilyName
Sets the threatFamilyName property value. Threat family associated with this alert.- Parameters:
value
- Value to set for the threatFamilyName property.
-
setTitle
Sets the title property value. Brief identifying string value describing the alert.- Parameters:
value
- Value to set for the title property.
-