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 and exportable:

Terminal window
# View policy violations
fyrn governance violations --last 7d
# Export audit log
fyrn governance export --format csv --from 2025-01-01