az security workspace-setting

Shows the workspace settings in your subscription - these settings let you control which workspace will hold your security data.

Commands

az security workspace-setting create

Creates a workspace settings in your subscription - these settings let you control which workspace will hold your security data.

az security workspace-setting delete

Deletes the workspace settings in your subscription - this will make the security events on the subscription be reported to the default workspace.

az security workspace-setting list

Shows the workspace settings in your subscription - these settings let you control which workspace will hold your security data.

az security workspace-setting show

Shows the workspace settings in your subscription - these settings let you control which workspace will hold your security data.

az security workspace-setting create

Creates a workspace settings in your subscription - these settings let you control which workspace will hold your security data.

az security workspace-setting create --name
                                     --target-workspace
                                     [--subscription]

Examples

Creates a workspace settings in your subscription - these settings let you control which workspace will hold your security data

az security workspace-setting create -n default --target-workspace '/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace'

Required Parameters

--name -n

Name of the resource to be fetched.

--target-workspace

An ID of the workspace resource that will hold the security data.

Optional Parameters

--subscription

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

az security workspace-setting delete

Deletes the workspace settings in your subscription - this will make the security events on the subscription be reported to the default workspace.

az security workspace-setting delete --name
                                     [--subscription]

Examples

Deletes the workspace settings in your subscription - this will make the security events on the subscription be reported to the default workspace

az security workspace-setting delete -n default

Required Parameters

--name -n

Name of the resource to be fetched.

Optional Parameters

--subscription

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

az security workspace-setting list

Shows the workspace settings in your subscription - these settings let you control which workspace will hold your security data.

az security workspace-setting list [--query-examples]
                                   [--subscription]

Examples

Shows the workspace settings in your subscription - these settings let you control which workspace will hold your security data

az security workspace-setting list

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.

--subscription

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

az security workspace-setting show

Shows the workspace settings in your subscription - these settings let you control which workspace will hold your security data.

az security workspace-setting show --name
                                   [--query-examples]
                                   [--subscription]

Examples

Shows the workspace settings in your subscription - these settings let you control which workspace will hold your security data

az security workspace-setting show -n default

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.

--subscription

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