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
<PackageReference Include="Cerbi.Governance.Schemas" Version="1.0.2" />
<PackageVersion Include="Cerbi.Governance.Schemas" Version="1.0.2" />
<PackageReference Include="Cerbi.Governance.Schemas" />
paket add Cerbi.Governance.Schemas --version 1.0.2
#r "nuget: Cerbi.Governance.Schemas, 1.0.2"
#:package Cerbi.Governance.Schemas@1.0.2
#addin nuget:?package=Cerbi.Governance.Schemas&version=1.0.2
#tool nuget:?package=Cerbi.Governance.Schemas&version=1.0.2
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 | Versions 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. |
-
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.
v1.0.2: Updated for dependency refresh across the ecosystem.