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
<PackageReference Include="PrimusSaaS.Security.Reporting" Version="2.2.0" />
<PackageVersion Include="PrimusSaaS.Security.Reporting" Version="2.2.0" />
<PackageReference Include="PrimusSaaS.Security.Reporting" />
paket add PrimusSaaS.Security.Reporting --version 2.2.0
#r "nuget: PrimusSaaS.Security.Reporting, 2.2.0"
#:package PrimusSaaS.Security.Reporting@2.2.0
#addin nuget:?package=PrimusSaaS.Security.Reporting&version=2.2.0
#tool nuget:?package=PrimusSaaS.Security.Reporting&version=2.2.0
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 | Versions 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. |
-
net9.0
- CsvHelper (>= 30.0.1)
- Microsoft.EntityFrameworkCore (>= 9.0.4)
- Microsoft.EntityFrameworkCore.Sqlite (>= 9.0.4)
- PrimusSaaS.PdfGenerator (>= 2.0.0)
- PrimusSaaS.Security (>= 2.2.0)
- System.Text.Json (>= 9.0.4)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
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.