CmdID / az / az security / az security assessment
az security assessment create
Creates a customer managed security assessment. Azure CLI reference
1 example 4 options Its page in the Azure CLI reference
Examples
Creates a security assessment.
az security assessment create -n '4fb6c0a0-1137-42c7-a1c7-4bd37c91de8d' --status-code 'unhealthy'Identify-nname of the resource to be fetched--status-codeProgrammatic code for the result of the assessment.Options
--additional-dataData that is attached to the assessment result for better investigations or status clarity--status-causeProgrammatic code for the cause of the assessment result--status-codeProgrammatic code for the result of the assessment.--status-descriptionHuman readable description of the cause of the assessment result