New-AzSecurityConnectorActionableRemediationObject
Create an in-memory object for ActionableRemediation.
Syntax
New-AzSecurityConnectorActionableRemediationObject
[-BranchConfiguration <ITargetBranchConfiguration>]
[-CategoryConfiguration <ICategoryConfiguration[]>]
[-InheritFromParentState <String>]
[-State <String>]
[<CommonParameters>]
Description
Create an in-memory object for ActionableRemediation.
Examples
Example 1: Create new ActionableRemediation object
New-AzSecurityConnectorActionableRemediationObject -State Enabled -InheritFromParentState Disabled `
-BranchConfiguration @{AnnotateDefaultBranch="Enabled"; branchName=@("main", "hotfix")} -CategoryConfiguration @( @{category="First"; minimumSeverityLevel="High"}, @{category="Second"; minimumSeverityLevel="Low"})
BranchConfiguration : {
"branchNames": [ "main", "hotfix" ],
"annotateDefaultBranch": "Enabled"
}
CategoryConfiguration : {{
"minimumSeverityLevel": "High",
"category": "First"
}, {
"minimumSeverityLevel": "Low",
"category": "Second"
}}
InheritFromParentState : Disabled
State : Enabled
Parameters
-BranchConfiguration
Repository branch configuration for PR Annotations.
Type: | ITargetBranchConfiguration |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-CategoryConfiguration
Gets or sets list of categories and severity levels.
Type: | ICategoryConfiguration[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InheritFromParentState
Update Settings.
Enabled - Resource should inherit configurations from parent.
Disabled - Resource should not inherit configurations from parent.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-State
ActionableRemediation Setting. None - the setting was never set. Enabled - ActionableRemediation is enabled. Disabled - ActionableRemediation is disabled.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.