-
Notifications
You must be signed in to change notification settings - Fork 82
Get AzSentinelAlertRuleAction
Pouyan Khabazi edited this page Sep 21, 2020
·
2 revisions
Get Azure Sentinel Alert rule Action
Get-AzSentinelAlertRuleAction [-SubscriptionId <String>] -WorkspaceName <String> [-RuleName <String>]
[-RuleId <String>] [<CommonParameters>]
This function can be used to see if an action is attached to the alert rule, if so then the configuration will be returned
Get-AzSentinelAlertRuleAction -WorkspaceName "" -RuleName "testrule01"
This example will get the Workspace ands return the full data object
Enter the subscription ID, if no subscription ID is provided then current AZContext subscription will be used
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Enter the Workspace name
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Enter the name of the Alert rule
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Enter the Rule Id to skip Get-AzSentinelAlertRule step
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
NAME: Get-AzSentinelAlertRuleAction