CmdID

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

az security va sql results show

Get the scan results of a single rule in a scan record. Azure CLI reference

2 examples 4 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 results for rule VA1234 from a given scan id on an Azure SQL database.

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

Show results for a single rule on an Arc-enabled SQL server.

az security va sql results show --resource-id /subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.HybridCompute/machines/{arc} --database-name MyDb --scan-id Scan_2026-01-01T00-00-00Z --rule-id VA1234Identify
--resource-idThe fully qualified Azure Resource manager identifier of the resource.
--database-nameThe name of the database to assess.
--scan-idThe scan Id.
--rule-idThe rule Id of the results.

Options

4 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.
--scan-result-id, --rule-idThe rule Id of the results.