Skip to main content

health_reports

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

Overview

Namehealth_reports
TypeResource
Idazure.security.health_reports

Fields

NameDatatypeDescription
idtextResource Id
nametextResource name
affected_defenders_planstextfield from the properties object
affected_defenders_sub_planstextfield from the properties object
environment_detailstextfield from the properties object
healthReportNametextfield from the properties object
health_data_classificationtextfield from the properties object
issuestextfield from the properties object
report_additional_datatextfield from the properties object
resourceIdtextfield from the properties object
resource_detailstextfield from the properties object
scopetextfield from the properties object
statustextfield from the properties object
typetextResource type

Methods

NameAccessible byRequired ParamsDescription
getSELECThealthReportName, resourceIdGet health report of resource
listSELECTscopeGet a list of all health reports inside a scope. Valid scopes are: subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'

SELECT examples

Get a list of all health reports inside a scope. Valid scopes are: subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'

SELECT
id,
name,
affected_defenders_plans,
affected_defenders_sub_plans,
environment_details,
healthReportName,
health_data_classification,
issues,
report_additional_data,
resourceId,
resource_details,
scope,
status,
type
FROM azure.security.vw_health_reports
WHERE scope = '{{ scope }}';