Skip to main content

Policy Engine

Policy Format

policy:
id: pol_example
version: 1
description: "Example policy"

applies_to:
capabilities: [capability_name]

conditions:
- field: field_name
operator: eq|neq|gt|gte|lt|lte|in|nin
value: value

actions:
on_match: allow|deny|escalate
on_violation: deny|escalate

Operators

OperatorMeaning
eqEquals
neqNot equals
gtGreater than
gteGreater than or equal
ltLess than
lteLess than or equal
inIn list
ninNot in list

Requirements

REQ-POL-001: Policies MUST be declarative.

REQ-POL-002: Policy evaluation MUST be deterministic.

REQ-POL-003: Policies MUST be versioned.