Skip to main content

sql_vulnerability_assessment_scan_results

Creates, updates, deletes, gets or lists a sql_vulnerability_assessment_scan_results resource.

Overview

Namesql_vulnerability_assessment_scan_results
TypeResource
Idazure.security.sql_vulnerability_assessment_scan_results

Fields

The following fields are returned by SELECT queries:

Returns the scan results.

NameDatatypeDescription
idstring (arm-id)Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
namestringThe name of the resource
propertiesobjectA vulnerability assessment scan result properties for a single rule.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectscanId, scanResultId, workspaceIdapi-version, resourceId
listselectscanId, workspaceIdapi-version, resourceId

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
scanIdstringThe scan Id. Type 'latest' to get the scan results for the latest scan.
scanResultIdstringThe rule Id of the results.
workspaceIdstringThe workspace Id.
api-versionstringThe api version.
resourceIdstringOptional filter for listing the assignments of a specific resource.

SELECT examples

Returns the scan results.

SELECT
id,
name,
properties,
systemData,
type
FROM azure.security.sql_vulnerability_assessment_scan_results
WHERE scanId = '{{ scanId }}' -- required
AND scanResultId = '{{ scanResultId }}' -- required
AND workspaceId = '{{ workspaceId }}' -- required
AND api-version = '{{ api-version }}'
AND resourceId = '{{ resourceId }}'
;