PrimusSaaS.Security.Reporting 2.2.0

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

PrimusSaaS.Security.Reporting

Preview reporting helpers for the Primus Security Suite. This package provides HTML/JSON/CSV/SARIF formatters and a ReportingService for generating basic report models.

Status

  • Preview release
  • PDF export uses Primus.PdfGenerator if configured; fallback is a text placeholder
  • Compliance scores are heuristic mappings of findings (not certification)

Installation

dotnet add package PrimusSaaS.Security.Reporting

Quick Start (In-Process)

using PrimusSaaS.Security.Reporting.Services;
using PrimusSaaS.Security.Reporting.Models;
using PrimusSaaS.Security.Reporting.Formatters;

var reporting = new ReportingService();

var report = await reporting.GenerateReportAsync(
    "MyProject",
    new List<VulnerabilityFinding>()
);

var json = JsonFormatter.ExportString(report);
var html = HtmlFormatter.Export(report);
var sarif = SarifFormatter.Export(report);

PDF Export

var pdfBytes = await reporting.ExportReportAsync(report, ExportFormat.PDF);

PDF export uses Primus.PdfGenerator when registered. Without a provider, the built-in formatter outputs a text-based placeholder. For production PDFs, configure a provider that renders HTML to PDF.

Compliance Scores

Compliance scores are derived from findings and are meant for internal tracking only. They do not certify PCI-DSS, HIPAA, SOC 2, GDPR, or ISO 27001 compliance.

License

MIT License - see LICENSE file for details.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  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.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.2.0 34 3/11/2026
2.0.0 102 1/12/2026

v2.1.0 (March 2026):
- HtmlFormatter pixel-perfect match to Primus corporate Word document design system.
- ReportingService now populates QualityGateStatus, TriageSummary, PatchCoveragePercent,
 RemediatedCount, and GeneratedAt from ScanResult automatically.
- SecurityReportGenerator.GenerateComplianceReportAsync uses branded HtmlFormatter pipeline.
- ScanRatings (A-E) surfaced in all report outputs.
- Footer confirmed: single centered line matching docx footer XML.
- All packages build 0 errors on net6–net9.