Share via


New-MgSecurityIncident

Create new navigation property to incidents for security

Note

To view the beta release of this cmdlet, view New-MgBetaSecurityIncident

Syntax

CreateExpanded (Default)

New-MgSecurityIncident
    [-ResponseHeadersVariable <string>]
    [-AdditionalProperties <hashtable>]
    [-Alerts <IMicrosoftGraphSecurityAlert[]>]
    [-AssignedTo <string>]
    [-Classification <string>]
    [-Comments <IMicrosoftGraphSecurityAlertComment[]>]
    [-CreatedDateTime <datetime>]
    [-CustomTags <string[]>]
    [-Description <string>]
    [-Determination <string>]
    [-DisplayName <string>]
    [-Id <string>]
    [-IncidentWebUrl <string>]
    [-LastModifiedBy <string>]
    [-LastUpdateDateTime <datetime>]
    [-RedirectIncidentId <string>]
    [-ResolvingComment <string>]
    [-Severity <string>]
    [-Status <string>]
    [-Summary <string>]
    [-SystemTags <string[]>]
    [-TenantId <string>]
    [-Break]
    [-Headers <IDictionary>]
    [-HttpPipelineAppend <SendAsyncStep[]>]
    [-HttpPipelinePrepend <SendAsyncStep[]>]
    [-Proxy <uri>]
    [-ProxyCredential <pscredential>]
    [-ProxyUseDefaultCredentials]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Create

New-MgSecurityIncident
    -BodyParameter <IMicrosoftGraphSecurityIncident>
    [-ResponseHeadersVariable <string>]
    [-Break]
    [-Headers <IDictionary>]
    [-HttpPipelineAppend <SendAsyncStep[]>]
    [-HttpPipelinePrepend <SendAsyncStep[]>]
    [-Proxy <uri>]
    [-ProxyCredential <pscredential>]
    [-ProxyUseDefaultCredentials]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Parameters

-AdditionalProperties

Additional Parameters

Parameter properties

Type:System.Collections.Hashtable
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Alerts

The list of related alerts. Supports $expand. To construct, see NOTES section for ALERTS properties and create a hash table.

Parameter properties

Type:

Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSecurityAlert[]

Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-AssignedTo

Owner of the incident, or null if no owner is assigned. Free editable text.

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-BodyParameter

incident To construct, see NOTES section for BODYPARAMETER properties and create a hash table.

Parameter properties

Type:Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSecurityIncident
Supports wildcards:False
DontShow:False

Parameter sets

Create
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-Break

Wait for .NET debugger to attach

Parameter properties

Type:System.Management.Automation.SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Classification

alertClassification

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Comments

Array of comments created by the Security Operations (SecOps) team when the incident is managed. To construct, see NOTES section for COMMENTS properties and create a hash table.

Parameter properties

Type:

Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSecurityAlertComment[]

Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:System.Management.Automation.SwitchParameter
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-CreatedDateTime

Time when the incident was first created.

Parameter properties

Type:System.DateTime
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-CustomTags

Array of custom tags associated with an incident.

Parameter properties

Type:

System.String[]

Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Description

Description of the incident.

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Determination

alertDetermination

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DisplayName

The incident name.

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Headers

Optional headers that will be added to the request.

Parameter properties

Type:System.Collections.IDictionary
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-HttpPipelineAppend

SendAsync Pipeline Steps to be appended to the front of the pipeline

Parameter properties

Type:

Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]

Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-HttpPipelinePrepend

SendAsync Pipeline Steps to be prepended to the front of the pipeline

Parameter properties

Type:

Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]

Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Id

The unique identifier for an entity. Read-only.

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-IncidentWebUrl

The URL for the incident page in the Microsoft 365 Defender portal.

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-LastModifiedBy

The identity that last modified the incident.

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-LastUpdateDateTime

Time when the incident was last updated.

Parameter properties

Type:System.DateTime
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Proxy

The URI for the proxy server to use

Parameter properties

Type:System.Uri
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ProxyCredential

Credentials for a proxy server to use for the remote call

Parameter properties

Type:System.Management.Automation.PSCredential
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ProxyUseDefaultCredentials

Use the default credentials for the proxy

Parameter properties

Type:System.Management.Automation.SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-RedirectIncidentId

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.

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ResolvingComment

User input that explains the resolution of the incident and the classification choice. This property contains free editable text.

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ResponseHeadersVariable

Optional Response Headers Variable.

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False
Aliases:RHV

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Severity

alertSeverity

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Status

incidentStatus

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Summary

The overview of an attack. When applicable, the summary contains details of what occurred, impacted assets, and the type of attack.

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-SystemTags

The system tags associated with the incident.

Parameter properties

Type:

System.String[]

Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-TenantId

The Microsoft Entra tenant in which the alert was created.

Parameter properties

Type:System.String
Supports wildcards:False
DontShow:False

Parameter sets

CreateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-WhatIf

Runs the command in a mode that only reports what would happen without performing the actions.

Parameter properties

Type:System.Management.Automation.SwitchParameter
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSecurityIncident

{{ Fill in the Description }}

System.Collections.IDictionary

{{ Fill in the Description }}

Outputs

Microsoft.Graph.PowerShell.Models.IMicrosoftGraphSecurityIncident

{{ Fill in the Description }}

Notes

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.

ALERTS <IMicrosoftGraphSecurityAlert[]>: The list of related alerts. Supports $expand. [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. [CustomDetails <IMicrosoftGraphSecurityDictionary>]: dictionary [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.

BODYPARAMETER <IMicrosoftGraphSecurityIncident>: incident [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [Alerts <IMicrosoftGraphSecurityAlert[]>]: The list of related alerts. Supports $expand. [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. [CustomDetails <IMicrosoftGraphSecurityDictionary>]: dictionary [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. [AssignedTo <String>]: Owner of the incident, or null if no owner is assigned. Free editable text. [Classification <String>]: alertClassification [Comments <IMicrosoftGraphSecurityAlertComment[]>]: Array of comments created by the Security Operations (SecOps) team when the incident is managed. [CreatedDateTime <DateTime?>]: Time when the incident was first created. [CustomTags <String[]>]: Array of custom tags associated with an incident. [Description <String>]: Description of the incident. [Determination <String>]: alertDetermination [DisplayName <String>]: The incident name. [IncidentWebUrl <String>]: The URL for the incident page in the Microsoft 365 Defender portal. [LastModifiedBy <String>]: The identity that last modified the incident. [LastUpdateDateTime <DateTime?>]: Time when the incident was last updated. [RedirectIncidentId <String>]: 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. [ResolvingComment <String>]: User input that explains the resolution of the incident and the classification choice. This property contains free editable text. [Severity <String>]: alertSeverity [Status <String>]: incidentStatus [Summary <String>]: The overview of an attack. When applicable, the summary contains details of what occurred, impacted assets, and the type of attack. [SystemTags <String[]>]: The system tags associated with the incident. [TenantId <String>]: The Microsoft Entra tenant in which the alert was created.

COMMENTS <IMicrosoftGraphSecurityAlertComment[]>: Array of comments created by the Security Operations (SecOps) team when the incident is managed. [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.