@cclabsnz/sf-audit 1.21.1 → 1.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/lib/commands/audit/security.js +1 -1
- package/lib/renderers/ClientReportRenderer.d.ts +21 -11
- package/lib/renderers/ClientReportRenderer.js +701 -182
- package/lib/renderers/deckFonts.d.ts +7 -0
- package/lib/renderers/deckFonts.js +29 -0
- package/lib/report/ActionPlan.d.ts +42 -0
- package/lib/report/ActionPlan.js +99 -0
- package/lib/report/AttackJourney.d.ts +18 -0
- package/lib/report/AttackJourney.js +31 -0
- package/package.json +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,24 @@ published note and carries the signed provenance attestation and CycloneDX SBOM
|
|
|
9
9
|
|
|
10
10
|
## [Unreleased]
|
|
11
11
|
|
|
12
|
+
## [v1.22.0](https://github.com/cclabsnz/sf-audit-plugin/releases/tag/v1.22.0) — 2026-10-29
|
|
13
|
+
|
|
14
|
+
The executive report is now a consulting-style deck that leads with what to do, with the threat
|
|
15
|
+
model on its own slides.
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- **The executive report is now a consulting-style deck.** Every slide's title states its conclusion, and a note under each exhibit says where its numbers come from. In order:
|
|
20
|
+
- **Cover**: grade and health score, kept small.
|
|
21
|
+
- **Executive summary**: situation, complication and resolution.
|
|
22
|
+
- **Where to act**: the actions placed on risk removed against effort.
|
|
23
|
+
- **Action plan**: ranked actions in three waves (start now, next 30 days, this quarter). For each, what it breaks, the findings it closes, effort, and an owner to agree.
|
|
24
|
+
- **Threat model**: a MITRE ATT&CK slide (findings per tactic, and the tactics each attack chain reaches) and a STRIDE and LINDDUN heatmap.
|
|
25
|
+
- **Attack scenarios**: one slide per named attack chain, and one for the potential chains.
|
|
26
|
+
- **Appendix and sign-off**: roadmap, compliance, findings, and a sign-off page.
|
|
27
|
+
- **Actions are computed, not listed.** Each named chain's break point becomes the action that breaks it (chains sharing a break point share it). Every other open critical or high finding becomes an action per check. Actions are ranked by the risk they remove, with a broken chain counting double.
|
|
28
|
+
- **It prints one slide per landscape A4 page.** Every printed page names its client, date and page. Fonts are Source Serif 4 and Source Sans 3, embedded so the report never fetches anything. A firm's own colours and fonts still apply when it has set them.
|
|
29
|
+
|
|
12
30
|
## [v1.21.1](https://github.com/cclabsnz/sf-audit-plugin/releases/tag/v1.21.1) — 2026-10-28
|
|
13
31
|
|
|
14
32
|
### Fixed
|
|
@@ -77,7 +77,7 @@ export default class SecurityAuditCommand extends SfCommand {
|
|
|
77
77
|
helpValue: './report-branding.json',
|
|
78
78
|
}),
|
|
79
79
|
top: Flags.integer({
|
|
80
|
-
summary: 'Number of
|
|
80
|
+
summary: 'Number of top actions to plot on the deck\'s "Where to act" slide, up to 10 (executive format). The action plan lists every action.',
|
|
81
81
|
default: 5,
|
|
82
82
|
}),
|
|
83
83
|
frameworks: Flags.string({
|
|
@@ -12,20 +12,30 @@ export declare class ClientReportRenderer implements AuditRenderer {
|
|
|
12
12
|
readonly format = "executive";
|
|
13
13
|
readonly fileExtension = ".html";
|
|
14
14
|
readonly filenamePrefix = "SF_Audit_Executive";
|
|
15
|
+
private refs;
|
|
16
|
+
private labels;
|
|
15
17
|
constructor(opts: ClientReportOptions);
|
|
16
18
|
render(result: AuditResult): string;
|
|
17
|
-
private
|
|
18
|
-
private
|
|
19
|
-
private
|
|
20
|
-
private
|
|
21
|
-
private
|
|
22
|
-
private
|
|
23
|
-
private
|
|
24
|
-
private
|
|
25
|
-
private
|
|
19
|
+
private css;
|
|
20
|
+
private slide;
|
|
21
|
+
private tag;
|
|
22
|
+
private gradeColor;
|
|
23
|
+
private coverSlide;
|
|
24
|
+
private summarySlide;
|
|
25
|
+
private matrixSlide;
|
|
26
|
+
private planSlides;
|
|
27
|
+
private threatSlides;
|
|
28
|
+
private stepMeta;
|
|
29
|
+
private steps;
|
|
30
|
+
private chainSlide;
|
|
31
|
+
private potentialSlide;
|
|
32
|
+
private roadmapPage;
|
|
26
33
|
private worst;
|
|
27
|
-
private
|
|
28
|
-
private
|
|
34
|
+
private matrixPage;
|
|
35
|
+
private waiversPage;
|
|
36
|
+
private coverageNote;
|
|
37
|
+
private findingsPage;
|
|
38
|
+
private signOffPage;
|
|
29
39
|
private footer;
|
|
30
40
|
}
|
|
31
41
|
//# sourceMappingURL=ClientReportRenderer.d.ts.map
|