CerbiStream.GovernanceAnalyzer
1.0.5
dotnet add package CerbiStream.GovernanceAnalyzer --version 1.0.5
NuGet\Install-Package CerbiStream.GovernanceAnalyzer -Version 1.0.5
<PackageReference Include="CerbiStream.GovernanceAnalyzer" Version="1.0.5" />
<PackageVersion Include="CerbiStream.GovernanceAnalyzer" Version="1.0.5" />
<PackageReference Include="CerbiStream.GovernanceAnalyzer" />
paket add CerbiStream.GovernanceAnalyzer --version 1.0.5
#r "nuget: CerbiStream.GovernanceAnalyzer, 1.0.5"
#addin nuget:?package=CerbiStream.GovernanceAnalyzer&version=1.0.5
#tool nuget:?package=CerbiStream.GovernanceAnalyzer&version=1.0.5
CerbiStream Governance Analyzer
π‘οΈ CerbiStream Governance Analyzer
CerbiStream-GovernanceAnalyzer is a runtime + compile-time enforcement toolset for structured logging. It includes a Roslyn Analyzer for build-time validation and a runtime governance engine with auto-reloading profiles.
β Whatβs New?
- π Live JSON Reloading (no restart needed)
- π Roslyn Analyzer to catch missing fields before runtime
- π§ Dynamic governance per log profile
- π§ͺ Fully testable and unit test friendly
- π§ Coming soon: Copilot log hints + CLI test validator
π¦ Installation
dotnet add package CerbiStream.GovernanceAnalyzer
π How It Works
1οΈβ£ Define Governance JSON
{
"LoggingProfiles": {
"API": {
"RequiredFields": ["Timestamp", "LogLevel", "Message", "ApplicationId"],
"OptionalFields": ["UserId", "TransactionId"],
"AllowedLevels": ["Information", "Warning", "Error"],
"Encryption": "Base64"
},
"SecurityLog": {
"RequiredFields": ["UserId", "IPAddress"],
"AllowedLevels": ["Error", "Critical"],
"Encryption": "AES"
}
}
}
2οΈβ£ At Runtime
var logData = new Dictionary<string, object>
{
{ "Timestamp", DateTime.UtcNow },
{ "Message", "User login" },
{ "LogLevel", "Information" }
};
var isValid = GovernanceAnalyzer.Validate("API", logData);
3οΈβ£ At Build Time (Roslyn Analyzer)
Warns on:
- β Missing required fields
- β Disallowed log levels
- β
Works with all
.LogXXX(...)
methods
π§° Developer Features
Feature | Description |
---|---|
π Live Reloading | Detects cerbi_governance.json changes automatically |
β οΈ Roslyn Analyzer | Warns about missing or misused logs before runtime |
π Encryption Tagging | Profiles can declare required encryption |
π§ͺ Unit-Test Friendly | Designed with test-mode safe guards |
𧩠Working Together with CerbiStream
- CerbiStream routes logs and adds structure
- GovernanceAnalyzer ensures logs are valid
dotnet add package CerbiStream
π Use both to enforce compliance, validate logs, and future-proof observability.
π Roadmap
Feature | Status |
---|---|
π Encryption Profile Overrides | β Done |
π§ͺ Governance Rule Testing CLI | π οΈ In Dev |
π§ Governance Coverage Dashboard | π Coming |
π₯ CerbiSense Logging Heatmap | π Coming |
π¦ Copilot/IntelliSense Hints | π οΈ In Dev |
π¬ Contact & Community
- π Website: Cerbi-CerbiStream
- π¦ NuGet: GovernanceAnalyzer
- π« Email: thomasvnelson@live.com
π MIT Licensed Β· π§ Built for the future of observability
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. |
-
net8.0
- Microsoft.CodeAnalysis.CSharp (>= 4.13.0)
- Newtonsoft.Json (>= 13.0.3)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on CerbiStream.GovernanceAnalyzer:
Package | Downloads |
---|---|
CerbiStream
CerbiStream.Logging - Secure, Scalable, and Standardized Logging for Modern Applications. CerbiStream.Logging is a next-generation logging library designed for **enterprise-grade**, **secure**, and **standardized** logging. It enforces structured logging signatures across teams, ensuring **consistent log data** for analysis while seamlessly integrating with **major cloud and on-prem logging platforms**. 🌟 **Key Features:** - **Standardized Logging Signatures**: Set and enforce structured log formats across all teams. - **Secure and Encrypted Logs**: Built-in encryption for sensitive metadata. - **Multi-Destination Support**: Route logs to **Azure Queues, Service Bus, RabbitMQ, Kafka, AWS SQS, Kinesis, Google PubSub,** or any database. - **SaaS-Connected**: Optional **CerbiIQ SaaS** routes and enriches logs with **ML/AI insights**. - **DevMode**: Prevent logs from being sent during local debugging. - **Minimal Setup**: One-liner configuration to get started in seconds. 🚀 **Why CerbiStream?** Unlike traditional loggers, **CerbiStream.Logging** goes beyond simple log collectionβit **routes, encrypts, and standardizes logs** while allowing **meta-analysis of global patterns** when integrated with **CerbiIQ**. |
GitHub repositories
This package is not used by any popular GitHub repositories.