CmdID

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

az security va sql scans initiate-scan

Initiates a vulnerability assessment scan. Azure CLI reference

2 examples 2 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

Initiate a scan on an Azure SQL database.

az security va sql scans initiate-scan --resource-id /subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Sql/servers/{server}/databases/{db}Identify
--resource-idThe fully qualified Azure Resource manager identifier of the resource.

Initiate a scan on the master database of an Azure SQL server.

az security va sql scans initiate-scan --resource-id /subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Sql/servers/{server} --database-name masterIdentify
--resource-idThe fully qualified Azure Resource manager identifier of the resource.
--database-nameThe name of the database to scan.

Options

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