vw_health_reports
Creates, updates, deletes, gets or lists a vw_health_reports
resource.
Overview
Name | vw_health_reports |
Type | View |
Id | azure.security.vw_health_reports |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
id as id,
name as name,
type as type,
systemData as system_data,
JSON_EXTRACT(properties, '$.resourceDetails') as "resource_details",
JSON_EXTRACT(properties, '$.environmentDetails') as "environment_details",
JSON_EXTRACT(properties, '$.healthDataClassification') as "health_data_classification",
JSON_EXTRACT(properties, '$.status') as "status",
JSON_EXTRACT(properties, '$.affectedDefendersPlans') as "affected_defenders_plans",
JSON_EXTRACT(properties, '$.affectedDefendersSubPlans') as "affected_defenders_sub_plans",
JSON_EXTRACT(properties, '$.reportAdditionalData') as "report_additional_data",
JSON_EXTRACT(properties, '$.issues') as "issues",
resourceId,
healthReportName,
scope
FROM azure.security.health_reports
WHERE scope = 'replace-me';
SELECT
id as id,
name as name,
type as type,
systemData as system_data,
json_extract_path_text(properties, '$.resourceDetails') as "resource_details",
json_extract_path_text(properties, '$.environmentDetails') as "environment_details",
json_extract_path_text(properties, '$.healthDataClassification') as "health_data_classification",
json_extract_path_text(properties, '$.status') as "status",
json_extract_path_text(properties, '$.affectedDefendersPlans') as "affected_defenders_plans",
json_extract_path_text(properties, '$.affectedDefendersSubPlans') as "affected_defenders_sub_plans",
json_extract_path_text(properties, '$.reportAdditionalData') as "report_additional_data",
json_extract_path_text(properties, '$.issues') as "issues",
resourceId,
healthReportName,
scope
FROM azure.security.health_reports
WHERE scope = 'replace-me';