Update-MgBetaSecurityRuleDetectionRule

Update the navigation property detectionRules in security

Syntax

UpdateExpanded (Default)

Update-MgBetaSecurityRuleDetectionRule
    -DetectionRuleId <string>
    [-ResponseHeadersVariable <string>]
    [-AdditionalProperties <hashtable>]
    [-CreatedBy <string>]
    [-CreatedDateTime <datetime>]
    [-Description <string>]
    [-DetectionAction <IMicrosoftGraphSecurityDetectionAction>]
    [-DetectorId <string>]
    [-DisplayName <string>]
    [-Id <string>]
    [-IsEnabled]
    [-LastModifiedBy <string>]
    [-LastModifiedDateTime <datetime>]
    [-LastRunDetails <IMicrosoftGraphSecurityRunDetails>]
    [-QueryCondition <IMicrosoftGraphSecurityQueryCondition>]
    [-Schedule <IMicrosoftGraphSecurityRuleSchedule>]
    [-Status <string>]
    [-Break]
    [-Headers <IDictionary>]
    [-HttpPipelineAppend <SendAsyncStep[]>]
    [-HttpPipelinePrepend <SendAsyncStep[]>]
    [-Proxy <uri>]
    [-ProxyCredential <pscredential>]
    [-ProxyUseDefaultCredentials]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Update

Update-MgBetaSecurityRuleDetectionRule
    -DetectionRuleId <string>
    -BodyParameter <IMicrosoftGraphSecurityDetectionRule>
    [-ResponseHeadersVariable <string>]
    [-Break]
    [-Headers <IDictionary>]
    [-HttpPipelineAppend <SendAsyncStep[]>]
    [-HttpPipelinePrepend <SendAsyncStep[]>]
    [-Proxy <uri>]
    [-ProxyCredential <pscredential>]
    [-ProxyUseDefaultCredentials]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

UpdateViaIdentityExpanded

Update-MgBetaSecurityRuleDetectionRule
    -InputObject <ISecurityIdentity>
    [-ResponseHeadersVariable <string>]
    [-AdditionalProperties <hashtable>]
    [-CreatedBy <string>]
    [-CreatedDateTime <datetime>]
    [-Description <string>]
    [-DetectionAction <IMicrosoftGraphSecurityDetectionAction>]
    [-DetectorId <string>]
    [-DisplayName <string>]
    [-Id <string>]
    [-IsEnabled]
    [-LastModifiedBy <string>]
    [-LastModifiedDateTime <datetime>]
    [-LastRunDetails <IMicrosoftGraphSecurityRunDetails>]
    [-QueryCondition <IMicrosoftGraphSecurityQueryCondition>]
    [-Schedule <IMicrosoftGraphSecurityRuleSchedule>]
    [-Status <string>]
    [-Break]
    [-Headers <IDictionary>]
    [-HttpPipelineAppend <SendAsyncStep[]>]
    [-HttpPipelinePrepend <SendAsyncStep[]>]
    [-Proxy <uri>]
    [-ProxyCredential <pscredential>]
    [-ProxyUseDefaultCredentials]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

UpdateViaIdentity

