CmdID

CmdID / az / az security / az security va / az security va sql / az security va sql results

az security va sql results list

List a list of scan results for 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

List all scan results for a given scan id on an Azure SQL database.

az security va sql results list --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.

List scan results on a SQL DB hosted on an Azure virtual machine.

az security va sql results list --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.