Skip to main content

Object: Policy

What is this object and why do I care about it?

The core of a Policy is an expression that satisfies the Policy Contract.

The Policy object's purpose is to perform a judgement on Observances as a critical piece of Event Processing Workflow.

Per the Policy Contract, Policies judge Observances. When an Observance fails judgement, the Policy creates a Violation.

Lifecycle

This resource can only be created/updated/deleted thru OrgFormation.

OrgFormation

Pyrae::Policy::Policy Reference

Sample:

OfnResources:
MyResource:
Type: "Pyrae::Policy::Policy"
Properties:
Name: "MyResource" # optional
ObserverUrn: "urn:pyrae:..."
OwnerTeamUrn: "urn:pyrae:..."
ExpressionType: "denov1"
ExpressionString: "..."

Pyrae Policy Engine

If you're concerned about monitoring policies in your organization, our Policy Engine can monitor your infrastructure and provide actionable alerts.

Contact Us