Governance Overview
MonkDB governance controls combine policies, contracts, audit, lineage, and tagging controls to enforce and observe data usage.
Building blocks
- Policies
- Row filtering
- Column masking
- AI usage control
- Contracts
- Data quality/business rule assertions
- Warn/enforce modes
- Audit
- Policy decision events
- Sink metrics and persistent stores
- Lineage
- Job and edge capture
- Projected sink tables
- Metadata tags
- Table and column tags with visibility controls
Typical rollout order
- Enable audit and lineage sinks.
- Create baseline policies for row-level separation and masking.
- Add contracts in
warnmode and validate. - Promote selected contracts/policies to enforce mode.
- Monitor sink metrics and violations continuously.
Core SQL objects
CREATE POLICY,ALTER POLICY,DROP POLICYCREATE CONTRACT,ALTER CONTRACT,DROP CONTRACTVALIDATE TABLE