Create a policy using Rego language
Rego
)Read
)input.ActorIdentifier
is equal to "my-credentials"
.
On the Rule
section, add the following code:
Validate Rule
and check that this rule is valid and would result in a non-compliant state.
Change the Sample ActorIdentifier
field to "my-credentials"
, and check that the rule is now valid and would result in a compliant state.
Submit the Rule or add a trigger to it.
reloader-webhook
)EvaluatedNonCompliant
: Fires every time the policy is evaluated as non-compliantEvaluatedCompliant
: Fires every time the policy is evaluated as compliantUpdatedToNonCompliant
: Fires only when the status transitions from compliant to non-compliantUpdatedToCompliant
: Fires only when the status transitions from non-compliant to compliantwaitForCycles = 3
with EvaluatedNonCompliant
means the policy must be non-compliant for 3 consecutive evaluations before the destination is notified.