feat(reporting): support CSA CCM PDF reports (#10088)

This commit is contained in:
Pedro Martín
2026-02-17 09:48:45 +01:00
committed by GitHub
parent df8a7220ff
commit e8c48b7827
13 changed files with 1916 additions and 18 deletions

View File

@@ -4,6 +4,10 @@ All notable changes to the **Prowler UI** are documented in this file.
## [1.19.0] (Prowler UNRELEASED)
### 🚀 Added
- PDF report available for the CSA CCM compliance framework [(#10088)](https://github.com/prowler-cloud/prowler/pull/10088)
### 🔄 Changed
- Attack Paths: Query list now shows their name and short description, when one is selected it also shows a longer description and an attribution if it has it [(#9983)](https://github.com/prowler-cloud/prowler/pull/9983)

View File

@@ -13,6 +13,7 @@ export const COMPLIANCE_REPORT_TYPES = {
THREATSCORE: "threatscore",
ENS: "ens",
NIS2: "nis2",
CSA_CCM: "csa",
// Future report types can be added here:
// CIS: "cis",
// NIST: "nist",
@@ -34,6 +35,7 @@ export const COMPLIANCE_REPORT_DISPLAY_NAMES: Record<
[COMPLIANCE_REPORT_TYPES.THREATSCORE]: "ThreatScore",
[COMPLIANCE_REPORT_TYPES.ENS]: "ENS RD2022",
[COMPLIANCE_REPORT_TYPES.NIS2]: "NIS2",
[COMPLIANCE_REPORT_TYPES.CSA_CCM]: "CSA CCM",
// Add display names for future report types here
};
@@ -47,6 +49,7 @@ export const COMPLIANCE_REPORT_BUTTON_LABELS: Record<
[COMPLIANCE_REPORT_TYPES.THREATSCORE]: "PDF ThreatScore Report",
[COMPLIANCE_REPORT_TYPES.ENS]: "PDF ENS Report",
[COMPLIANCE_REPORT_TYPES.NIS2]: "PDF NIS2 Report",
[COMPLIANCE_REPORT_TYPES.CSA_CCM]: "PDF CSA CCM Report",
// Add button labels for future report types here
};
@@ -58,6 +61,7 @@ const FRAMEWORK_TO_REPORT_TYPE: Record<string, ComplianceReportType> = {
ProwlerThreatScore: COMPLIANCE_REPORT_TYPES.THREATSCORE,
ENS: COMPLIANCE_REPORT_TYPES.ENS,
NIS2: COMPLIANCE_REPORT_TYPES.NIS2,
"CSA-CCM": COMPLIANCE_REPORT_TYPES.CSA_CCM,
// Add new framework mappings here as PDF support is added:
// "CIS-1.5": COMPLIANCE_REPORT_TYPES.CIS,
// "NIST-800-53": COMPLIANCE_REPORT_TYPES.NIST,