Skip to main content

vulkro compliance-pack

Scan the project and write a folder of audit evidence that maps findings to the control IDs of one framework.

vulkro compliance-pack . # SOC 2
vulkro compliance-pack . --framework pci-dss-4-0 -o ./audit-q1

Flags​

FlagDescription
[PATH]Project root. Default ..
--framework <NAME>Framework to map to. Default soc2. Values below.
-o, --output <DIR>Output directory. Default ./vulkro-compliance-pack.

Frameworks​

ValueFramework
soc2, soc2-fullSOC 2 (CC and P controls by category, or the full Trust Service Criteria CC1.1 to CC9.2)
iso27001, iso27001-2022ISO/IEC 27001:2022 Annex A (category buckets, or per-control)
hipaaHIPAA Security Rule
pci-dss-4-0PCI DSS 4.0 requirements 6, 11, 12
nist-800-53NIST SP 800-53 Rev. 5 moderate baseline
nist-800-171NIST SP 800-171 Rev. 2
fedramp-moderate, staterampFedRAMP Moderate, StateRAMP Moderate
sox-itgcSOX IT general controls
hitrustHITRUST CSF v11.2.0
cis-sfCIS Salesforce Benchmark v1.2.0
dora, nis2EU DORA, EU NIS2
owasp-llm-2025, owasp-agentic-2026OWASP Top 10 for LLM and for Agentic Applications
cert-in-sbomIndia CERT-In SBOM guidelines v2.0

What the folder contains​

vulkro-compliance-pack/
manifest.json framework, scan id, status per control
summary.md one row per control: status, finding count, evidence file
findings.csv control id, severity, file, line, message, remediation
README.md what the pack covers
controls/ one JSON file per control, with file:line evidence

pci-dss-4-0, nist-800-53 and soc2-full also write <framework>.html, a control-by-control table.

A control passes with no findings, is partial with only Medium or Low findings and fails with any High or Critical finding. The pack is one input to an audit, not a full audit: it covers what is in the code, not process controls.

Exit codes​

0 no findings, 1 findings reported, 2 bad argument or internal error.

See also: vulkro compliance, Compliance overview.

Command reference​

Generated from vulkro compliance-pack --help (vulkro 0.41.0). Run scripts/gen-docs.sh in the product repository to refresh it; do not edit this section by hand.

Build a folder of audit evidence mapped to a compliance framework.

vulkro compliance-pack [OPTIONS] [PATH]

Arguments​

ArgumentDescription
[PATH]Path to the project root (default: current directory) Default: ..

Options​

