Cerbi.Governance.Schemas 1.0.2

dotnet add package Cerbi.Governance.Schemas --version 1.0.2
                    
NuGet\Install-Package Cerbi.Governance.Schemas -Version 1.0.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Cerbi.Governance.Schemas" Version="1.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Cerbi.Governance.Schemas" Version="1.0.2" />
                    
Directory.Packages.props
<PackageReference Include="Cerbi.Governance.Schemas" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Cerbi.Governance.Schemas --version 1.0.2
                    
#r "nuget: Cerbi.Governance.Schemas, 1.0.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Cerbi.Governance.Schemas@1.0.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Cerbi.Governance.Schemas&version=1.0.2
                    
Install as a Cake Addin
#tool nuget:?package=Cerbi.Governance.Schemas&version=1.0.2
                    
Install as a Cake Tool

Cerbi.Governance.Schemas

Canonical governance schema models for the Cerbi logging governance ecosystem. Defines GovernedEvent, GovernanceProfileDefinition, EventFieldDefinition, and EventTemplateDefinition — the shared contracts used by all Cerbi logger plugins and signature libraries.

Features

  • GovernedEvent schema - Core structure for all governed log events
  • Governance profile definitions - Schema for governance policy configuration
  • Event field definitions - Structured metadata for log event fields
  • Event template definitions - Reusable event structure patterns
  • Compliance-ready structures - Built for audit and governance requirements
  • Cross-platform compatibility - Works with .NET, Java, and other platforms

Core Types

GovernedEvent

The foundational event structure used throughout the Cerbi ecosystem:

public class GovernedEvent
{
    public string EventId { get; set; }
    public DateTime Timestamp { get; set; }
    public string AppName { get; set; }
    public string Environment { get; set; }
    public string EventType { get; set; }
    public Dictionary<string, object> Fields { get; set; }
    public GovernanceMetadata Governance { get; set; }
}

GovernanceProfileDefinition

Defines governance policies and validation rules:

public class GovernanceProfileDefinition
{
    public string Name { get; set; }
    public string AppName { get; set; }
    public List<string> RequiredFields { get; set; }
    public List<string> DisallowedFields { get; set; }
    public Dictionary<string, FieldSeverity> FieldSeverities { get; set; }
    public Dictionary<string, FieldType> FieldTypes { get; set; }
}

Usage

This library serves as the foundation for all other Cerbi packages:

  • Logger integrations (Serilog, NLog, Log4j, Logback) use these schemas
  • Signature libraries (API, Security, Audit) create events with these types
  • CerbiShield platform validates and processes events using these schemas
  • Custom integrations can extend these base types for specific needs

Integration

Essential dependency for:

  • Cerbi.Signatures.* - All signature libraries depend on these schemas
  • Cerbi.*.Governance - All logger integrations use these event structures
  • CerbiShield platform - Dashboard, APIs, and governance services
  • Custom governance solutions - Build on these canonical types

License

MIT License - see LICENSE file for details.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

NuGet packages (15)

Showing the top 5 NuGet packages that depend on Cerbi.Governance.Schemas:

Package Downloads
Cerbi.AspNetCore.Governance

ASP.NET Core middleware for automatic API governance. Zero-config auto-detection with full override support. Emits GovernedEvent for every HTTP request through 3 channels — HttpContext.Items, ILogger.BeginScope, and ICerbiEventSink.

Cerbi.Signatures.Security

Typed event factories for security-related governed log events. Provides strongly-typed methods for creating GovernedEvent instances for common security scenarios — failed logins, permission denials, and token validation failures.

Cerbi.Signatures.Audit

Typed event factories for audit-related governed log events. Provides strongly-typed methods for creating GovernedEvent instances for entity lifecycle operations — creation, update, and deletion.

Cerbi.Signatures.Api

Typed event factories for API lifecycle governed log events. Provides strongly-typed methods for creating GovernedEvent instances for HTTP request tracking — request started, completed, and failed.

Cerbi.Signatures.Observability

CerbiShield Signature SDK for microservices observability logging events.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.2 150 3/12/2026
1.0.1 254 3/12/2026

v1.0.2: Updated for dependency refresh across the ecosystem.