vw_reports
Creates, updates, deletes, gets or lists a vw_reports
resource.
Overview
Name | vw_reports |
Type | View |
Id | azure_extras.app_compliance_automation.vw_reports |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
JSON_EXTRACT(properties, '$.triggerTime') as "trigger_time",
JSON_EXTRACT(properties, '$.timeZone') as "time_zone",
JSON_EXTRACT(properties, '$.resources') as "resources",
JSON_EXTRACT(properties, '$.status') as "status",
JSON_EXTRACT(properties, '$.errors') as "errors",
JSON_EXTRACT(properties, '$.tenantId') as "tenant_id",
JSON_EXTRACT(properties, '$.offerGuid') as "offer_guid",
JSON_EXTRACT(properties, '$.nextTriggerTime') as "next_trigger_time",
JSON_EXTRACT(properties, '$.lastTriggerTime') as "last_trigger_time",
JSON_EXTRACT(properties, '$.subscriptions') as "subscriptions",
JSON_EXTRACT(properties, '$.complianceStatus') as "compliance_status",
JSON_EXTRACT(properties, '$.storageInfo') as "storage_info",
JSON_EXTRACT(properties, '$.certRecords') as "cert_records",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
reportName
FROM azure_extras.app_compliance_automation.reports
WHERE reportName = 'replace-me';
SELECT
json_extract_path_text(properties, '$.triggerTime') as "trigger_time",
json_extract_path_text(properties, '$.timeZone') as "time_zone",
json_extract_path_text(properties, '$.resources') as "resources",
json_extract_path_text(properties, '$.status') as "status",
json_extract_path_text(properties, '$.errors') as "errors",
json_extract_path_text(properties, '$.tenantId') as "tenant_id",
json_extract_path_text(properties, '$.offerGuid') as "offer_guid",
json_extract_path_text(properties, '$.nextTriggerTime') as "next_trigger_time",
json_extract_path_text(properties, '$.lastTriggerTime') as "last_trigger_time",
json_extract_path_text(properties, '$.subscriptions') as "subscriptions",
json_extract_path_text(properties, '$.complianceStatus') as "compliance_status",
json_extract_path_text(properties, '$.storageInfo') as "storage_info",
json_extract_path_text(properties, '$.certRecords') as "cert_records",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
reportName
FROM azure_extras.app_compliance_automation.reports
WHERE reportName = 'replace-me';