What does a governance profile actually say?
Before any log is intercepted, there is a profile. Think of it as a contract — written once, applied automatically to every single log line your application produces. Let's read it together, line by line, in plain English.
Step 1 of 4
A profile is attached to one application
Profile Identity
Profile name
checkout-api-production
Identifies this policy document
Version
v1.0.0
Pinned in every audit record
Application
Cerbi.Demo.CheckoutApi
One profile per app
Environment
Production
Separate profiles for staging vs production
Relax Mode
Off
Off = violations enforced, not just logged
Step 2 of 4
Required fields — what must be in every log
Required Fields — missing = Medium violation
correlationIdRequiredLinks this log line to a specific request trace. Without it, you cannot reconstruct what happened during a request.userIdRequiredIdentifies which user performed the action. Required for user-level audit trails.eventNameRequiredNames the business event. Required for structured log analysis and alerting.Step 3 of 4
Disallowed fields — what must never appear
Disallowed Fields — present = value redacted + violation recorded
creditCardNumberCriticalPCI-DSS prohibited. This field must never appear in any log, in any environment. If present it will be redacted and a Critical violation recorded.passwordCriticalUser credentials must never be logged. Any presence is immediately redacted.ssnCriticalSocial security numbers are PII under HIPAA and GDPR. Automatically redacted.authTokenHighSession and bearer tokens grant account access. Redacted to prevent session hijacking via log exposure.Step 4 of 4
How the profile connects to everything else
Runtime
Loads the profile at startup. Every log is evaluated against it.
Violations
Each violation references the profile rule that was broken.
Audit Trail
Every audit record stores the profile name and version.
Chapter 3 of 8
The Unsafe Log — what goes wrong and how the runtime detects it