PrimusSaaS.Security.Reporting 3.0.1

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

Showing the top 1 NuGet packages that depend on PrimusSaaS.Security.Reporting:

Package Downloads
PrimusSaaS.Security.Api

Versioned REST API (v1) for PrimusSaaS.Security. Provides minimal-API endpoints for scans, findings, suppressions, and policy — registerable via MapPrimusSecurityApi().

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.0.1 129 4/19/2026
2.2.0 115 3/11/2026
2.0.0 114 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.