Skip to main content

sql_pool_vulnerability_assessment_scans

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

Overview

Namesql_pool_vulnerability_assessment_scans
TypeResource
Idazure.synapse.sql_pool_vulnerability_assessment_scans

Fields

NameDatatypeDescription
end_timetextfield from the properties object
errorstextfield from the properties object
number_of_failed_security_checkstextfield from the properties object
resourceGroupNametextfield from the properties object
scanIdtextfield from the properties object
scan_idtextfield from the properties object
sqlPoolNametextfield from the properties object
start_timetextfield from the properties object
statetextfield from the properties object
storage_container_pathtextfield from the properties object
subscriptionIdtextfield from the properties object
trigger_typetextfield from the properties object
vulnerabilityAssessmentNametextfield from the properties object
workspaceNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, scanId, sqlPoolName, subscriptionId, vulnerabilityAssessmentName, workspaceNameGets a vulnerability assessment scan record of a Sql pool.
listSELECTresourceGroupName, sqlPoolName, subscriptionId, vulnerabilityAssessmentName, workspaceNameLists the vulnerability assessment scans of a SQL pool.
exportEXECresourceGroupName, scanId, sqlPoolName, subscriptionId, vulnerabilityAssessmentName, workspaceNameConvert an existing scan result to a human readable format. If already exists nothing happens
initiate_scanEXECresourceGroupName, scanId, sqlPoolName, subscriptionId, vulnerabilityAssessmentName, workspaceNameExecutes a Vulnerability Assessment database scan.

SELECT examples

Lists the vulnerability assessment scans of a SQL pool.

SELECT
end_time,
errors,
number_of_failed_security_checks,
resourceGroupName,
scanId,
scan_id,
sqlPoolName,
start_time,
state,
storage_container_path,
subscriptionId,
trigger_type,
vulnerabilityAssessmentName,
workspaceName
FROM azure.synapse.vw_sql_pool_vulnerability_assessment_scans
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND sqlPoolName = '{{ sqlPoolName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vulnerabilityAssessmentName = '{{ vulnerabilityAssessmentName }}'
AND workspaceName = '{{ workspaceName }}';