Dijelite putem


az security sub-assessment

View your security sub assessments.

Commands

Name Description Type Status
az security sub-assessment list

List all security sub assessment results.

Core GA
az security sub-assessment show

Shows a security sub assessment.

Core GA

az security sub-assessment list

List all security sub assessment results.

az security sub-assessment list [--assessed-resource-id]
                                [--assessment-name]

Examples

Get security sub assessments.

az security sub-assessment list

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--assessed-resource-id

The target resource for this assessment.

--assessment-name

Name of the assessment resource.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--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.

Property Value
Default value: False

az security sub-assessment show

Shows a security sub assessment.

az security sub-assessment show --assessment-name
                                --name
                                [--assessed-resource-id]

Examples

Get a security sub assessment.

az security sub-assessment show --assessed-resource-id '/subscriptions/f8b197db-3b2b-4404-a3a3-0dfec293d0d0/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1' --assessment-name '4fb6c0a0-1137-42c7-a1c7-4bd37c91de8d' -n 'd7c4d9ec-227c-4fb3-acf9-25fdd97c1bf1'

Required Parameters

--assessment-name

Name of the assessment resource.

--name -n

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.

--assessed-resource-id

The target resource for this assessment.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--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.

Property Value
Default value: False