Skip to main content

vulkro-sf appexchange-report

Scans the project and maps the findings to the AgentExchange (formerly AppExchange) Security Review: the review categories (SF-ASRR-001 to 006), the pre-submit checklist (SF-PRESUBMIT-001 to 010) and the published checklist sections. It replaces the deprecated asrr and presubmit.

vulkro-sf appexchange-report . -o readiness.html
vulkro-sf appexchange-report . --format json --gate # CI gate
vulkro-sf appexchange-report . --import-code-analyzer ca.json --fpw-out FPW.json -o readiness.html

The default html report is one self-contained file (no CDN), which you can save as PDF. It always includes the submission packet: review-blocking findings ordered by estimated fix effort, imported Code Analyzer rows with drafted false-positive justifications, and the False Positives Whitelist summary.

Drafted justifications are never marked accepted: read each one before you upload. The packet does not replace the Code Analyzer report the review requires.

FlagWhat it does
[PATH]SFDX project or retrieved metadata. Default ..
--format <html|table|json|markdown>html is the report; the others print the checklist. Default html.
-o, --output <file>Write to a file instead of stdout.
--gateExit 1 when a pre-submit item fails (for table, json, markdown).
--packetAdd the submission packet to table, json or markdown output.
--import-code-analyzer <file>Import a Code Analyzer report (JSON, SARIF or CSV from sf code-analyzer run --output-file) and draft a justification for each row Vulkro has evidence for. Repeatable.
--fpw-out <file>Write the False Positives Whitelist (FPW.json), each entry marked accepted or draft.
--prepared-for <name>, --prepared-by <name>Attribution lines on the report cover.

Exit codes​

CodeMeaning
0html: every checklist section passes. Other formats: the report was produced.
1html: at least one section fails. With --gate: at least one pre-submit item fails.
2Error (unscannable path, unknown --format, unreadable Code Analyzer file).

Imported Code Analyzer rows never change the exit code.

See also: AgentExchange readiness, HTML report format

Command reference​

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

Check AppExchange Security Review readiness, and build the submission packet.

vulkro-sf appexchange-report [OPTIONS] [PATH]

Arguments​

ArgumentDescription
[PATH]Path to the SFDX project or retrieved metadata (defaults to the current directory) Default: ..

Options​

FlagDescription
-f, --format <FORMAT>Output format: html (the report file, default), table, json, or markdown (the checklist; add --packet for the packet) Default: html.
-o, --output <OUTPUT>Write the report to this file instead of stdout.
--gateExit 1 when a pre-submit checklist item fails (the CI gate that presubmit ran). Without it table, json and markdown exit 0.
--packetAppend the submission packet (review-blocking list by fix effort, Code Analyzer rows, whitelist summary) to table, json or markdown output. HTML always carries it.
--import-code-analyzer <FILE>Import a Code Analyzer report (JSON, SARIF or CSV from sf code-analyzer run --output-file) and draft a false-positive justification for each row Vulkro has evidence for. Repeatable. Implies --packet.
--fpw-out <FILE>Write the False Positives Whitelist (FPW.json) to this file: accepted suppressions plus drafted justifications, each marked accepted or draft. Implies --packet.
--prepared-for <PREPARED_FOR>Client / ISV the report is prepared for. Renders a "Prepared for <name>" line on the report cover. Optional; omit for an un-branded report.
--prepared-by <PREPARED_BY>Reviewer or consultant who prepared the report. Renders a "Prepared by <name>" line on the report cover. Optional.
-v, --verbose...Bump stderr log verbosity. -v enables debug-level tracing for the vulkro + vulkro_sf targets; -vv enables trace. Honoured only when RUST_LOG is unset (an explicit RUST_LOG always wins)
-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-sf appexchange-report --help
Check AppExchange Security Review readiness, and build the submission packet.

The one AppExchange command (`presubmit` and `asrr` are deprecated aliases of it). Scans the whole SFDX project and maps the findings to the Security Review: the review categories (SF-ASRR-001..006), the pre-submit checklist (SF-PRESUBMIT-001..010) and the published checklist sections.

The checklist on screen: `--format table`, `--format json` or `--format markdown` (capability `sf-readiness`).

The report (capability `sf-appexchange-report`, the same as `vulkro-sf sbom`): the HTML report (`--format html`, the default, which you can save as PDF) and the submission packet: the review-blocking findings ordered by estimated fix effort, imported Code Analyzer rows with DRAFTED false-positive justifications (`--import-code-analyzer`), and the False Positives Whitelist (`--fpw-out`). Drafts are never marked accepted: read each one before you upload. The packet does not replace the Code Analyzer report the Security Review requires.

Pro (capability `sf-presubmit`): `--gate`, the CI exit mode.

Exit codes: `--format html`: 0 = every checklist section passes, 1 = at least one section fails. `table` / `json` / `markdown`: 0 = the report was produced; with `--gate`, 1 = at least one pre-submit item fails. In every format 1 also means a Pro license is required for what was asked; 2 = error (unscannable path, unknown --format, unreadable Code Analyzer file). Imported Code Analyzer rows never change the exit code.

Usage: vulkro-sf appexchange-report [OPTIONS] [PATH]

Arguments:
[PATH]
Path to the SFDX project or retrieved metadata (defaults to the current directory)

[default: .]

Options:
-f, --format <FORMAT>
Output format: html (the report file, default), table, json, or markdown (the checklist; add --packet for the packet)

[default: html]

-o, --output <OUTPUT>
Write the report to this file instead of stdout

--gate
Exit 1 when a pre-submit checklist item fails (the CI gate that `presubmit` ran). Without it table, json and markdown exit 0

--packet
Append the submission packet (review-blocking list by fix effort, Code Analyzer rows, whitelist summary) to table, json or markdown output. HTML always carries it

--import-code-analyzer <FILE>
Import a Code Analyzer report (JSON, SARIF or CSV from `sf code-analyzer run --output-file`) and draft a false-positive justification for each row Vulkro has evidence for. Repeatable. Implies --packet

--fpw-out <FILE>
Write the False Positives Whitelist (FPW.json) to this file: accepted suppressions plus drafted justifications, each marked `accepted` or `draft`. Implies --packet

--prepared-for <PREPARED_FOR>
Client / ISV the report is prepared for. Renders a "Prepared for <name>" line on the report cover. Optional; omit for an un-branded report

--prepared-by <PREPARED_BY>
Reviewer or consultant who prepared the report. Renders a "Prepared by <name>" line on the report cover. Optional

-v, --verbose...
Bump stderr log verbosity. `-v` enables debug-level tracing for the `vulkro` + `vulkro_sf` targets; `-vv` enables trace. Honoured only when `RUST_LOG` is unset (an explicit `RUST_LOG` always wins)

-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')