az security assessment-metadata

View your security assessment metadata.

Commands

az security assessment-metadata create

Creates a customer managed security assessment type.

az security assessment-metadata delete

Deletes a security assessment type and all it's assessment results.

az security assessment-metadata list

List all security assessment results.

az security assessment-metadata show

Shows a security assessment.

az security assessment-metadata create

Creates a customer managed security assessment type.

az security assessment-metadata create --description
                                       --display-name
                                       --name
                                       --severity
                                       [--remediation-description]
                                       [--subscription]

Examples

Creates a security assessment type.

az security assessment-metadata create -n "4fb6c0a0-1137-42c7-a1c7-4bd37c91de8d" --display-name  "Resource should be secured" --severity "high" --description "The resource should be secured according to my company security policy"

Required Parameters

--description

Detailed string that will help users to understand the assessment and how it is calculated.

--display-name

Human readable title for this object.

--name -n

Name of the resource to be fetched.

--severity

Indicates the importance of the security risk if the assessment is unhealthy.

Optional Parameters

--remediation-description

Detailed string that will help users to understand the different ways to mitigate or fix the security issue.

--subscription

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

az security assessment-metadata delete

Deletes a security assessment type and all it's assessment results.

az security assessment-metadata delete --name
                                       [--subscription]

Examples

Deletes a security assessment type.

az security assessment-metadata delete -n '4fb6c0a0-1137-42c7-a1c7-4bd37c91de8d'

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 assessment-metadata list

List all security assessment results.

az security assessment-metadata list [--query-examples]
                                     [--subscription]

Examples

Get security assessment metadata.

az security assessment-metadata 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 assessment-metadata show

Shows a security assessment.

az security assessment-metadata show --name
                                     [--query-examples]
                                     [--subscription]

Examples

Get a security assessment metadata.

az security assessment-metadata show -n '4fb6c0a0-1137-42c7-a1c7-4bd37c91de8d'

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.