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 target resource for this assessment.
Name of the assessment resource.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
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
Name of the assessment resource.
Name of the resource to be fetched.
Optional Parameters
The target resource for this assessment.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.