Share via


az security automation-scope

Creates security automation scope.

Commands

Name Description Type Status
az security automation-scope create

Creates security automation scope.

Core GA

az security automation-scope create

Creates security automation scope.

az security automation-scope create --description
                                    --scope-path

Examples

Creates security automation scope.

az security automation-scope create --description 'this is a sample description' --scope-path '/subscriptions/03b601f1-7eca-4496-8f8d-355219eee254/'

Required Parameters

--description

The resources scope description.

--scope-path

The resources scope path. Can be the subscription on which the automation is defined on or a resource group under that subscription (fully qualified Azure resource IDs).

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.