az security task
View security tasks (recommendations).
Commands
Name | Description | Type | Status |
---|---|---|---|
az security task list |
List security tasks (recommendations). |
Core | GA |
az security task show |
Shows a security task (recommendation). |
Core | GA |
az security task list
List security tasks (recommendations).
az security task list [--resource-group]
Examples
Get security tasks (recommendations) on a subscription scope.
az security task list
Get security tasks (recommendations) on a resource group scope.
az security task list -g "myRg"
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |
az security task show
Shows a security task (recommendation).
az security task show --name
[--resource-group]
Examples
Get a security task (recommendation) on a subscription scope.
az security task show -n "taskName"
Get a security task (recommendation) on a resource group scope.
az security task show -g "myRg" -n "taskName"
Required Parameters
Name of the resource to be fetched.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Property | Value |
---|---|
Default value: | False |