שתף באמצעות


az security workspace-setting

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

Commands

Name Description Type Status
az security workspace-setting create

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

Core GA
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.

Core GA
az security workspace-setting list

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

Core GA
az security workspace-setting show

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

Core GA

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

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.

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

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.

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

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

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.

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.