vw_snapshots
Creates, updates, deletes, gets or lists a vw_snapshots
resource.
Overview
Name | vw_snapshots |
Type | View |
Id | azure_extras.app_compliance_automation.vw_snapshots |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
JSON_EXTRACT(properties, '$.snapshotName') as "snapshot_name",
JSON_EXTRACT(properties, '$.createdAt') as "created_at",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.reportProperties') as "report_properties",
JSON_EXTRACT(properties, '$.reportSystemData') as "report_system_data",
JSON_EXTRACT(properties, '$.complianceResults') as "compliance_results",
reportName,
snapshotName
FROM azure_extras.app_compliance_automation.snapshots
WHERE reportName = 'replace-me';
SELECT
json_extract_path_text(properties, '$.snapshotName') as "snapshot_name",
json_extract_path_text(properties, '$.createdAt') as "created_at",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
json_extract_path_text(properties, '$.reportProperties') as "report_properties",
json_extract_path_text(properties, '$.reportSystemData') as "report_system_data",
json_extract_path_text(properties, '$.complianceResults') as "compliance_results",
reportName,
snapshotName
FROM azure_extras.app_compliance_automation.snapshots
WHERE reportName = 'replace-me';