PolicyInsightsPolicyStateChangedEventData interface
Schema of the Data property of an EventGridEvent for a Microsoft.PolicyInsights.PolicyStateChanged event.
Properties
compliance |
The compliance reason code. May be empty. |
compliance |
The compliance state of the resource with respect to the policy assignment. |
policy |
The resource ID of the policy assignment. |
policy |
The resource ID of the policy definition. |
policy |
The reference ID for the policy definition inside the initiative definition, if the policy assignment is for an initiative. May be empty. |
subscription |
The subscription ID of the resource. |
timestamp | The time that the resource was scanned by Azure Policy in the Universal ISO 8601 DateTime format yyyy-MM-ddTHH:mm:ss.fffffffZ. |
Property Details
complianceReasonCode
The compliance reason code. May be empty.
complianceReasonCode: string
Property Value
string
complianceState
The compliance state of the resource with respect to the policy assignment.
complianceState: string
Property Value
string
policyAssignmentId
The resource ID of the policy assignment.
policyAssignmentId: string
Property Value
string
policyDefinitionId
The resource ID of the policy definition.
policyDefinitionId: string
Property Value
string
policyDefinitionReferenceId
The reference ID for the policy definition inside the initiative definition, if the policy assignment is for an initiative. May be empty.
policyDefinitionReferenceId: string
Property Value
string
subscriptionId
The subscription ID of the resource.
subscriptionId: string
Property Value
string
timestamp
The time that the resource was scanned by Azure Policy in the Universal ISO 8601 DateTime format yyyy-MM-ddTHH:mm:ss.fffffffZ.
timestamp: string
Property Value
string