Skip to content

Configuration

.govern.yaml Configuration

Place .govern.yaml at the root of your repository:

version: "1"
org_id: your-org-id
gates:
assessment:
enabled: true
framework: nist-rmf
min_score: 70
fail_on: critical
policy:
enabled: true
block_on:
- critical
- high
drift:
enabled: false
baseline_system_id: sys_abc123
max_drift: 0.3
notifications:
slack_webhook: https://hooks.slack.com/...
on_failure: true
on_success: false

Gate Behavior

SettingDescription
min_scoreMinimum assessment score to pass (0-100)
fail_onSeverity level that blocks: critical, high, medium, low
block_onList of severity levels that block deployment
max_driftMaximum drift score before blocking (0.0-1.0)