Supported Loggers
One governance profile.
Any logger.
Cerbi governance is not limited to CerbiStream. Every integration below uses the same cerbi_governance.json profile format and connects to the same CerbiShield Service Bus queue. Only the wire-up syntax changes.
dotnet add package Cerbi.Serilog.GovernanceAnalyzer
Wire-up (Program.cs)
Log.Logger = new LoggerConfiguration()
.WithCerbiGovernance("cerbi_governance.json", "production")
.WriteTo.Console()
.CreateLogger();Connect to CerbiShield — score shipping
Enable score shipping in SerilogGovernanceSettings to send governance scores to your CerbiShield queue.
.WithCerbiGovernance("cerbi_governance.json", "production", settings =>
{
settings.ScoreShippingEnabled = true;
settings.ScoreEndpoint = "<your-service-bus-connection-string>";
settings.QueueName = "<your-queue-name>";
})Field aliases
Map your existing field names to Cerbi's canonical names so governance rules apply automatically without renaming your log events.
{
"fieldAliases": {
"user_id": "UserId",
"card_num": "creditCard"
}
}Identity fields populated automatically
Logger support matrix
All loggers share the same cerbi_governance.json profile format and connect to the same CerbiShield Service Bus queue. Only the per-ecosystem wire-up syntax differs.
| Logger | Language | Package | Gov file | Score shipping |
|---|---|---|---|---|
| CerbiStream | C# / .NET | CerbiStream | cerbi_governance.json | |
| Serilog | C# / .NET | Cerbi.Serilog.GovernanceAnalyzer | cerbi_governance.json | |
| NLog | C# / .NET | Cerbi.NLog.GovernanceAnalyzer | cerbi_governance.json | |
| MEL | C# / .NET | Cerbi.MEL.Governance | cerbi_governance.json | |
| Log4j2 | Java | io.cerbi:cerbi-log4j2-governance | JSON ruleset | |
| Logback | Java | io.cerbi:cerbi-logback-governance | JSON ruleset |
Ready to connect a logger?
Start with CerbiStream for new .NET projects, or drop in one of the framework integrations if you already have Serilog, NLog, or MEL in place.