New-AzSecurityConnectorActionableRemediationObject
Create an in-memory object for ActionableRemediation.
Syntax
Default (Default)
New-AzSecurityConnectorActionableRemediationObject
[-BranchConfiguration <ITargetBranchConfiguration>]
[-CategoryConfiguration <ICategoryConfiguration[]>]
[-InheritFromParentState <String>]
[-State <String>]
[<CommonParameters>]
Description
Create an in-memory object for ActionableRemediation.
Examples
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.
Parameter properties
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-CategoryConfiguration
Gets or sets list of categories and severity levels.
Parameter properties
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-InheritFromParentState
Update Settings.
Enabled - Resource should inherit configurations from parent.
Disabled - Resource should not inherit configurations from parent.
Parameter properties
Type: String
Default value: None
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
-State
ActionableRemediation Setting.
None - the setting was never set.
Enabled - ActionableRemediation is enabled.
Disabled - ActionableRemediation is disabled.
Parameter properties
Type: String
Default value: None
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
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 .
Outputs