Class Incident
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.security.Incident
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class Incident
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 Incident
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the alerts property value.Gets the assignedTo property value.Gets the classification property value.Gets the comments property value.Gets the createdDateTime property value.Gets the customTags property value.Gets the description property value.Gets the determination property value.Gets the displayName property value.The deserialization information for the current modelGets the incidentWebUrl property value.Gets the lastModifiedBy property value.Gets the lastUpdateDateTime property value.Gets the redirectIncidentId property value.Gets the resolvingComment property value.Gets the severity property value.Gets the status property value.Gets the summary property value.Gets the systemTags property value.Gets the tenantId property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
Sets the alerts property value.void
setAssignedTo
(String value) Sets the assignedTo 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
setCustomTags
(List<String> value) Sets the customTags property value.void
setDescription
(String value) Sets the description property value.void
Sets the determination property value.void
setDisplayName
(String value) Sets the displayName property value.void
setIncidentWebUrl
(String value) Sets the incidentWebUrl property value.void
setLastModifiedBy
(String value) Sets the lastModifiedBy property value.void
Sets the lastUpdateDateTime property value.void
setRedirectIncidentId
(String value) Sets the redirectIncidentId property value.void
setResolvingComment
(String value) Sets the resolvingComment property value.void
setSeverity
(AlertSeverity value) Sets the severity property value.void
setStatus
(IncidentStatus value) Sets the status property value.void
setSummary
(String value) Sets the summary property value.void
setSystemTags
(List<String> value) Sets the systemTags property value.void
setTenantId
(String value) Sets the tenantId property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
Incident
public Incident()Instantiates a newIncident
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static Incident 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
Incident
-
getAlerts
Gets the alerts property value. The list of related alerts. Supports $expand. -
getAssignedTo
Gets the assignedTo property value. Owner of the incident, or null if no owner is assigned. Free editable text.- Returns:
- a
String
-
getClassification
Gets the classification property value. The specification for the incident. 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 when the incident is managed.- Returns:
- a
List<AlertComment>
-
getCreatedDateTime
Gets the createdDateTime property value. Time when the incident was first created.- Returns:
- a
OffsetDateTime
-
getCustomTags
Gets the customTags property value. Array of custom tags associated with an incident. -
getDescription
Gets the description property value. Description of the incident.- Returns:
- a
String
-
getDetermination
Gets the determination property value. Specifies the determination of the incident. Possible values are: unknown, apt, malware, securityPersonnel, securityTesting, unwantedSoftware, other, multiStagedAttack, compromisedUser, phishing, maliciousUserActivity, clean, insufficientData, confirmedUserActivity, lineOfBusinessApplication, unknownFutureValue.- Returns:
- a
AlertDetermination
-
getDisplayName
Gets the displayName property value. The incident name.- Returns:
- a
String
-
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>>
-
getIncidentWebUrl
Gets the incidentWebUrl property value. The URL for the incident page in the Microsoft 365 Defender portal.- Returns:
- a
String
-
getLastModifiedBy
Gets the lastModifiedBy property value. The identity that last modified the incident.- Returns:
- a
String
-
getLastUpdateDateTime
Gets the lastUpdateDateTime property value. Time when the incident was last updated.- Returns:
- a
OffsetDateTime
-
getRedirectIncidentId
Gets the redirectIncidentId property value. 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.- Returns:
- a
String
-
getResolvingComment
Gets the resolvingComment property value. User input that explains the resolution of the incident and the classification choice. This property contains free editable text.- Returns:
- a
String
-
getSeverity
Gets the severity property value. The severity property- Returns:
- a
AlertSeverity
-
getStatus
Gets the status property value. The status property- Returns:
- a
IncidentStatus
-
getSummary
Gets the summary property value. The overview of an attack. When applicable, the summary contains details of what occurred, impacted assets, and the type of attack.- Returns:
- a
String
-
getSystemTags
Gets the systemTags property value. The system tags associated with the incident. -
getTenantId
Gets the tenantId property value. The Microsoft Entra tenant in which the alert was created.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setAlerts
Sets the alerts property value. The list of related alerts. Supports $expand.- Parameters:
value
- Value to set for the alerts property.
-
setAssignedTo
Sets the assignedTo property value. Owner of the incident, or null if no owner is assigned. Free editable text.- Parameters:
value
- Value to set for the assignedTo property.
-
setClassification
Sets the classification property value. The specification for the incident. 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 when the incident is managed.- Parameters:
value
- Value to set for the comments property.
-
setCreatedDateTime
Sets the createdDateTime property value. Time when the incident was first created.- Parameters:
value
- Value to set for the createdDateTime property.
-
setCustomTags
Sets the customTags property value. Array of custom tags associated with an incident.- Parameters:
value
- Value to set for the customTags property.
-
setDescription
Sets the description property value. Description of the incident.- Parameters:
value
- Value to set for the description property.
-
setDetermination
Sets the determination property value. Specifies the determination of the incident. Possible values are: unknown, apt, malware, securityPersonnel, securityTesting, unwantedSoftware, other, multiStagedAttack, compromisedUser, phishing, maliciousUserActivity, clean, insufficientData, confirmedUserActivity, lineOfBusinessApplication, unknownFutureValue.- Parameters:
value
- Value to set for the determination property.
-
setDisplayName
Sets the displayName property value. The incident name.- Parameters:
value
- Value to set for the displayName property.
-
setIncidentWebUrl
Sets the incidentWebUrl property value. The URL for the incident page in the Microsoft 365 Defender portal.- Parameters:
value
- Value to set for the incidentWebUrl property.
-
setLastModifiedBy
Sets the lastModifiedBy property value. The identity that last modified the incident.- Parameters:
value
- Value to set for the lastModifiedBy property.
-
setLastUpdateDateTime
Sets the lastUpdateDateTime property value. Time when the incident was last updated.- Parameters:
value
- Value to set for the lastUpdateDateTime property.
-
setRedirectIncidentId
Sets the redirectIncidentId property value. 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.- Parameters:
value
- Value to set for the redirectIncidentId property.
-
setResolvingComment
Sets the resolvingComment property value. User input that explains the resolution of the incident and the classification choice. This property contains free editable text.- Parameters:
value
- Value to set for the resolvingComment 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.
-
setSummary
Sets the summary property value. The overview of an attack. When applicable, the summary contains details of what occurred, impacted assets, and the type of attack.- Parameters:
value
- Value to set for the summary property.
-
setSystemTags
Sets the systemTags property value. The system tags associated with the incident.- Parameters:
value
- Value to set for the systemTags property.
-
setTenantId
Sets the tenantId property value. The Microsoft Entra tenant in which the alert was created.- Parameters:
value
- Value to set for the tenantId property.
-