Share via


az security jit-policy

Manage your Just in Time network access policies.

Commands

Name Description Type Status
az security jit-policy list

List your Just in Time network access policies.

Core GA
az security jit-policy show

Shows a Just in Time network access policy.

Core GA

az security jit-policy list

List your Just in Time network access policies.

az security jit-policy list [--location]
                            [--resource-group]

Examples

Get all the Just in Time network access policies.

az security jit-policy list

Optional Parameters

--location -l

Location of the resource.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

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.

az security jit-policy show

Shows a Just in Time network access policy.

az security jit-policy show --location
                            --name
                            --resource-group

Examples

Get a Just in Time network access policy.

az security jit-policy show -l northeurope -n default -g myService1

Required Parameters

--location -l

Location of the resource.

--name -n

Name of the resource to be fetched.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

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.