@cclabsnz/sf-audit 1.8.0 → 1.8.1
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/README.md +18 -0
- package/package.json +25 -2
package/README.md
CHANGED
|
@@ -29,6 +29,24 @@ A Salesforce CLI (`sf`) plugin that runs a complete, **read-only** security audi
|
|
|
29
29
|
sf plugins install @cclabsnz/sf-audit
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
+
**You will be warned that this plugin is not digitally signed.** That is expected, and it is not a judgement on this plugin. Salesforce's signature verification only accepts public keys served from `developer.salesforce.com`, so no third-party plugin can satisfy it: every community plugin in the ecosystem produces the same prompt. Answer `y` to continue.
|
|
33
|
+
|
|
34
|
+
Since "trust us" is a poor answer from a tool that authenticates against your production org, the guarantees this project offers are ones you can check yourself rather than take on faith. Releases carry signed npm provenance, so you can confirm the published tarball was built from the exact public commit, and the read-only promise is enforced by a test that fails the build if a single write path appears in the source:
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
npm audit signatures # reports "verified attestations" for @cclabsnz/sf-audit
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
See [Trust & verification](#trust--verification) for the full list, including the no-network-egress guard and the independent scans.
|
|
41
|
+
|
|
42
|
+
For CI or any unattended install, where an interactive prompt would hang the job, allowlist the package on the machine doing the installing:
|
|
43
|
+
|
|
44
|
+
```jsonc
|
|
45
|
+
// macOS and Linux: ~/.config/sf/unsignedPluginAllowList.json
|
|
46
|
+
// Windows: %LOCALAPPDATA%\sf\unsignedPluginAllowList.json
|
|
47
|
+
["@cclabsnz/sf-audit"]
|
|
48
|
+
```
|
|
49
|
+
|
|
32
50
|
Or, for local development:
|
|
33
51
|
|
|
34
52
|
```bash
|
package/package.json
CHANGED
|
@@ -1,7 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cclabsnz/sf-audit",
|
|
3
|
-
"version": "1.8.
|
|
4
|
-
"description": "Salesforce
|
|
3
|
+
"version": "1.8.1",
|
|
4
|
+
"description": "Read-only Salesforce security audit for the sf CLI: 88 checks, attack-chain correlation, A-F risk grading, and compliance mapping to OWASP, SOC 2, ISO 27001, NZISM and more.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"salesforce",
|
|
7
|
+
"salesforce-cli",
|
|
8
|
+
"sf-plugin",
|
|
9
|
+
"sfdx-plugin",
|
|
10
|
+
"oclif-plugin",
|
|
11
|
+
"security",
|
|
12
|
+
"security-audit",
|
|
13
|
+
"security-scanner",
|
|
14
|
+
"compliance",
|
|
15
|
+
"soc2",
|
|
16
|
+
"iso27001",
|
|
17
|
+
"owasp",
|
|
18
|
+
"nzism",
|
|
19
|
+
"agentforce",
|
|
20
|
+
"devsecops",
|
|
21
|
+
"permissions",
|
|
22
|
+
"audit"
|
|
23
|
+
],
|
|
5
24
|
"license": "Apache-2.0",
|
|
6
25
|
"type": "module",
|
|
7
26
|
"packageManager": "pnpm@10.33.0",
|
|
@@ -35,6 +54,10 @@
|
|
|
35
54
|
"type": "git",
|
|
36
55
|
"url": "https://github.com/cclabsnz/sf-audit-plugin.git"
|
|
37
56
|
},
|
|
57
|
+
"homepage": "https://github.com/cclabsnz/sf-audit-plugin#readme",
|
|
58
|
+
"bugs": {
|
|
59
|
+
"url": "https://github.com/cclabsnz/sf-audit-plugin/issues"
|
|
60
|
+
},
|
|
38
61
|
"engines": {
|
|
39
62
|
"node": ">=18.0.0"
|
|
40
63
|
},
|