CmdID

CmdID / az / az security / az security va / az security va sql / az security va sql scans

az security va sql scans show

Get the scan details of a single scan record. Azure CLI reference

2 examples 3 options Its page in the Azure CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

Show scan details for a given scan id on an Azure SQL database.

az security va sql scans show --resource-id /subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Sql/servers/{server}/databases/{db} --scan-id Scan_2026-01-01T00-00-00ZIdentify
--resource-idThe fully qualified Azure Resource manager identifier of the resource.
--scan-idThe scan Id.

Show scan details on a SQL DB hosted on an Azure virtual machine.

az security va sql scans show --resource-id /subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Compute/virtualMachines/{vm} --database-name MyDb --scan-id Scan_2026-01-01T00-00-00ZIdentify
--resource-idThe fully qualified Azure Resource manager identifier of the resource.
--database-nameThe name of the database to assess.
--scan-idThe scan Id.

Options

3 in the Azure CLI reference
--database-nameThe name of the database to assess.
--resource-idThe fully qualified Azure Resource manager identifier of the resource.
--scan-idThe scan Id.