FlagDescription
--framework <FRAMEWORK>Framework whose control IDs to map findings into. One of: soc2 / iso27001 / hipaa / pci-dss-4-0 / nist-800-53 / soc2-full. Default: soc2.
--offlineHard-disable every outbound network call for this run (sets VULKRO_OFFLINE=1). Blocks the CVE feed, the license heartbeat, the update check, webhooks, and any cloud AI endpoint; a loopback model (http://127.0.0.1, http://localhost) is still allowed. Equivalent to exporting VULKRO_OFFLINE=1, and the flag wins when both are set.
-o, --output <OUTPUT>Output directory. Default: ./vulkro-compliance-pack.
-q, --quietPrint only warnings and errors on stderr: no progress, tips or next-step hints. Results on stdout and exit codes are unchanged.
--no-colorTurn off coloured output. Colour is also off when NO_COLOR is set to a non-empty value or TERM=dumb.
-h, --helpPrint help (see a summary with '-h')
Full vulkro compliance-pack --help
Build a folder of audit evidence mapped to a compliance framework.

Generate a self-contained audit-evidence directory mapping findings to control IDs of a chosen compliance framework.

Runs a normal scan first, then writes manifest.json, summary.md, findings.csv, README.md, and a per-control file under controls/. For the deep frameworks (pci-dss-4-0, nist-800-53, soc2-full) also writes <framework>.html with a control-by-control evidence table that cross-references the supporting Vulkro rule IDs.

Supported `--framework` values: soc2 Category-bucket fan-out to SOC 2 CC / P controls. iso27001 Category-bucket fan-out to ISO/IEC 27001:2022 Annex A. hipaa Category-bucket fan-out to HIPAA Security Rule. pci-dss-4-0 PCI DSS 4.0 Requirements 6, 11, 12 per-control map. nist-800-53 NIST SP 800-53 Rev. 5 moderate baseline (AC, AU, CM, IA, RA, SI families). soc2-full Full SOC 2 Trust Service Criteria (CC1.1 to CC9.2). iso27001-2022 ISO/IEC 27001:2022 Annex A, deep per-control map (Salesforce evidence). dora EU DORA (Regulation (EU) 2022/2554), article-level map (Salesforce evidence). nis2 EU NIS2 (Directive (EU) 2022/2555), Art. 21(2)(a) to (j) and Art. 23 map (Salesforce evidence).

Exit codes: `0` success and no findings; `1` scan completed and findings were reported; `2` arg error or internal failure.

Usage: vulkro compliance-pack [OPTIONS] [PATH]

Arguments:
[PATH]
Path to the project root (default: current directory)

[default: .]

Options:
--framework <FRAMEWORK>
Framework whose control IDs to map findings into. One of: soc2 / iso27001 / hipaa / pci-dss-4-0 / nist-800-53 / soc2-full

Possible values:
- soc2
- iso27001
- hipaa
- pci-dss-4-0
- nist-800-53
- soc2-full
- cis-sf: CIS Salesforce Benchmark v1.2.0. Salesforce-specific deep compliance pack; see `src/security/compliance_frameworks/cis_salesforce.rs`
- hitrust: HITRUST CSF v11.2.0. Salesforce Health Cloud compliance pack (HIPAA + HITECH + ISO 27001/27002 + NIST CsF harmonised); see `src/security/compliance_frameworks/hitrust_csf.rs`
- fedramp-moderate: FedRAMP Moderate (Rev 5 Baseline, May 2023). Federal Salesforce compliance pack covering the 14 NIST 800-53 families that apply to a tenant-controllable Government Cloud Plus deployment. Accepts both `fedramp-moderate` and the shorter `fedramp` alias. See `src/security/compliance_frameworks/fedramp_moderate.rs`
- nist-800-171: NIST SP 800-171 Rev. 2. Salesforce defence-contractor compliance pack (DFARS 252.204-7012 / CMMC Level 2); see `src/security/compliance_frameworks/nist_800_171.rs`
- stateramp: StateRAMP Moderate (Baseline 2024.05). State and municipal government Salesforce compliance pack. Shares its NIST 800-53 lineage with FedRAMP Moderate plus four state-government distinct rows. Accepts both `stateramp` and the longer `stateramp-moderate` alias. See `src/security/compliance_frameworks/stateramp_moderate.rs`
- sox-itgc: SOX IT General Controls (COBIT 2019 Baseline). Salesforce financial-services compliance pack covering the three ITGC families (Access Controls, Change Management, IT Operations); see `src/security/compliance_frameworks/sox_itgc.rs`
- iso27001-2022: ISO/IEC 27001:2022 Annex A, deep per-control Salesforce mapping. The plain `iso27001` value keeps the legacy category-bucket fan-out; see `src/security/compliance_frameworks/iso27001_2022.rs`
- dora: DORA (Regulation (EU) 2022/2554), article-level Salesforce mapping; see `src/security/compliance_frameworks/dora.rs`
- nis2: NIS2 (Directive (EU) 2022/2555), Art. 20, 21 and 23 Salesforce mapping; see `src/security/compliance_frameworks/nis2.rs`
- owasp-llm-2025: OWASP Top 10 for LLM Applications 2025 (LLM01-LLM10); see `src/security/compliance_frameworks/owasp_llm_2025.rs`
- owasp-agentic-2026: OWASP Top 10 for Agentic Applications 2026 (ASI01-ASI10); see `src/security/compliance_frameworks/owasp_agentic_2026.rs`
- cert-in-sbom: India CERT-In SBOM / CBOM / AIBOM technical guidelines v2.0; see `src/security/compliance_frameworks/cert_in_sbom.rs`

[default: soc2]

--offline
Hard-disable every outbound network call for this run (sets VULKRO_OFFLINE=1). Blocks the CVE feed, the license heartbeat, the update check, webhooks, and any cloud AI endpoint; a loopback model (http://127.0.0.1, http://localhost) is still allowed. Equivalent to exporting VULKRO_OFFLINE=1, and the flag wins when both are set

-o, --output <OUTPUT>
Output directory

[default: ./vulkro-compliance-pack]

-q, --quiet
Print only warnings and errors on stderr: no progress, tips or next-step hints. Results on stdout and exit codes are unchanged

--no-color
Turn off coloured output. Colour is also off when NO_COLOR is set to a non-empty value or TERM=dumb

-h, --help
Print help (see a summary with '-h')