az security va sql scans scan-operation-result

Command group 'az security va sql scans' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Manage Scan Operation Result.

Commands

Name Description Type Status
az security va sql scans scan-operation-result show

Get the result of a scan operation initiated by the InitiateScan action.

Core Preview

az security va sql scans scan-operation-result show

Preview

Command group 'az security va sql scans scan-operation-result' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Get the result of a scan operation initiated by the InitiateScan action.

az security va sql scans scan-operation-result show --operation-id
                                                    --resource-id
                                                    [--database-name]

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-000000000000

Required Parameters

--operation-id

The operation id of the scan operation returned by 'security va sql scans initiate-scan'.

--resource-id

The fully qualified Azure Resource manager identifier of the resource.

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--database-name

The name of the database the scan was initiated against. Required when the original scan was initiated at the server-level scope.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False