CerbiStream.GovernanceAnalyzer 1.0.5

dotnet add package CerbiStream.GovernanceAnalyzer --version 1.0.5
                    
NuGet\Install-Package CerbiStream.GovernanceAnalyzer -Version 1.0.5
                    
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="CerbiStream.GovernanceAnalyzer" Version="1.0.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CerbiStream.GovernanceAnalyzer" Version="1.0.5" />
                    
Directory.Packages.props
<PackageReference Include="CerbiStream.GovernanceAnalyzer" />
                    
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 CerbiStream.GovernanceAnalyzer --version 1.0.5
                    
#r "nuget: CerbiStream.GovernanceAnalyzer, 1.0.5"
                    
#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.
#addin nuget:?package=CerbiStream.GovernanceAnalyzer&version=1.0.5
                    
Install CerbiStream.GovernanceAnalyzer as a Cake Addin
#tool nuget:?package=CerbiStream.GovernanceAnalyzer&version=1.0.5
                    
Install CerbiStream.GovernanceAnalyzer as a Cake Tool

CerbiStream Governance Analyzer

NuGet NuGet Downloads License: MIT .NET


πŸ›‘οΈ 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

πŸ”– MIT Licensed Β· 🧠 Built for the future of observability

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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.

Version Downloads Last updated
1.0.5 85 3/28/2025
1.0.4 439 3/26/2025
1.0.3 135 3/23/2025
1.0.2 128 3/20/2025
1.0.1 187 3/19/2025
1.0.0 131 3/19/2025