Update-MgBetaSecurityRuleDetectionRule
    -InputObject <ISecurityIdentity>
    -BodyParameter <IMicrosoftGraphSecurityDetectionRule>
    [-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

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

-BodyParameter

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

Parameter properties

Type:Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSecurityDetectionRule
Supports wildcards:False
DontShow:False

Parameter sets

UpdateViaIdentity
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False
Update
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

-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

-CreatedBy

Name of the user or application that created the rule. Read-only. Supports $filter (eq, ne, not, in, startsWith, endsWith, contains).

Parameter properties

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

Parameter sets

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

-CreatedDateTime

Timestamp of rule creation. Read-only. Supports $filter (eq, ne, not, le, ge, lt, gt) and $orderby.

Parameter properties

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

Parameter sets

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

-Description

A user-supplied description of the detection rule. Supports $filter (eq, ne, not, in, startsWith, endsWith, contains).

Parameter properties

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

Parameter sets

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

-DetectionAction

detectionAction To construct, see NOTES section for DETECTIONACTION properties and create a hash table.

Parameter properties

Type:Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSecurityDetectionAction
Supports wildcards:False
DontShow:False

Parameter sets

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

-DetectionRuleId

The unique identifier of detectionRule

Parameter properties

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

Parameter sets

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

-DetectorId

Internal detector identifier. Deprecated. This property will be removed from this resource on 2026-10-01.

Parameter properties

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

Parameter sets

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

-DisplayName

The display name of the rule. Supports $filter (eq, ne, not, in, startsWith, endsWith, contains) and $orderby.

Parameter properties

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

Parameter sets

UpdateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
UpdateExpanded
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.Beta.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.Beta.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

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

-InputObject

Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

Parameter properties

Type:Microsoft.Graph.Beta.PowerShell.Models.ISecurityIdentity
Supports wildcards:False
DontShow:False

Parameter sets

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

-IsEnabled

Indicates whether the rule is turned on for the tenant. Supports $filter (eq, ne, not). Deprecated. Use status instead. This property will be removed from this resource on 2026-10-01.

Parameter properties

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

Parameter sets

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

-LastModifiedBy

Name of the user or application that last updated the rule. Read-only. Supports $filter (eq, ne, not, in, startsWith, endsWith, contains).

Parameter properties

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

Parameter sets

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

-LastModifiedDateTime

Timestamp of when the rule was last updated. Read-only. Supports $filter (eq, ne, not, le, ge, lt, gt) and $orderby.

Parameter properties

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

Parameter sets

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

-LastRunDetails

runDetails To construct, see NOTES section for LASTRUNDETAILS properties and create a hash table.

Parameter properties

Type:Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSecurityRunDetails
Supports wildcards:False
DontShow:False

Parameter sets

UpdateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
UpdateExpanded
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

-QueryCondition

queryCondition To construct, see NOTES section for QUERYCONDITION properties and create a hash table.

Parameter properties

Type:Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSecurityQueryCondition
Supports wildcards:False
DontShow:False

Parameter sets

UpdateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
UpdateExpanded
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

-Schedule

ruleSchedule To construct, see NOTES section for SCHEDULE properties and create a hash table.

Parameter properties

Type:Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSecurityRuleSchedule
Supports wildcards:False
DontShow:False

Parameter sets

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

-Status

detectionRuleStatus

Parameter properties

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

Parameter sets

UpdateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
UpdateExpanded
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.Beta.PowerShell.Models.IMicrosoftGraphSecurityDetectionRule

{{ Fill in the Description }}

Microsoft.Graph.Beta.PowerShell.Models.ISecurityIdentity

{{ Fill in the Description }}

System.Collections.IDictionary

{{ Fill in the Description }}

Outputs

Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSecurityDetectionRule

{{ 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.

BODYPARAMETER <IMicrosoftGraphSecurityDetectionRule>: detectionRule [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [CreatedBy <String>]: Name of the user or application that created the rule. Read-only. Supports $filter (eq, ne, not, in, startsWith, endsWith, contains). [CreatedDateTime <DateTime?>]: Timestamp of rule creation. Read-only. Supports $filter (eq, ne, not, le, ge, lt, gt) and $orderby. [Description <String>]: A user-supplied description of the detection rule. Supports $filter (eq, ne, not, in, startsWith, endsWith, contains). [DetectionAction <IMicrosoftGraphSecurityDetectionAction>]: detectionAction [(Any) <Object>]: This indicates any property can be added to this object. [AlertTemplate <IMicrosoftGraphSecurityAlertTemplate>]: alertTemplate [(Any) <Object>]: This indicates any property can be added to this object. [Category <String>]: Indicates the category assigned to the alert triggered by the custom detection rule. Deprecated. Use tactics instead. This property will be removed from this resource on 2026-10-01. [CustomDetails <IMicrosoftGraphSecurityAlertCustomDetails>]: alertCustomDetails [(Any) <Object>]: This indicates any property can be added to this object. [Description <String>]: Description of the alert triggered by the custom detection rule. [EntityMappings <IMicrosoftGraphSecurityEntityMappingConfiguration>]: entityMappingConfiguration [(Any) <Object>]: This indicates any property can be added to this object. [Accounts <IMicrosoftGraphSecurityAccountEntityMapping[]>]: Mappings from detection query columns to account entities attached to the alert. [AadUserIdColumn <String>]: Name of the detection query column that maps to the Microsoft Entra user ID of the alert entity. [DnsDomainColumn <String>]: Name of the detection query column that maps to the DNS domain of the alert entity. [NameColumn <String>]: Name of the detection query column that maps to the name of the alert entity. [NtDomainColumn <String>]: Name of the detection query column that maps to the NT domain of the alert entity. [SidColumn <String>]: Name of the detection query column that maps to the security identifier (SID) of the alert entity. [UpnColumn <String>]: Name of the detection query column that maps to the user principal name (UPN) of the alert entity. [UpnSuffixColumn <String>]: Name of the detection query column that maps to the UPN suffix of the alert entity. [AmazonResources <IMicrosoftGraphSecurityAmazonResourceEntityMapping[]>]: Mappings from detection query columns to Amazon Web Services resource entities attached to the alert. [AmazonResourceIdColumn <String>]: Name of the detection query column that maps to the Amazon resource ID of the alert entity. [AzureResources <IMicrosoftGraphSecurityAzureResourceEntityMapping[]>]: Mappings from detection query columns to Azure resource entities attached to the alert. [ResourceIdColumn <String>]: Name of the detection query column that maps to the resource ID of the alert entity. [CloudApplications <IMicrosoftGraphSecurityCloudApplicationEntityMapping[]>]: Mappings from detection query columns to cloud application entities attached to the alert. [AppIdColumn <String>]: Name of the detection query column that maps to the application ID of the alert entity. [NameColumn <String>]: Name of the detection query column that maps to the name of the alert entity. [Dns <IMicrosoftGraphSecurityDnsEntityMapping[]>]: Mappings from detection query columns to DNS entities attached to the alert. [DomainNameColumn <String>]: Name of the detection query column that maps to the domain name of the alert entity. [HostIPAddressColumn <String>]: Name of the detection query column that maps to the host IP address of the alert entity. [ServerIPColumn <String>]: Name of the detection query column that maps to the server IP address of the alert entity. [Files <IMicrosoftGraphSecurityFileEntityMapping[]>]: Mappings from detection query columns to file entities attached to the alert. [NameColumn <String>]: Name of the detection query column that maps to the name of the alert entity. [Sha1Column <String>]: Name of the detection query column that maps to the SHA-1 hash of the alert entity. [Sha256Column <String>]: Name of the detection query column that maps to the SHA-256 hash of the alert entity. [GoogleCloudResources <IMicrosoftGraphSecurityGoogleCloudResourceEntityMapping[]>]: Mappings from detection query columns to Google Cloud resource entities attached to the alert. [FullResourceNameColumn <String>]: Name of the detection query column that maps to the full resource name of the alert entity. [Hosts <IMicrosoftGraphSecurityHostEntityMapping[]>]: Mappings from detection query columns to host entities attached to the alert. [DeviceIdColumn <String>]: Name of the detection query column that maps to the device ID of the alert entity. [DnsDomainColumn <String>]: Name of the detection query column that maps to the DNS domain of the alert entity. [NameColumn <String>]: Name of the detection query column that maps to the name of the alert entity. [NetBiosNameColumn <String>]: Name of the detection query column that maps to the NetBIOS name of the alert entity. [NtDomainColumn <String>]: Name of the detection query column that maps to the NT domain of the alert entity. [Ips <IMicrosoftGraphSecurityIPEntityMapping[]>]: Mappings from detection query columns to IP address entities attached to the alert. [AddressColumn <String>]: Name of the detection query column that maps to the IP address of the alert entity. [ScopeColumn <String>]: Name of the detection query column that maps to the scope of the alert entity. [MailClusters <IMicrosoftGraphSecurityMailClusterEntityMapping[]>]: Mappings from detection query columns to mail cluster entities attached to the alert. [QueryColumn <String>]: Name of the detection query column that maps to the query of the alert entity. [SourceColumn <String>]: Name of the detection query column that maps to the source of the alert entity. [MailMessages <IMicrosoftGraphSecurityMailMessageEntityMapping[]>]: Mappings from detection query columns to mail message entities attached to the alert. [NetworkMessageIdColumn <String>]: Name of the detection query column that maps to the network message ID of the alert entity. [RecipientColumn <String>]: Name of the detection query column that maps to the recipient of the alert entity. [SenderColumn <String>]: Name of the detection query column that maps to the sender of the alert entity. [SubjectColumn <String>]: Name of the detection query column that maps to the subject of the alert entity. [Mailboxes <IMicrosoftGraphSecurityMailboxEntityMapping[]>]: Mappings from detection query columns to mailbox entities attached to the alert. [PrimaryAddressColumn <String>]: Name of the detection query column that maps to the primary email address of the alert entity. [OAuthApplications <IMicrosoftGraphSecurityOAuthApplicationEntityMapping[]>]: Mappings from detection query columns to OAuth application entities attached to the alert. [OAuthAppIdColumn <String>]: Name of the detection query column that maps to the OAuth application ID of the alert entity. [Processes <IMicrosoftGraphSecurityProcessEntityMapping[]>]: Mappings from detection query columns to process entities attached to the alert. [Sha1Column <String>]: Name of the detection query column that maps to the SHA-1 hash of the alert entity. [Sha256Column <String>]: Name of the detection query column that maps to the SHA-256 hash of the alert entity. [RegistryValues <IMicrosoftGraphSecurityRegistryValueEntityMapping[]>]: Mappings from detection query columns to registry value entities attached to the alert. [KeyColumn <String>]: Name of the detection query column that maps to the registry key of the alert entity. [ValueNameColumn <String>]: Name of the detection query column that maps to the value name of the alert entity. [SecurityGroups <IMicrosoftGraphSecurityGroupEntityMapping[]>]: Mappings from detection query columns to security group entities attached to the alert. [DistinguishedNameColumn <String>]: Name of the detection query column that maps to the distinguished name of the alert entity. [ObjectIdColumn <String>]: Name of the detection query column that maps to the object ID of the alert entity. [SidColumn <String>]: Name of the detection query column that maps to the security identifier (SID) of the alert entity. [Urls <IMicrosoftGraphSecurityUrlEntityMapping[]>]: Mappings from detection query columns to URL entities attached to the alert. [AddressColumn <String>]: Name of the detection query column that maps to the URL address of the alert entity. [ImpactedAssets <IMicrosoftGraphSecurityImpactedAsset[]>]: Indicates the impacted assets for the alert triggered by the custom detection rule. Deprecated. Use entityMappings instead. This property will be removed from this resource on 2026-10-01. [MitreTechniques <String[]>]: Indicates the MITRE techniques assigned to the alert triggered by the custom detection rule. Deprecated. Use tactics instead. This property will be removed from this resource on 2026-10-01. [RecommendedActions <String>]: Recommended actions to mitigate the threat related to the alert triggered by the custom detection rule. [Severity <String>]: alertSeverity [Tactics <IMicrosoftGraphSecurityMitreTactic[]>]: The MITRE ATT&CK tactics framing for this alert. [Tactic <String>]: The MITRE tactic identifier, for example, Exploit. [Techniques <IMicrosoftGraphSecurityMitreTechnique[]>]: The techniques observed within this tactic. [SubTechniques <String[]>]: The MITRE ATT&CK subtechnique identifiers that are associated with this technique, for example, T1059.001. [Technique <String>]: The MITRE ATT&CK technique identifier, for example, T1059. [Title <String>]: Name of the alert triggered by the custom detection rule. [AutomatedActions <IMicrosoftGraphSecurityAutomatedActionSet>]: automatedActionSet [(Any) <Object>]: This indicates any property can be added to this object. [AllowFiles <IMicrosoftGraphSecurityFileAction[]>]: File actions that allow files identified by file hash columns in the hunting-query results. [DeviceGroupNames <String[]>]: Names of the device groups where the file action applies. [Sha1Column <String>]: Name of the hunting-query result column that contains the SHA-1 hash of the targeted file. [Sha256Column <String>]: Name of the hunting-query result column that contains the SHA-256 hash of the targeted file. [BlockFiles <IMicrosoftGraphSecurityFileAction[]>]: File actions that block files identified by file hash columns in the hunting-query results. [CollectInvestigationPackages <IMicrosoftGraphSecurityDeviceAction[]>]: Device actions that collect investigation packages from devices identified in the hunting-query results. [DeviceIdColumn <String>]: Name of the hunting-query result column that contains the device ID for the targeted device. [DisableUsers <IMicrosoftGraphSecurityAccountSidAction[]>]: Account actions that disable users identified by account SID columns in the hunting-query results. [AccountSidColumn <String>]: Name of the hunting-query result column that contains the SID of the targeted account. [ForceUserPasswordResets <IMicrosoftGraphSecurityAccountSidAction[]>]: Account actions that force password resets for users identified by account SID columns in the hunting-query results. [HardDeleteEmails <IMicrosoftGraphSecurityEmailAction[]>]: Email actions that permanently delete messages identified in the hunting-query results. [NetworkMessageIdColumn <String>]: Name of the hunting-query result column that contains the network message ID of the targeted email message. [RecipientColumn <String>]: Name of the hunting-query result column that contains the recipient of the targeted email message. [InitiateInvestigations <IMicrosoftGraphSecurityDeviceAction[]>]: Device actions that initiate investigations on devices identified in the hunting-query results. [IsolateDevices <IMicrosoftGraphSecurityIsolateDeviceAction[]>]: Device actions that isolate devices identified in the hunting-query results. [DeviceIdColumn <String>]: Name of the hunting-query result column that contains the device ID for the targeted device. [IsolationType <String>]: isolationType [MarkUsersAsCompromised <IMicrosoftGraphSecurityAccountObjectIdAction[]>]: Account actions that mark users as compromised when they're identified by Microsoft Entra object ID columns in the hunting-query results. [AccountObjectIdColumn <String>]: Name of the hunting-query result column that contains the Microsoft Entra object ID of the targeted account. [MoveEmailsToDeletedItems <IMicrosoftGraphSecurityEmailAction[]>]: Email actions that move messages identified in the hunting-query results to Deleted Items. [MoveEmailsToInbox <IMicrosoftGraphSecurityEmailAction[]>]: Email actions that move messages identified in the hunting-query results to the Inbox. [MoveEmailsToJunk <IMicrosoftGraphSecurityEmailAction[]>]: Email actions that move messages identified in the hunting-query results to Junk Email. [RestrictAppExecutions <IMicrosoftGraphSecurityDeviceAction[]>]: Device actions that restrict app execution on devices identified in the hunting-query results. [RunAntivirusScans <IMicrosoftGraphSecurityDeviceAction[]>]: Device actions that run antivirus scans on devices identified in the hunting-query results. [SoftDeleteEmails <IMicrosoftGraphSecurityEmailAction[]>]: Email actions that soft-delete messages identified in the hunting-query results. [StopAndQuarantineFiles <IMicrosoftGraphSecurityStopAndQuarantineFileAction[]>]: File actions that stop running files and quarantine them on devices identified in the hunting-query results. [DeviceIdColumn <String>]: Name of the hunting-query result column that contains the device ID for the device where the file was observed. [Sha1Column <String>]: Name of the hunting-query result column that contains the SHA-1 hash of the file to stop and quarantine. [OrganizationalScope <IMicrosoftGraphSecurityOrganizationalScope>]: organizationalScope [(Any) <Object>]: This indicates any property can be added to this object. [DeviceGroups <String[]>]: List of device groups to which the custom detection rule applies. [ScopeNames <String[]>]: List of groups to which the custom detection rule applies. Deprecated. Use deviceGroups instead. This property will be removed from this resource on October 1, 2026. [ScopeType <String>]: scopeType [DetectorId <String>]: Internal detector identifier. Deprecated. This property will be removed from this resource on 2026-10-01. [DisplayName <String>]: The display name of the rule. Supports $filter (eq, ne, not, in, startsWith, endsWith, contains) and $orderby. [IsEnabled <Boolean?>]: Indicates whether the rule is turned on for the tenant. Supports $filter (eq, ne, not). Deprecated. Use status instead. This property will be removed from this resource on 2026-10-01. [LastModifiedBy <String>]: Name of the user or application that last updated the rule. Read-only. Supports $filter (eq, ne, not, in, startsWith, endsWith, contains). [LastModifiedDateTime <DateTime?>]: Timestamp of when the rule was last updated. Read-only. Supports $filter (eq, ne, not, le, ge, lt, gt) and $orderby. [LastRunDetails <IMicrosoftGraphSecurityRunDetails>]: runDetails [(Any) <Object>]: This indicates any property can be added to this object. [ErrorCode <String>]: huntingRuleErrorCode [FailureReason <String>]: Reason for failure when the custom detection last ran and failed. See the table below. [LastRunDateTime <DateTime?>]: Timestamp when the custom detection was last run. [Status <String>]: huntingRuleRunStatus [QueryCondition <IMicrosoftGraphSecurityQueryCondition>]: queryCondition [(Any) <Object>]: This indicates any property can be added to this object. [LastModifiedDateTime <DateTime?>]: Timestamp of when the query in the custom detection rule was last updated. Deprecated. This property will be removed from this resource on 2026-10-01. [QueryText <String>]: Contents of the query. [Schedule <IMicrosoftGraphSecurityRuleSchedule>]: ruleSchedule [(Any) <Object>]: This indicates any property can be added to this object. [Frequency <TimeSpan?>]: The recurring time interval at which the rule runs (ISO 8601 duration, for example P1D for daily, PT1H for hourly). [NextRunDateTime <DateTime?>]: Timestamp of the custom detection rule's next scheduled run. Deprecated. This property will be removed from this resource on 2026-10-01. [Period <String>]: How often the detection rule is set to run. The allowed values are: 0, 1H, 3H, 12H, or 24H. 0 signifies the rule is run continuously. Deprecated. Use frequency instead. This property will be removed from this resource on 2026-10-01. [Status <String>]: detectionRuleStatus

DETECTIONACTION <IMicrosoftGraphSecurityDetectionAction>: detectionAction [(Any) <Object>]: This indicates any property can be added to this object. [AlertTemplate <IMicrosoftGraphSecurityAlertTemplate>]: alertTemplate [(Any) <Object>]: This indicates any property can be added to this object. [Category <String>]: Indicates the category assigned to the alert triggered by the custom detection rule. Deprecated. Use tactics instead. This property will be removed from this resource on 2026-10-01. [CustomDetails <IMicrosoftGraphSecurityAlertCustomDetails>]: alertCustomDetails [(Any) <Object>]: This indicates any property can be added to this object. [Description <String>]: Description of the alert triggered by the custom detection rule. [EntityMappings <IMicrosoftGraphSecurityEntityMappingConfiguration>]: entityMappingConfiguration [(Any) <Object>]: This indicates any property can be added to this object. [Accounts <IMicrosoftGraphSecurityAccountEntityMapping[]>]: Mappings from detection query columns to account entities attached to the alert. [AadUserIdColumn <String>]: Name of the detection query column that maps to the Microsoft Entra user ID of the alert entity. [DnsDomainColumn <String>]: Name of the detection query column that maps to the DNS domain of the alert entity. [NameColumn <String>]: Name of the detection query column that maps to the name of the alert entity. [NtDomainColumn <String>]: Name of the detection query column that maps to the NT domain of the alert entity. [SidColumn <String>]: Name of the detection query column that maps to the security identifier (SID) of the alert entity. [UpnColumn <String>]: Name of the detection query column that maps to the user principal name (UPN) of the alert entity. [UpnSuffixColumn <String>]: Name of the detection query column that maps to the UPN suffix of the alert entity. [AmazonResources <IMicrosoftGraphSecurityAmazonResourceEntityMapping[]>]: Mappings from detection query columns to Amazon Web Services resource entities attached to the alert. [AmazonResourceIdColumn <String>]: Name of the detection query column that maps to the Amazon resource ID of the alert entity. [AzureResources <IMicrosoftGraphSecurityAzureResourceEntityMapping[]>]: Mappings from detection query columns to Azure resource entities attached to the alert. [ResourceIdColumn <String>]: Name of the detection query column that maps to the resource ID of the alert entity. [CloudApplications <IMicrosoftGraphSecurityCloudApplicationEntityMapping[]>]: Mappings from detection query columns to cloud application entities attached to the alert. [AppIdColumn <String>]: Name of the detection query column that maps to the application ID of the alert entity. [NameColumn <String>]: Name of the detection query column that maps to the name of the alert entity. [Dns <IMicrosoftGraphSecurityDnsEntityMapping[]>]: Mappings from detection query columns to DNS entities attached to the alert. [DomainNameColumn <String>]: Name of the detection query column that maps to the domain name of the alert entity. [HostIPAddressColumn <String>]: Name of the detection query column that maps to the host IP address of the alert entity. [ServerIPColumn <String>]: Name of the detection query column that maps to the server IP address of the alert entity. [Files <IMicrosoftGraphSecurityFileEntityMapping[]>]: Mappings from detection query columns to file entities attached to the alert. [NameColumn <String>]: Name of the detection query column that maps to the name of the alert entity. [Sha1Column <String>]: Name of the detection query column that maps to the SHA-1 hash of the alert entity. [Sha256Column <String>]: Name of the detection query column that maps to the SHA-256 hash of the alert entity. [GoogleCloudResources <IMicrosoftGraphSecurityGoogleCloudResourceEntityMapping[]>]: Mappings from detection query columns to Google Cloud resource entities attached to the alert. [FullResourceNameColumn <String>]: Name of the detection query column that maps to the full resource name of the alert entity. [Hosts <IMicrosoftGraphSecurityHostEntityMapping[]>]: Mappings from detection query columns to host entities attached to the alert. [DeviceIdColumn <String>]: Name of the detection query column that maps to the device ID of the alert entity. [DnsDomainColumn <String>]: Name of the detection query column that maps to the DNS domain of the alert entity. [NameColumn <String>]: Name of the detection query column that maps to the name of the alert entity. [NetBiosNameColumn <String>]: Name of the detection query column that maps to the NetBIOS name of the alert entity. [NtDomainColumn <String>]: Name of the detection query column that maps to the NT domain of the alert entity. [Ips <IMicrosoftGraphSecurityIPEntityMapping[]>]: Mappings from detection query columns to IP address entities attached to the alert. [AddressColumn <String>]: Name of the detection query column that maps to the IP address of the alert entity. [ScopeColumn <String>]: Name of the detection query column that maps to the scope of the alert entity. [MailClusters <IMicrosoftGraphSecurityMailClusterEntityMapping[]>]: Mappings from detection query columns to mail cluster entities attached to the alert. [QueryColumn <String>]: Name of the detection query column that maps to the query of the alert entity. [SourceColumn <String>]: Name of the detection query column that maps to the source of the alert entity. [MailMessages <IMicrosoftGraphSecurityMailMessageEntityMapping[]>]: Mappings from detection query columns to mail message entities attached to the alert. [NetworkMessageIdColumn <String>]: Name of the detection query column that maps to the network message ID of the alert entity. [RecipientColumn <String>]: Name of the detection query column that maps to the recipient of the alert entity. [SenderColumn <String>]: Name of the detection query column that maps to the sender of the alert entity. [SubjectColumn <String>]: Name of the detection query column that maps to the subject of the alert entity. [Mailboxes <IMicrosoftGraphSecurityMailboxEntityMapping[]>]: Mappings from detection query columns to mailbox entities attached to the alert. [PrimaryAddressColumn <String>]: Name of the detection query column that maps to the primary email address of the alert entity. [OAuthApplications <IMicrosoftGraphSecurityOAuthApplicationEntityMapping[]>]: Mappings from detection query columns to OAuth application entities attached to the alert. [OAuthAppIdColumn <String>]: Name of the detection query column that maps to the OAuth application ID of the alert entity. [Processes <IMicrosoftGraphSecurityProcessEntityMapping[]>]: Mappings from detection query columns to process entities attached to the alert. [Sha1Column <String>]: Name of the detection query column that maps to the SHA-1 hash of the alert entity. [Sha256Column <String>]: Name of the detection query column that maps to the SHA-256 hash of the alert entity. [RegistryValues <IMicrosoftGraphSecurityRegistryValueEntityMapping[]>]: Mappings from detection query columns to registry value entities attached to the alert. [KeyColumn <String>]: Name of the detection query column that maps to the registry key of the alert entity. [ValueNameColumn <String>]: Name of the detection query column that maps to the value name of the alert entity. [SecurityGroups <IMicrosoftGraphSecurityGroupEntityMapping[]>]: Mappings from detection query columns to security group entities attached to the alert. [DistinguishedNameColumn <String>]: Name of the detection query column that maps to the distinguished name of the alert entity. [ObjectIdColumn <String>]: Name of the detection query column that maps to the object ID of the alert entity. [SidColumn <String>]: Name of the detection query column that maps to the security identifier (SID) of the alert entity. [Urls <IMicrosoftGraphSecurityUrlEntityMapping[]>]: Mappings from detection query columns to URL entities attached to the alert. [AddressColumn <String>]: Name of the detection query column that maps to the URL address of the alert entity. [ImpactedAssets <IMicrosoftGraphSecurityImpactedAsset[]>]: Indicates the impacted assets for the alert triggered by the custom detection rule. Deprecated. Use entityMappings instead. This property will be removed from this resource on 2026-10-01. [MitreTechniques <String[]>]: Indicates the MITRE techniques assigned to the alert triggered by the custom detection rule. Deprecated. Use tactics instead. This property will be removed from this resource on 2026-10-01. [RecommendedActions <String>]: Recommended actions to mitigate the threat related to the alert triggered by the custom detection rule. [Severity <String>]: alertSeverity [Tactics <IMicrosoftGraphSecurityMitreTactic[]>]: The MITRE ATT&CK tactics framing for this alert. [Tactic <String>]: The MITRE tactic identifier, for example, Exploit. [Techniques <IMicrosoftGraphSecurityMitreTechnique[]>]: The techniques observed within this tactic. [SubTechniques <String[]>]: The MITRE ATT&CK subtechnique identifiers that are associated with this technique, for example, T1059.001. [Technique <String>]: The MITRE ATT&CK technique identifier, for example, T1059. [Title <String>]: Name of the alert triggered by the custom detection rule. [AutomatedActions <IMicrosoftGraphSecurityAutomatedActionSet>]: automatedActionSet [(Any) <Object>]: This indicates any property can be added to this object. [AllowFiles <IMicrosoftGraphSecurityFileAction[]>]: File actions that allow files identified by file hash columns in the hunting-query results. [DeviceGroupNames <String[]>]: Names of the device groups where the file action applies. [Sha1Column <String>]: Name of the hunting-query result column that contains the SHA-1 hash of the targeted file. [Sha256Column <String>]: Name of the hunting-query result column that contains the SHA-256 hash of the targeted file. [BlockFiles <IMicrosoftGraphSecurityFileAction[]>]: File actions that block files identified by file hash columns in the hunting-query results. [CollectInvestigationPackages <IMicrosoftGraphSecurityDeviceAction[]>]: Device actions that collect investigation packages from devices identified in the hunting-query results. [DeviceIdColumn <String>]: Name of the hunting-query result column that contains the device ID for the targeted device. [DisableUsers <IMicrosoftGraphSecurityAccountSidAction[]>]: Account actions that disable users identified by account SID columns in the hunting-query results. [AccountSidColumn <String>]: Name of the hunting-query result column that contains the SID of the targeted account. [ForceUserPasswordResets <IMicrosoftGraphSecurityAccountSidAction[]>]: Account actions that force password resets for users identified by account SID columns in the hunting-query results. [HardDeleteEmails <IMicrosoftGraphSecurityEmailAction[]>]: Email actions that permanently delete messages identified in the hunting-query results. [NetworkMessageIdColumn <String>]: Name of the hunting-query result column that contains the network message ID of the targeted email message. [RecipientColumn <String>]: Name of the hunting-query result column that contains the recipient of the targeted email message. [InitiateInvestigations <IMicrosoftGraphSecurityDeviceAction[]>]: Device actions that initiate investigations on devices identified in the hunting-query results. [IsolateDevices <IMicrosoftGraphSecurityIsolateDeviceAction[]>]: Device actions that isolate devices identified in the hunting-query results. [DeviceIdColumn <String>]: Name of the hunting-query result column that contains the device ID for the targeted device. [IsolationType <String>]: isolationType [MarkUsersAsCompromised <IMicrosoftGraphSecurityAccountObjectIdAction[]>]: Account actions that mark users as compromised when they're identified by Microsoft Entra object ID columns in the hunting-query results. [AccountObjectIdColumn <String>]: Name of the hunting-query result column that contains the Microsoft Entra object ID of the targeted account. [MoveEmailsToDeletedItems <IMicrosoftGraphSecurityEmailAction[]>]: Email actions that move messages identified in the hunting-query results to Deleted Items. [MoveEmailsToInbox <IMicrosoftGraphSecurityEmailAction[]>]: Email actions that move messages identified in the hunting-query results to the Inbox. [MoveEmailsToJunk <IMicrosoftGraphSecurityEmailAction[]>]: Email actions that move messages identified in the hunting-query results to Junk Email. [RestrictAppExecutions <IMicrosoftGraphSecurityDeviceAction[]>]: Device actions that restrict app execution on devices identified in the hunting-query results. [RunAntivirusScans <IMicrosoftGraphSecurityDeviceAction[]>]: Device actions that run antivirus scans on devices identified in the hunting-query results. [SoftDeleteEmails <IMicrosoftGraphSecurityEmailAction[]>]: Email actions that soft-delete messages identified in the hunting-query results. [StopAndQuarantineFiles <IMicrosoftGraphSecurityStopAndQuarantineFileAction[]>]: File actions that stop running files and quarantine them on devices identified in the hunting-query results. [DeviceIdColumn <String>]: Name of the hunting-query result column that contains the device ID for the device where the file was observed. [Sha1Column <String>]: Name of the hunting-query result column that contains the SHA-1 hash of the file to stop and quarantine. [OrganizationalScope <IMicrosoftGraphSecurityOrganizationalScope>]: organizationalScope [(Any) <Object>]: This indicates any property can be added to this object. [DeviceGroups <String[]>]: List of device groups to which the custom detection rule applies. [ScopeNames <String[]>]: List of groups to which the custom detection rule applies. Deprecated. Use deviceGroups instead. This property will be removed from this resource on October 1, 2026. [ScopeType <String>]: scopeType

INPUTOBJECT <ISecurityIdentity>: Identity Parameter [ActivityId <String>]: The unique identifier of activity [AggregatedEnvironmentKind <String>]: The unique identifier of aggregatedEnvironment [AlertId <String>]: The unique identifier of alert [AnalyzedEmailId <String>]: The unique identifier of analyzedEmail [ArticleId <String>]: The unique identifier of article [ArticleIndicatorId <String>]: The unique identifier of articleIndicator [AttachmentId <String>]: The unique identifier of attachment [AttackSimulationOperationId <String>]: The unique identifier of attackSimulationOperation [AuditLogQueryId <String>]: The unique identifier of auditLogQuery [AuditLogRecordId <String>]: The unique identifier of auditLogRecord [AuthoredNoteId <String>]: The unique identifier of authoredNote [AuthorityTemplateId <String>]: The unique identifier of authorityTemplate [CaseId <String>]: The unique identifier of case [CaseOperationId <String>]: The unique identifier of caseOperation [CaseTypeConfigurationId <String>]: The unique identifier of caseTypeConfiguration [CategoryTemplateId <String>]: The unique identifier of categoryTemplate [CitationTemplateId <String>]: The unique identifier of citationTemplate [CloudAppDiscoveryReportId <String>]: The unique identifier of cloudAppDiscoveryReport [CloudAppSecurityProfileId <String>]: The unique identifier of cloudAppSecurityProfile [ContentFormats <String[]>]: Usage: contentFormats={contentFormats} [CustomFieldDefinitionId <String>]: The unique identifier of customFieldDefinition [CustomerInsightTenantId <String>]: The unique identifier of customerInsight [DataSourceId <String>]: The unique identifier of dataSource [DepartmentTemplateId <String>]: The unique identifier of departmentTemplate [DetectionRuleId <String>]: The unique identifier of detectionRule [DispositionReviewStageNumber <String>]: The unique identifier of dispositionReviewStage [DomainSecurityProfileId <String>]: The unique identifier of domainSecurityProfile [EdiscoveryCaseId <String>]: The unique identifier of ediscoveryCase [EdiscoveryCaseMemberId <String>]: The unique identifier of ediscoveryCaseMember [EdiscoveryCustodianId <String>]: The unique identifier of ediscoveryCustodian [EdiscoveryFileId <String>]: The unique identifier of ediscoveryFile [EdiscoveryHoldPolicyId <String>]: The unique identifier of ediscoveryHoldPolicy [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 [EmailThreatSubmissionId <String>]: The unique identifier of emailThreatSubmission [EmailThreatSubmissionPolicyId <String>]: The unique identifier of emailThreatSubmissionPolicy [EndUserNotificationDetailId <String>]: The unique identifier of endUserNotificationDetail [EndUserNotificationId <String>]: The unique identifier of endUserNotification [EnvironmentId <String>]: The unique identifier of environment [EvaluationId <String>]: The unique identifier of evaluation [FilePlanReferenceTemplateId <String>]: The unique identifier of filePlanReferenceTemplate [FileSecurityProfileId <String>]: The unique identifier of fileSecurityProfile [FileThreatSubmissionId <String>]: The unique identifier of fileThreatSubmission [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 [HostSecurityProfileId <String>]: The unique identifier of hostSecurityProfile [HostSslCertificateId <String>]: The unique identifier of hostSslCertificate [HostTrackerId <String>]: The unique identifier of hostTracker [IPSecurityProfileId <String>]: The unique identifier of ipSecurityProfile [IdentityAccountsId <String>]: The unique identifier of identityAccounts [IncidentId <String>]: The unique identifier of incident [IncidentTaskId <String>]: The unique identifier of incidentTask [IntelligenceProfileId <String>]: The unique identifier of intelligenceProfile [IntelligenceProfileIndicatorId <String>]: The unique identifier of intelligenceProfileIndicator [LabelIds <String[]>]: Usage: labelIds={labelIds} [LandingPageDetailId <String>]: The unique identifier of landingPageDetail [LandingPageId <String>]: The unique identifier of landingPage [Locale <String>]: Usage: locale='{locale}' [LoginPageId <String>]: The unique identifier of loginPage [PartnerSecurityAlertId <String>]: The unique identifier of partnerSecurityAlert [PassiveDnsRecordId <String>]: The unique identifier of passiveDnsRecord [PayloadId <String>]: The unique identifier of payload [PluginName <String>]: The unique identifier of plugin [PolicyFileId <String>]: The unique identifier of policyFile [PromptId <String>]: The unique identifier of prompt [ProviderTenantSettingId <String>]: The unique identifier of providerTenantSetting [Query <String>]: Usage: query='{query}' [RelationId <String>]: The unique identifier of relation [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 [SecurityActionId <String>]: The unique identifier of securityAction [SecurityRequirementId <String>]: The unique identifier of securityRequirement [SecurityScoreHistoryId <String>]: The unique identifier of securityScoreHistory [SensitivityLabelId <String>]: The unique identifier of sensitivityLabel [SensitivityLabelId1 <String>]: The unique identifier of sensitivityLabel [SensorCandidateId <String>]: The unique identifier of sensorCandidate [SensorId <String>]: The unique identifier of sensor [SensorMigrationId <String>]: The unique identifier of sensorMigration [SessionId <String>]: The unique identifier of session [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 [StatusDefinitionId <String>]: The unique identifier of statusDefinition [SubcategoryTemplateId <String>]: The unique identifier of subcategoryTemplate [SubdomainId <String>]: The unique identifier of subdomain [SubjectRightsRequestId <String>]: The unique identifier of subjectRightsRequest [TaskId <String>]: The unique identifier of task [TiIndicatorId <String>]: The unique identifier of tiIndicator [TrainingCampaignId <String>]: The unique identifier of trainingCampaign [TrainingId <String>]: The unique identifier of training [TrainingLanguageDetailId <String>]: The unique identifier of trainingLanguageDetail [UnifiedGroupSourceId <String>]: The unique identifier of unifiedGroupSource [UrlThreatSubmissionId <String>]: The unique identifier of urlThreatSubmission [UserId <String>]: The unique identifier of user [UserPrincipalName <String>]: Alternate key of user [UserSecurityProfileId <String>]: The unique identifier of userSecurityProfile [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 [WorkspaceId <String>]: The unique identifier of workspace [ZoneId <String>]: The unique identifier of zone

LASTRUNDETAILS <IMicrosoftGraphSecurityRunDetails>: runDetails [(Any) <Object>]: This indicates any property can be added to this object. [ErrorCode <String>]: huntingRuleErrorCode [FailureReason <String>]: Reason for failure when the custom detection last ran and failed. See the table below. [LastRunDateTime <DateTime?>]: Timestamp when the custom detection was last run. [Status <String>]: huntingRuleRunStatus

QUERYCONDITION <IMicrosoftGraphSecurityQueryCondition>: queryCondition [(Any) <Object>]: This indicates any property can be added to this object. [LastModifiedDateTime <DateTime?>]: Timestamp of when the query in the custom detection rule was last updated. Deprecated. This property will be removed from this resource on 2026-10-01. [QueryText <String>]: Contents of the query.

SCHEDULE <IMicrosoftGraphSecurityRuleSchedule>: ruleSchedule [(Any) <Object>]: This indicates any property can be added to this object. [Frequency <TimeSpan?>]: The recurring time interval at which the rule runs (ISO 8601 duration, for example P1D for daily, PT1H for hourly). [NextRunDateTime <DateTime?>]: Timestamp of the custom detection rule's next scheduled run. Deprecated. This property will be removed from this resource on 2026-10-01. [Period <String>]: How often the detection rule is set to run. The allowed values are: 0, 1H, 3H, 12H, or 24H. 0 signifies the rule is run continuously. Deprecated. Use frequency instead. This property will be removed from this resource on 2026-10-01.