CmdID / az / az security / az security va / az security va sql / az security va sql scans / az security va sql scans scan-operation-result
az security va sql scans scan-operation-result show
Get the result of a scan operation initiated by the InitiateScan action. Azure CLI reference
1 example 3 options Its page in the Azure CLI reference
Examples
Poll a scan operation result by its operation id on an Azure SQL database.
az security va sql scans scan-operation-result show --resource-id /subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Sql/servers/{server}/databases/{db} --operation-id 00000000-0000-0000-0000-000000000000Identify--resource-idThe fully qualified Azure Resource manager identifier of the resource.--operation-idThe operation id of the scan operation returned by 'security va sql scans initiate-scan'.Options
--database-nameThe name of the database the scan was initiated against.--operation-idThe operation id of the scan operation returned by 'security va sql scans initiate-scan'.--resource-idThe fully qualified Azure Resource manager identifier of the resource.