Package com.microsoft.graph.models
Class Alert
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.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 activityGroupName property value.Gets the alertDetections property value.Gets the assignedTo property value.Gets the azureSubscriptionId property value.Gets the azureTenantId property value.Gets the category property value.Gets the closedDateTime property value.Gets the cloudAppStates property value.Gets the comments property value.Gets the confidence property value.Gets the createdDateTime property value.Gets the description property value.Gets the detectionIds property value.Gets the eventDateTime property value.Gets the feedback property value.The deserialization information for the current modelGets the fileStates property value.Gets the historyStates property value.Gets the hostStates property value.Gets the incidentIds property value.Gets the investigationSecurityStates property value.Gets the lastEventDateTime property value.Gets the lastModifiedDateTime property value.Gets the malwareStates property value.Gets the messageSecurityStates property value.Gets the networkConnections property value.Gets the processes property value.Gets the recommendedActions property value.Gets the registryKeyStates property value.Gets the securityResources property value.Gets the severity property value.Gets the sourceMaterials property value.Gets the status property value.getTags()
Gets the tags property value.getTitle()
Gets the title property value.Gets the triggers property value.Gets the uriClickSecurityStates property value.Gets the userStates property value.Gets the vendorInformation property value.Gets the vulnerabilityStates property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setActivityGroupName
(String value) Sets the activityGroupName property value.void
setAlertDetections
(List<AlertDetection> value) Sets the alertDetections property value.void
setAssignedTo
(String value) Sets the assignedTo property value.void
setAzureSubscriptionId
(String value) Sets the azureSubscriptionId property value.void
setAzureTenantId
(String value) Sets the azureTenantId property value.void
setCategory
(String value) Sets the category property value.void
setClosedDateTime
(OffsetDateTime value) Sets the closedDateTime property value.void
Sets the cloudAppStates property value.void
setComments
(List<String> value) Sets the comments property value.void
setConfidence
(Integer value) Sets the confidence property value.void
setCreatedDateTime
(OffsetDateTime value) Sets the createdDateTime property value.void
setDescription
(String value) Sets the description property value.void
setDetectionIds
(List<String> value) Sets the detectionIds property value.void
setEventDateTime
(OffsetDateTime value) Sets the eventDateTime property value.void
setFeedback
(AlertFeedback value) Sets the feedback property value.void
setFileStates
(List<FileSecurityState> value) Sets the fileStates property value.void
setHistoryStates
(List<AlertHistoryState> value) Sets the historyStates property value.void
setHostStates
(List<HostSecurityState> value) Sets the hostStates property value.void
setIncidentIds
(List<String> value) Sets the incidentIds property value.void
Sets the investigationSecurityStates property value.void
Sets the lastEventDateTime property value.void
Sets the lastModifiedDateTime property value.void
setMalwareStates
(List<MalwareState> value) Sets the malwareStates property value.void
Sets the messageSecurityStates property value.void
Sets the networkConnections property value.void
setProcesses
(List<Process> value) Sets the processes property value.void
setRecommendedActions
(List<String> value) Sets the recommendedActions property value.void
setRegistryKeyStates
(List<RegistryKeyState> value) Sets the registryKeyStates property value.void
setSecurityResources
(List<SecurityResource> value) Sets the securityResources property value.void
setSeverity
(AlertSeverity value) Sets the severity property value.void
setSourceMaterials
(List<String> value) Sets the sourceMaterials property value.void
setStatus
(AlertStatus value) Sets the status property value.void
Sets the tags property value.void
Sets the title property value.void
setTriggers
(List<AlertTrigger> value) Sets the triggers property value.void
Sets the uriClickSecurityStates property value.void
setUserStates
(List<UserSecurityState> value) Sets the userStates property value.void
Sets the vendorInformation property value.void
Sets the vulnerabilityStates 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
-
getActivityGroupName
Gets the activityGroupName property value. Name or alias of the activity group (attacker) this alert is attributed to.- Returns:
- a
String
-
getAlertDetections
Gets the alertDetections property value. The alertDetections property- Returns:
- a
List<AlertDetection>
-
getAssignedTo
Gets the assignedTo property value. Name of the analyst the alert is assigned to for triage, investigation, or remediation (supports update).- Returns:
- a
String
-
getAzureSubscriptionId
Gets the azureSubscriptionId property value. Azure subscription ID, present if this alert is related to an Azure resource.- Returns:
- a
String
-
getAzureTenantId
Gets the azureTenantId property value. Microsoft Entra tenant ID. Required.- Returns:
- a
String
-
getCategory
Gets the category property value. Category of the alert (for example, credentialTheft, ransomware).- Returns:
- a
String
-
getClosedDateTime
Gets the closedDateTime property value. Time at which the alert was closed. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z (supports update).- Returns:
- a
OffsetDateTime
-
getCloudAppStates
Gets the cloudAppStates property value. Security-related stateful information generated by the provider about the cloud application/s related to this alert.- Returns:
- a
List<CloudAppSecurityState>
-
getComments
Gets the comments property value. Customer-provided comments on alert (for customer alert management) (supports update). -
getConfidence
Gets the confidence property value. Confidence of the detection logic (percentage between 1-100).- Returns:
- a
Integer
-
getCreatedDateTime
Gets the createdDateTime property value. Time at which the alert was created by the alert provider. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Required.- Returns:
- a
OffsetDateTime
-
getDescription
Gets the description property value. Alert description.- Returns:
- a
String
-
getDetectionIds
Gets the detectionIds property value. Set of alerts related to this alert entity (each alert is pushed to the SIEM as a separate record). -
getEventDateTime
Gets the eventDateTime property value. Time at which the event or events that served as the trigger to generate the alert occurred. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Required.- Returns:
- a
OffsetDateTime
-
getFeedback
Gets the feedback property value. Analyst feedback on the alert. Possible values are: unknown, truePositive, falsePositive, benignPositive. Supports update.- Returns:
- a
AlertFeedback
-
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>>
-
getFileStates
Gets the fileStates property value. Security-related stateful information generated by the provider about the file(s) related to this alert.- Returns:
- a
List<FileSecurityState>
-
getHistoryStates
Gets the historyStates property value. The historyStates property- Returns:
- a
List<AlertHistoryState>
-
getHostStates
Gets the hostStates property value. Security-related stateful information generated by the provider about the host(s) related to this alert.- Returns:
- a
List<HostSecurityState>
-
getIncidentIds
Gets the incidentIds property value. IDs of incidents related to current alert. -
getInvestigationSecurityStates
Gets the investigationSecurityStates property value. The investigationSecurityStates property- Returns:
- a
List<InvestigationSecurityState>
-
getLastEventDateTime
Gets the lastEventDateTime property value. The lastEventDateTime property- Returns:
- a
OffsetDateTime
-
getLastModifiedDateTime
Gets the lastModifiedDateTime property value. Time at which the alert entity was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Returns:
- a
OffsetDateTime
-
getMalwareStates
Gets the malwareStates property value. Threat Intelligence pertaining to malware related to this alert.- Returns:
- a
List<MalwareState>
-
getMessageSecurityStates
Gets the messageSecurityStates property value. The messageSecurityStates property- Returns:
- a
List<MessageSecurityState>
-
getNetworkConnections
Gets the networkConnections property value. Security-related stateful information generated by the provider about the network connection(s) related to this alert.- Returns:
- a
List<NetworkConnection>
-
getProcesses
Gets the processes property value. Security-related stateful information generated by the provider about the process or processes related to this alert. -
getRecommendedActions
Gets the recommendedActions property value. Vendor/provider recommended action(s) to take as a result of the alert (for example, isolate machine, enforce2FA, reimage host). -
getRegistryKeyStates
Gets the registryKeyStates property value. Security-related stateful information generated by the provider about the registry keys related to this alert.- Returns:
- a
List<RegistryKeyState>
-
getSecurityResources
Gets the securityResources property value. Resources related to current alert. For example, for some alerts this can have the Azure Resource value.- Returns:
- a
List<SecurityResource>
-
getSeverity
Gets the severity property value. The severity property- Returns:
- a
AlertSeverity
-
getSourceMaterials
Gets the sourceMaterials property value. Hyperlinks (URIs) to the source material related to the alert, for example, provider's user interface for alerts or log search. -
getStatus
Gets the status property value. The status property- Returns:
- a
AlertStatus
-
getTags
Gets the tags property value. User-definable labels that can be applied to an alert and can serve as filter conditions (for example 'HVA', 'SAW') (supports update). -
getTitle
Gets the title property value. Alert title. Required.- Returns:
- a
String
-
getTriggers
Gets the triggers property value. Security-related information about the specific properties that triggered the alert (properties appearing in the alert). Alerts might contain information about multiple users, hosts, files, ip addresses. This field indicates which properties triggered the alert generation.- Returns:
- a
List<AlertTrigger>
-
getUriClickSecurityStates
Gets the uriClickSecurityStates property value. The uriClickSecurityStates property- Returns:
- a
List<UriClickSecurityState>
-
getUserStates
Gets the userStates property value. Security-related stateful information generated by the provider about the user accounts related to this alert.- Returns:
- a
List<UserSecurityState>
-
getVendorInformation
Gets the vendorInformation property value. Complex type containing details about the security product/service vendor, provider, and subprovider (for example, vendor=Microsoft; provider=Windows Defender ATP; subProvider=AppLocker). Required.- Returns:
- a
SecurityVendorInformation
-
getVulnerabilityStates
Gets the vulnerabilityStates property value. Threat intelligence pertaining to one or more vulnerabilities related to this alert.- Returns:
- a
List<VulnerabilityState>
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setActivityGroupName
Sets the activityGroupName property value. Name or alias of the activity group (attacker) this alert is attributed to.- Parameters:
value
- Value to set for the activityGroupName property.
-
setAlertDetections
Sets the alertDetections property value. The alertDetections property- Parameters:
value
- Value to set for the alertDetections property.
-
setAssignedTo
Sets the assignedTo property value. Name of the analyst the alert is assigned to for triage, investigation, or remediation (supports update).- Parameters:
value
- Value to set for the assignedTo property.
-
setAzureSubscriptionId
Sets the azureSubscriptionId property value. Azure subscription ID, present if this alert is related to an Azure resource.- Parameters:
value
- Value to set for the azureSubscriptionId property.
-
setAzureTenantId
Sets the azureTenantId property value. Microsoft Entra tenant ID. Required.- Parameters:
value
- Value to set for the azureTenantId property.
-
setCategory
Sets the category property value. Category of the alert (for example, credentialTheft, ransomware).- Parameters:
value
- Value to set for the category property.
-
setClosedDateTime
Sets the closedDateTime property value. Time at which the alert was closed. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z (supports update).- Parameters:
value
- Value to set for the closedDateTime property.
-
setCloudAppStates
Sets the cloudAppStates property value. Security-related stateful information generated by the provider about the cloud application/s related to this alert.- Parameters:
value
- Value to set for the cloudAppStates property.
-
setComments
Sets the comments property value. Customer-provided comments on alert (for customer alert management) (supports update).- Parameters:
value
- Value to set for the comments property.
-
setConfidence
Sets the confidence property value. Confidence of the detection logic (percentage between 1-100).- Parameters:
value
- Value to set for the confidence property.
-
setCreatedDateTime
Sets the createdDateTime property value. Time at which the alert was created by the alert provider. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Required.- Parameters:
value
- Value to set for the createdDateTime property.
-
setDescription
Sets the description property value. Alert description.- Parameters:
value
- Value to set for the description property.
-
setDetectionIds
Sets the detectionIds property value. Set of alerts related to this alert entity (each alert is pushed to the SIEM as a separate record).- Parameters:
value
- Value to set for the detectionIds property.
-
setEventDateTime
Sets the eventDateTime property value. Time at which the event or events that served as the trigger to generate the alert occurred. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Required.- Parameters:
value
- Value to set for the eventDateTime property.
-
setFeedback
Sets the feedback property value. Analyst feedback on the alert. Possible values are: unknown, truePositive, falsePositive, benignPositive. Supports update.- Parameters:
value
- Value to set for the feedback property.
-
setFileStates
Sets the fileStates property value. Security-related stateful information generated by the provider about the file(s) related to this alert.- Parameters:
value
- Value to set for the fileStates property.
-
setHistoryStates
Sets the historyStates property value. The historyStates property- Parameters:
value
- Value to set for the historyStates property.
-
setHostStates
Sets the hostStates property value. Security-related stateful information generated by the provider about the host(s) related to this alert.- Parameters:
value
- Value to set for the hostStates property.
-
setIncidentIds
Sets the incidentIds property value. IDs of incidents related to current alert.- Parameters:
value
- Value to set for the incidentIds property.
-
setInvestigationSecurityStates
Sets the investigationSecurityStates property value. The investigationSecurityStates property- Parameters:
value
- Value to set for the investigationSecurityStates property.
-
setLastEventDateTime
Sets the lastEventDateTime property value. The lastEventDateTime property- Parameters:
value
- Value to set for the lastEventDateTime property.
-
setLastModifiedDateTime
Sets the lastModifiedDateTime property value. Time at which the alert entity was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.- Parameters:
value
- Value to set for the lastModifiedDateTime property.
-
setMalwareStates
Sets the malwareStates property value. Threat Intelligence pertaining to malware related to this alert.- Parameters:
value
- Value to set for the malwareStates property.
-
setMessageSecurityStates
Sets the messageSecurityStates property value. The messageSecurityStates property- Parameters:
value
- Value to set for the messageSecurityStates property.
-
setNetworkConnections
Sets the networkConnections property value. Security-related stateful information generated by the provider about the network connection(s) related to this alert.- Parameters:
value
- Value to set for the networkConnections property.
-
setProcesses
Sets the processes property value. Security-related stateful information generated by the provider about the process or processes related to this alert.- Parameters:
value
- Value to set for the processes property.
-
setRecommendedActions
Sets the recommendedActions property value. Vendor/provider recommended action(s) to take as a result of the alert (for example, isolate machine, enforce2FA, reimage host).- Parameters:
value
- Value to set for the recommendedActions property.
-
setRegistryKeyStates
Sets the registryKeyStates property value. Security-related stateful information generated by the provider about the registry keys related to this alert.- Parameters:
value
- Value to set for the registryKeyStates property.
-
setSecurityResources
Sets the securityResources property value. Resources related to current alert. For example, for some alerts this can have the Azure Resource value.- Parameters:
value
- Value to set for the securityResources property.
-
setSeverity
Sets the severity property value. The severity property- Parameters:
value
- Value to set for the severity property.
-
setSourceMaterials
Sets the sourceMaterials property value. Hyperlinks (URIs) to the source material related to the alert, for example, provider's user interface for alerts or log search.- Parameters:
value
- Value to set for the sourceMaterials property.
-
setStatus
Sets the status property value. The status property- Parameters:
value
- Value to set for the status property.
-
setTags
Sets the tags property value. User-definable labels that can be applied to an alert and can serve as filter conditions (for example 'HVA', 'SAW') (supports update).- Parameters:
value
- Value to set for the tags property.
-
setTitle
Sets the title property value. Alert title. Required.- Parameters:
value
- Value to set for the title property.
-
setTriggers
Sets the triggers property value. Security-related information about the specific properties that triggered the alert (properties appearing in the alert). Alerts might contain information about multiple users, hosts, files, ip addresses. This field indicates which properties triggered the alert generation.- Parameters:
value
- Value to set for the triggers property.
-
setUriClickSecurityStates
Sets the uriClickSecurityStates property value. The uriClickSecurityStates property- Parameters:
value
- Value to set for the uriClickSecurityStates property.
-
setUserStates
Sets the userStates property value. Security-related stateful information generated by the provider about the user accounts related to this alert.- Parameters:
value
- Value to set for the userStates property.
-
setVendorInformation
Sets the vendorInformation property value. Complex type containing details about the security product/service vendor, provider, and subprovider (for example, vendor=Microsoft; provider=Windows Defender ATP; subProvider=AppLocker). Required.- Parameters:
value
- Value to set for the vendorInformation property.
-
setVulnerabilityStates
Sets the vulnerabilityStates property value. Threat intelligence pertaining to one or more vulnerabilities related to this alert.- Parameters:
value
- Value to set for the vulnerabilityStates property.
-