vw_sql_pool_vulnerability_assessment_scans
Creates, updates, deletes, gets or lists a vw_sql_pool_vulnerability_assessment_scans
resource.
Overview
Name | vw_sql_pool_vulnerability_assessment_scans |
Type | View |
Id | azure.synapse.vw_sql_pool_vulnerability_assessment_scans |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
JSON_EXTRACT(properties, '$.scanId') as "scan_id",
JSON_EXTRACT(properties, '$.triggerType') as "trigger_type",
JSON_EXTRACT(properties, '$.state') as "state",
JSON_EXTRACT(properties, '$.startTime') as "start_time",
JSON_EXTRACT(properties, '$.endTime') as "end_time",
JSON_EXTRACT(properties, '$.errors') as "errors",
JSON_EXTRACT(properties, '$.storageContainerPath') as "storage_container_path",
JSON_EXTRACT(properties, '$.numberOfFailedSecurityChecks') as "number_of_failed_security_checks",
subscriptionId,
resourceGroupName,
workspaceName,
sqlPoolName,
vulnerabilityAssessmentName,
scanId
FROM azure.synapse.sql_pool_vulnerability_assessment_scans
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND workspaceName = 'replace-me' AND sqlPoolName = 'replace-me' AND vulnerabilityAssessmentName = 'replace-me';
SELECT
json_extract_path_text(properties, '$.scanId') as "scan_id",
json_extract_path_text(properties, '$.triggerType') as "trigger_type",
json_extract_path_text(properties, '$.state') as "state",
json_extract_path_text(properties, '$.startTime') as "start_time",
json_extract_path_text(properties, '$.endTime') as "end_time",
json_extract_path_text(properties, '$.errors') as "errors",
json_extract_path_text(properties, '$.storageContainerPath') as "storage_container_path",
json_extract_path_text(properties, '$.numberOfFailedSecurityChecks') as "number_of_failed_security_checks",
subscriptionId,
resourceGroupName,
workspaceName,
sqlPoolName,
vulnerabilityAssessmentName,
scanId
FROM azure.synapse.sql_pool_vulnerability_assessment_scans
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND workspaceName = 'replace-me' AND sqlPoolName = 'replace-me' AND vulnerabilityAssessmentName = 'replace-me';