Ch 7 — Try It Yourself

Governance Active
Chapter 7 of 8 — Try It Yourself

Paste any log payload. See what governance does.

You have read six chapters explaining how the governance engine works. Now try it. The profile running below is the same checkout-api-production profile from Chapter 2. Paste any JSON log payload and click Run Governance to see the full pipeline output.

Active profile — from Chapter 2

Disallowed fields → Redacted

creditCardNumberpasswordssnauthTokencvvcardNumbersecret

Required fields → Flagged if absent

correlationIduserIdeventName

Start with a preset or write your own

Log payload (JSON)

3 violations detected

3 fields passed · 1 redacted · 2 flagged missing

Field-by-field pipeline results

userId
Passed

userId is not in disallowedFields and has no restriction.

creditCardNumber
RedactedCritical violation

creditCardNumber is in disallowedFields. Classified as sensitive data. Value replaced.

message
Passed

message is not in disallowedFields and has no restriction.

amount
Passed

amount is not in disallowedFields and has no restriction.

correlationId
FlaggedMedium violation

correlationId is in requiredFields but was not present in this log payload.

eventName
FlaggedMedium violation

eventName is in requiredFields but was not present in this log payload.

Governed payload — what would be written to your log sink

{
  "userId": "user-4281",
  "creditCardNumber": "REDACTED",
  "message": "Checkout started",
  "amount": 99.99
}

One more chapter

Chapter 8: The Interactive Sandbox

Edit the governance profile rules directly. Change severities, add disallowed fields, toggle Relax Mode. Edit the log payload. Watch the violations, governed output, audit trail, and governance score all update live.

Cerbi | Logging Governance for Your Stack