New-AzSecurityAutomationSourceObject

Creates security automation source object

Syntax

New-AzSecurityAutomationSourceObject
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
New-AzSecurityAutomationSourceObject
   -EventSource <String>
   -RuleSet <PSSecurityAutomationRuleSet[]>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

Creates security automation source object

Examples

Example 1

New-AzSecurityAutomationSourceObject -EventSource 'Assessments' -RuleSet $ruleSet

Creates security automation source object

Parameters

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-EventSource

The triggered Logic App Azure Resource ID. This can also reside on other subscriptions, given that you have permissions to trigger the Logic App

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-RuleSet

The Logic App trigger URI endpoint (it will not be included in any response)

Type:PSSecurityAutomationRuleSet[]
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

PSSecurityAutomationSource