Skip to content

Governance

fyrn’s governance engine enforces policies across all flows, connectors, and self-healing operations. Policies are defined declaratively and enforced automatically at runtime.

fyrn ships with several default policies that can be enabled and configured:

PolicyDescriptionDefault
PII Detection & MaskingDetects and masks PII fields in all mappings and logsEnabled
Data ResidencyEnsures data doesn’t transit through restricted regionsDisabled
Encryption in TransitRequires TLS 1.2+ for all connectionsEnabled
AI Confidence ThresholdControls auto-fix behavior based on confidence scores95%
Deployment ApprovalRequires team approval for production deploysDisabled
Rate Limit ProtectionAuto-throttles before hitting provider limitsEnabled
Audit Log RetentionConfigures retention period for all logs90 days

Policies are configured in your project config or via the CLI:

fyrn.config.yaml
governance:
policies:
pii_detection:
enabled: true
action: mask # mask, block, or warn
fields: [ssn, credit_card, health_data]
data_residency:
enabled: true
regions: [eu-west-1, eu-central-1]
action: block
deployment_approval:
enabled: true
required_approvers: 1
environments: [production]

All governance events are logged. Use the CLI to inspect policies and check compliance:

Terminal window
# List all governance policies
fyrn governance list
# View details of a specific policy
fyrn governance show pol_abc123
# Check a flow's compliance against policies
fyrn governance check abc123
# Check all flows
fyrn governance check --all

The fyrn gov alias works for all governance commands.