Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
maskDocument:
- description: mask nested object field
schema: nested
input: '{"name":"Alice","contact":{"phone":"123-456","city":"NYC"}}'
want: '{"name":"Alice","contact":{"phone":"******","city":"NYC"}}'
- description: mask array elements by semantic type
schema: array
input: '{"tags":["alpha","beta"],"count":2}'
want: '{"tags":["******","******"],"count":2}'
- description: tagged node replaces entire subtree
schema: tagged-node
input: '{"profile":{"ssn":"123-45-6789","address":"Main St"},"name":"Alice"}'
want: '{"profile":"******","name":"Alice"}'
- description: extended json style object is safe
schema: extended-json
input: '{"_id":{"$oid":"67d4aaee17bd0f3857a98b58"},"email":"[email protected]","createdAt":{"$date":"2025-01-01T00:00:00Z"}}'
want: '{"_id":{"$oid":"67d4aaee17bd0f3857a98b58"},"email":"******","createdAt":{"$date":"2025-01-01T00:00:00Z"}}'
- description: non object payload is handled safely
schema: non-object
input: '"raw-string-result"'
want: '"raw-string-result"'
- description: unwind scalar - item-level semantic type masks unwound scalar
schema: array
input: '{"tags":"alpha","count":2}'
want: '{"tags":"******","count":2}'
- description: unwind scalar - array-level semantic type masks unwound scalar
schema: array-level-masked
input: '{"tags":"alpha","count":2}'
want: '{"tags":"******","count":2}'
- description: unwind object - item-level semantic type masks unwound object fields
schema: array-of-objects
input: '{"friends":{"name":"Bob","phone":"555-1234"}}'
want: '{"friends":{"name":"Bob","phone":"******"}}'
- description: lookup joined array field is masked
schema: lookup-joined
input: '{"name":"Alice","orders":[{"total":99.9,"status":"shipped"},{"total":5.0,"status":"pending"}]}'
want: '{"name":"Alice","orders":[{"total":"******","status":"shipped"},{"total":"******","status":"pending"}]}'
checkBlocked:
- description: nil analysis allowed
analysisNil: true
wantError: false
- description: find allowed
api: find
operation: find
collection: users
wantError: false
- description: findOne allowed
api: findOne
operation: findOne
collection: users
wantError: false
- description: unsupported read blocked
api: unsupportedRead
operation: aggregate
collection: users
wantError: true
wantErrorContains: aggregate()
- description: aggregate allowed
api: aggregate
operation: aggregate
collection: users
wantError: false
- description: aggregate with unsupported stage blocked
api: unsupportedRead
operation: aggregate
collection: users
unsupportedStage: "$group"
wantError: true
wantErrorContains: aggregate() with stage "$group"