az security task

View security tasks (recommendations).

Commands

az security task list

List security tasks (recommendations).

az security task show

Shows a security task (recommendation).

az security task list

List security tasks (recommendations).

az security task list [--query-examples]
                      [--resource-group]
                      [--subscription]

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

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--resource-group -g

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

--subscription

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

az security task show

Shows a security task (recommendation).

az security task show --name
                      [--query-examples]
                      [--resource-group]
                      [--subscription]

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 -n

Name of the resource to be fetched.

Optional Parameters

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--resource-group -g

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

--subscription

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