Share via


az security regulatory-compliance-assessments

Regulatory compliance assessments.

Commands

Name Description Type Status
az security regulatory-compliance-assessments list

Get details and state of assessments mapped to selected regulatory compliance control.

Core GA
az security regulatory-compliance-assessments show

Shows supported regulatory compliance details and state for selected assessment.

Core GA

az security regulatory-compliance-assessments list

Get details and state of assessments mapped to selected regulatory compliance control.

az security regulatory-compliance-assessments list --control-name
                                                   --standard-name

Examples

Get state of mapped assessments.

az security regulatory-compliance-assessments list --standard-name 'Azure-CIS-1.1.0' --control-name '1.1'

Required Parameters

--control-name

The compliance control name.

--standard-name

The compliance standard name.

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 regulatory-compliance-assessments show

Shows supported regulatory compliance details and state for selected assessment.

az security regulatory-compliance-assessments show --control-name
                                                   --name
                                                   --standard-name

Examples

Get selected regulatory compliance control details and state.

az security regulatory-compliance-assessments show --standard-name 'Azure-CIS-1.1.0' --control-name '1.1' -n '94290b00-4d0c-d7b4-7cea-064a9554e681'

Required Parameters

--control-name

The compliance control name.

--name -n

Name of the resource to be fetched.

--standard-name

The compliance standard name.

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.