compliances
Creates, updates, deletes, gets or lists a compliances
resource.
Overview
Name | compliances |
Type | Resource |
Id | azure.security.compliances |
Fields
- vw_compliances
- compliances
Name | Datatype | Description |
---|---|---|
id | text | Resource Id |
name | text | Resource name |
assessment_result | text | field from the properties object |
assessment_timestamp_utc_date | text | field from the properties object |
complianceName | text | field from the properties object |
resource_count | text | field from the properties object |
scope | text | field from the properties object |
type | text | Resource type |
Name | Datatype | Description |
---|---|---|
id | string | Resource Id |
name | string | Resource name |
properties | object | The Compliance score (percentage) of a Subscription is a sum of all Resources' Compliances under the given Subscription. A Resource Compliance is defined as the compliant ('healthy') Policy Definitions out of all Policy Definitions applicable to a given resource. |
type | string | Resource type |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | complianceName, scope | Details of a specific Compliance. |
list | SELECT | scope | The Compliance scores of the specific management group. |
SELECT
examples
The Compliance scores of the specific management group.
- vw_compliances
- compliances
SELECT
id,
name,
assessment_result,
assessment_timestamp_utc_date,
complianceName,
resource_count,
scope,
type
FROM azure.security.vw_compliances
WHERE scope = '{{ scope }}';
SELECT
id,
name,
properties,
type
FROM azure.security.compliances
WHERE scope = '{{ scope }}';