Update-MgSecurityAlertV2
Update the properties of an alert object in an organization based on the specified alert id property.
Hinweis
To view the beta release of this cmdlet, view Update-MgBetaSecurityAlertV2
Update-MgSecurityAlertV2
-AlertId <String>
[-ResponseHeadersVariable <String>]
[-ActorDisplayName <String>]
[-AdditionalData <Hashtable>]
[-AdditionalProperties <Hashtable>]
[-AlertPolicyId <String>]
[-AlertWebUrl <String>]
[-AssignedTo <String>]
[-Category <String>]
[-Classification <String>]
[-Comments <IMicrosoftGraphSecurityAlertComment[]>]
[-CreatedDateTime <DateTime>]
[-Description <String>]
[-DetectionSource <String>]
[-DetectorId <String>]
[-Determination <String>]
[-Evidence <IMicrosoftGraphSecurityAlertEvidence[]>]
[-FirstActivityDateTime <DateTime>]
[-Id <String>]
[-IncidentId <String>]
[-IncidentWebUrl <String>]
[-LastActivityDateTime <DateTime>]
[-LastUpdateDateTime <DateTime>]
[-MitreTechniques <String[]>]
[-ProductName <String>]
[-ProviderAlertId <String>]
[-RecommendedActions <String>]
[-ResolvedDateTime <DateTime>]
[-ServiceSource <String>]
[-Severity <String>]
[-Status <String>]
[-SystemTags <String[]>]
[-TenantId <String>]
[-ThreatDisplayName <String>]
[-ThreatFamilyName <String>]
[-Title <String>]
[-Headers <IDictionary>]
[-ProgressAction <ActionPreference>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Update-MgSecurityAlertV2
-AlertId <String>
-BodyParameter <IMicrosoftGraphSecurityAlert>
[-ResponseHeadersVariable <String>]
[-Headers <IDictionary>]
[-ProgressAction <ActionPreference>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Update-MgSecurityAlertV2
-InputObject <ISecurityIdentity>
[-ResponseHeadersVariable <String>]
[-ActorDisplayName <String>]
[-AdditionalData <Hashtable>]
[-AdditionalProperties <Hashtable>]
[-AlertPolicyId <String>]
[-AlertWebUrl <String>]
[-AssignedTo <String>]
[-Category <String>]
[-Classification <String>]
[-Comments <IMicrosoftGraphSecurityAlertComment[]>]
[-CreatedDateTime <DateTime>]
[-Description <String>]
[-DetectionSource <String>]
[-DetectorId <String>]
[-Determination <String>]
[-Evidence <IMicrosoftGraphSecurityAlertEvidence[]>]
[-FirstActivityDateTime <DateTime>]
[-Id <String>]
[-IncidentId <String>]
[-IncidentWebUrl <String>]
[-LastActivityDateTime <DateTime>]
[-LastUpdateDateTime <DateTime>]
[-MitreTechniques <String[]>]
[-ProductName <String>]
[-ProviderAlertId <String>]
[-RecommendedActions <String>]
[-ResolvedDateTime <DateTime>]
[-ServiceSource <String>]
[-Severity <String>]
[-Status <String>]
[-SystemTags <String[]>]
[-TenantId <String>]
[-ThreatDisplayName <String>]
[-ThreatFamilyName <String>]
[-Title <String>]
[-Headers <IDictionary>]
[-ProgressAction <ActionPreference>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Update-MgSecurityAlertV2
-InputObject <ISecurityIdentity>
-BodyParameter <IMicrosoftGraphSecurityAlert>
[-ResponseHeadersVariable <String>]
[-Headers <IDictionary>]
[-ProgressAction <ActionPreference>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Update the properties of an alert object in an organization based on the specified alert id property.
Import-Module Microsoft.Graph.Security
$params = @{
assignedTo = "secAdmin@contoso.com"
classification = "truePositive"
determination = "malware"
status = "inProgress"
}
Update-MgSecurityAlertV2 -AlertId $alertId -BodyParameter $params
This example shows how to use the Update-MgSecurityAlertV2 Cmdlet.
The adversary or activity group that is associated with this alert.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
dictionary
Type: | Hashtable |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Additional Parameters
Type: | Hashtable |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
The unique identifier of alert
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
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.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
URL for the Microsoft 365 Defender portal alert page.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Owner of the alert, or null if no owner is assigned.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
alert To construct, see NOTES section for BODYPARAMETER properties and create a hash table.
Type: | IMicrosoftGraphSecurityAlert |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
The attack kill-chain category that the alert belongs to. Aligned with the MITRE ATT&CK framework.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
alertClassification
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Array of comments created by the Security Operations (SecOps) team during the alert management process. To construct, see NOTES section for COMMENTS properties and create a hash table.
Type: | IMicrosoftGraphSecurityAlertComment[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Time when Microsoft 365 Defender created the alert.
Type: | DateTime |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
String value describing each alert.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
detectionSource
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
The ID of the detector that triggered the alert.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
alertDetermination
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Collection of evidence related to the alert. To construct, see NOTES section for EVIDENCE properties and create a hash table.
Type: | IMicrosoftGraphSecurityAlertEvidence[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
The earliest activity associated with the alert.
Type: | DateTime |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Optional headers that will be added to the request.
Type: | IDictionary |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
The unique identifier for an entity. Read-only.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Unique identifier to represent the incident this alert resource is associated with.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
URL for the incident page in the Microsoft 365 Defender portal.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
Type: | ISecurityIdentity |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
The oldest activity associated with the alert.
Type: | DateTime |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Time when the alert was last updated at Microsoft 365 Defender.
Type: | DateTime |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
The attack techniques, as aligned with the MITRE ATT&CK framework.
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
The name of the product which published this alert.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
{{ Fill ProgressAction Description }}
Type: | ActionPreference |
Aliases: | proga |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
The ID of the alert as it appears in the security provider product that generated the alert.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Recommended response and remediation actions to take in the event this alert was generated.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Time when the alert was resolved.
Type: | DateTime |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Optional Response Headers Variable.
Type: | String |
Aliases: | RHV |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
serviceSource
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
alertSeverity
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
alertStatus
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
The system tags associated with the alert.
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
The Microsoft Entra tenant the alert was created in.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
The threat associated with this alert.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Threat family associated with this alert.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Brief identifying string value describing the alert.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSecurityAlert
Microsoft.Graph.PowerShell.Models.ISecurityIdentity
System.Collections.IDictionary
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSecurityAlert
COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
BODYPARAMETER <IMicrosoftGraphSecurityAlert>
: alert
[(Any) <Object>]
: This indicates any property can be added to this object.[Id <String>]
: The unique identifier for an entity. Read-only.[ActorDisplayName <String>]
: The adversary or activity group that is associated with this alert.[AdditionalData <IMicrosoftGraphSecurityDictionary>]
: dictionary[(Any) <Object>]
: This indicates any property can be added to this object.
[AlertPolicyId <String>]
: 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.[AlertWebUrl <String>]
: URL for the Microsoft 365 Defender portal alert page.[AssignedTo <String>]
: Owner of the alert, or null if no owner is assigned.[Category <String>]
: The attack kill-chain category that the alert belongs to. Aligned with the MITRE ATT&CK framework.[Classification <String>]
: alertClassification[Comments <IMicrosoftGraphSecurityAlertComment-
[]>]
: Array of comments created by the Security Operations (SecOps) team during the alert management process.[Comment <String>]
: The comment text.[CreatedByDisplayName <String>]
: The person or app name that submitted the comment.[CreatedDateTime <DateTime?>]
: The time when the comment was submitted.
[CreatedDateTime <DateTime?>]
: Time when Microsoft 365 Defender created the alert.[Description <String>]
: String value describing each alert.[DetectionSource <String>]
: detectionSource[DetectorId <String>]
: The ID of the detector that triggered the alert.[Determination <String>]
: alertDetermination[Evidence <IMicrosoftGraphSecurityAlertEvidence-
[]>]
: Collection of evidence related to the alert.[CreatedDateTime <DateTime?>]
: The date and time when the evidence was created and added to the alert. 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.[DetailedRoles <String-
[]>]
: Detailed description of the entity role/s in an alert. Values are free-form.[RemediationStatus <String>]
: evidenceRemediationStatus[RemediationStatusDetails <String>]
: Details about the remediation status.[Roles <String-
[]>]
: The role/s that an evidence entity represents in an alert, for example, an IP address that is associated with an attacker has the evidence role Attacker.[Tags <String-
[]>]
: Array of custom tags associated with an evidence instance, for example, to denote a group of devices, high-value assets, etc.[Verdict <String>]
: evidenceVerdict
[FirstActivityDateTime <DateTime?>]
: The earliest activity associated with the alert.[IncidentId <String>]
: Unique identifier to represent the incident this alert resource is associated with.[IncidentWebUrl <String>]
: URL for the incident page in the Microsoft 365 Defender portal.[LastActivityDateTime <DateTime?>]
: The oldest activity associated with the alert.[LastUpdateDateTime <DateTime?>]
: Time when the alert was last updated at Microsoft 365 Defender.[MitreTechniques <String-
[]>]
: The attack techniques, as aligned with the MITRE ATT&CK framework.[ProductName <String>]
: The name of the product which published this alert.[ProviderAlertId <String>]
: The ID of the alert as it appears in the security provider product that generated the alert.[RecommendedActions <String>]
: Recommended response and remediation actions to take in the event this alert was generated.[ResolvedDateTime <DateTime?>]
: Time when the alert was resolved.[ServiceSource <String>]
: serviceSource[Severity <String>]
: alertSeverity[Status <String>]
: alertStatus[SystemTags <String-
[]>]
: The system tags associated with the alert.[TenantId <String>]
: The Microsoft Entra tenant the alert was created in.[ThreatDisplayName <String>]
: The threat associated with this alert.[ThreatFamilyName <String>]
: Threat family associated with this alert.[Title <String>]
: Brief identifying string value describing the alert.
COMMENTS <IMicrosoftGraphSecurityAlertComment-
[]>
: Array of comments created by the Security Operations (SecOps) team during the alert management process.
[Comment <String>]
: The comment text.[CreatedByDisplayName <String>]
: The person or app name that submitted the comment.[CreatedDateTime <DateTime?>]
: The time when the comment was submitted.
EVIDENCE <IMicrosoftGraphSecurityAlertEvidence-
[]>
: Collection of evidence related to the alert.
[CreatedDateTime <DateTime?>]
: The date and time when the evidence was created and added to the alert. 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.[DetailedRoles <String-
[]>]
: Detailed description of the entity role/s in an alert. Values are free-form.[RemediationStatus <String>]
: evidenceRemediationStatus[RemediationStatusDetails <String>]
: Details about the remediation status.[Roles <String-
[]>]
: The role/s that an evidence entity represents in an alert, for example, an IP address that is associated with an attacker has the evidence role Attacker.[Tags <String-
[]>]
: Array of custom tags associated with an evidence instance, for example, to denote a group of devices, high-value assets, etc.[Verdict <String>]
: evidenceVerdict
INPUTOBJECT <ISecurityIdentity>
: Identity Parameter
[AlertId <String>]
: The unique identifier of alert[ArticleId <String>]
: The unique identifier of article[ArticleIndicatorId <String>]
: The unique identifier of articleIndicator[AttackSimulationOperationId <String>]
: The unique identifier of attackSimulationOperation[AuthoredNoteId <String>]
: The unique identifier of authoredNote[AuthorityTemplateId <String>]
: The unique identifier of authorityTemplate[CaseOperationId <String>]
: The unique identifier of caseOperation[CategoryTemplateId <String>]
: The unique identifier of categoryTemplate[CitationTemplateId <String>]
: The unique identifier of citationTemplate[DataSourceId <String>]
: The unique identifier of dataSource[DepartmentTemplateId <String>]
: The unique identifier of departmentTemplate[DispositionReviewStageNumber <String>]
: The unique identifier of dispositionReviewStage[EdiscoveryCaseId <String>]
: The unique identifier of ediscoveryCase[EdiscoveryCustodianId <String>]
: The unique identifier of ediscoveryCustodian[EdiscoveryNoncustodialDataSourceId <String>]
: The unique identifier of ediscoveryNoncustodialDataSource[EdiscoveryReviewSetId <String>]
: The unique identifier of ediscoveryReviewSet[EdiscoveryReviewSetQueryId <String>]
: The unique identifier of ediscoveryReviewSetQuery[EdiscoveryReviewTagId <String>]
: The unique identifier of ediscoveryReviewTag[EdiscoveryReviewTagId1 <String>]
: The unique identifier of ediscoveryReviewTag[EdiscoverySearchId <String>]
: The unique identifier of ediscoverySearch[EndUserNotificationDetailId <String>]
: The unique identifier of endUserNotificationDetail[EndUserNotificationId <String>]
: The unique identifier of endUserNotification[FilePlanReferenceTemplateId <String>]
: The unique identifier of filePlanReferenceTemplate[HealthIssueId <String>]
: The unique identifier of healthIssue[HostComponentId <String>]
: The unique identifier of hostComponent[HostCookieId <String>]
: The unique identifier of hostCookie[HostId <String>]
: The unique identifier of host[HostPairId <String>]
: The unique identifier of hostPair[HostPortId <String>]
: The unique identifier of hostPort[HostSslCertificateId <String>]
: The unique identifier of hostSslCertificate[HostTrackerId <String>]
: The unique identifier of hostTracker[IncidentId <String>]
: The unique identifier of incident[IntelligenceProfileId <String>]
: The unique identifier of intelligenceProfile[IntelligenceProfileIndicatorId <String>]
: The unique identifier of intelligenceProfileIndicator[LandingPageDetailId <String>]
: The unique identifier of landingPageDetail[LandingPageId <String>]
: The unique identifier of landingPage[LoginPageId <String>]
: The unique identifier of loginPage[PassiveDnsRecordId <String>]
: The unique identifier of passiveDnsRecord[PayloadId <String>]
: The unique identifier of payload[RetentionEventId <String>]
: The unique identifier of retentionEvent[RetentionEventTypeId <String>]
: The unique identifier of retentionEventType[RetentionLabelId <String>]
: The unique identifier of retentionLabel[SecureScoreControlProfileId <String>]
: The unique identifier of secureScoreControlProfile[SecureScoreId <String>]
: The unique identifier of secureScore[SimulationAutomationId <String>]
: The unique identifier of simulationAutomation[SimulationAutomationRunId <String>]
: The unique identifier of simulationAutomationRun[SimulationId <String>]
: The unique identifier of simulation[SiteSourceId <String>]
: The unique identifier of siteSource[SslCertificateId <String>]
: The unique identifier of sslCertificate[SubcategoryTemplateId <String>]
: The unique identifier of subcategoryTemplate[SubdomainId <String>]
: The unique identifier of subdomain[SubjectRightsRequestId <String>]
: The unique identifier of subjectRightsRequest[TrainingId <String>]
: The unique identifier of training[TrainingLanguageDetailId <String>]
: The unique identifier of trainingLanguageDetail[UnifiedGroupSourceId <String>]
: The unique identifier of unifiedGroupSource[UserId <String>]
: The unique identifier of user[UserSourceId <String>]
: The unique identifier of userSource[VulnerabilityComponentId <String>]
: The unique identifier of vulnerabilityComponent[VulnerabilityId <String>]
: The unique identifier of vulnerability[WhoisHistoryRecordId <String>]
: The unique identifier of whoisHistoryRecord[WhoisRecordId <String>]
: The unique identifier of whoisRecord
RELATED LINKS
https://learn.microsoft.com/powershell/module/microsoft.graph.security/update-mgsecurityalertv2
https://learn.microsoft.com/graph/api/security-alert-update?view=graph-rest-1.0