Skip to main content

sql_vulnerability_assessment_scans

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

Overview

Namesql_vulnerability_assessment_scans
TypeResource
Idazure.security.sql_vulnerability_assessment_scans

Fields

The following fields are returned by SELECT queries:

Returns the scan record details.

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 record properties.
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, workspaceIdapi-version, resourceId
listselectworkspaceIdapi-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 record for the latest scan.
workspaceIdstringThe workspace Id.
api-versionstringThe api version.
resourceIdstringOptional filter for listing the assignments of a specific resource.

SELECT examples

Returns the scan record details.

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