Output formats
--format (short -f) picks how results are written. Every format comes from the same scan, so they always agree.
vulkro scan . --format sarif > vulkro.sarif
vulkro scan . --format json | jq '.findings[] | select(.severity == "Critical")'
Formats
| Name | --format | Use it for |
|---|---|---|
| Table | table | The default: a summary in your terminal |
| JSON | json | Scripts and tools. Pipe to jq or save to a file |
| NDJSON | ndjson | One finding per line plus a summary line, for SIEM ingestion |
| SARIF 2.1.0 | sarif | GitHub Code Scanning, VS Code, Azure DevOps and other SARIF readers |
| GitHub PR comment | gh-pr | One Markdown summary comment |
| GitHub inline comments | gh-pr-inline-comments (alias gh-pr-inline) | One review comment per finding, as NDJSON |
| CI annotations | github-annotations | Inline annotations in GitHub Actions and GitLab CI |
| GitLab MR comment | gitlab-mr | GitLab-flavoured Markdown |
| Bitbucket PR comment | bitbucket-pr | Flat Markdown |
| Azure DevOps PR comment | azure-pr | Flat Markdown |
| JUnit XML | junit | GitLab MR reports, Jenkins and other test runners |
| CSV | csv | Spreadsheets |
| CycloneDX SBOM | cyclonedx, cyclonedx-1.7 | Software bill of materials (1.6 by default) |
| SPDX SBOM | spdx, spdx3 | Software bill of materials (2.3 by default, 3.0.1 with spdx3) |
| CycloneDX CBOM | cbom, cbom-1.7 | Weak cryptography (MD5, SHA-1, ECB, RC4, DES, static IVs, insecure RNG) with file and line |
| CycloneDX AIBOM | aibom | AI SDKs, model names, model files and MCP servers the project uses |
| OpenVEX | openvex | Exploitability statements for each dependency CVE, backed by reachability |
| CycloneDX VEX | cyclonedx-vex | The same verdicts in CycloneDX form |
pdf | The executive report as a PDF (needs wkhtmltopdf on PATH) | |
| GDPR RoPA | ropa-md, ropa-html | A draft Article 30 record of processing. See GDPR |
| Evidence graph | evidence-graph | One connected JSON graph of the scan for AI tools |
vulkro formats prints the exact spec version each standard format follows.
JSON grading fields
Each finding in json can carry two extra fields. A field is left out when Vulkro makes no claim.
| Field | Values |
|---|---|
reachability_verdict | reachable (called from your app), unreachable (nothing calls it; lowered, never dropped), unknown |
exploitability | exploitable (clear unguarded path), likely (one condition unproven), theoretical (pattern only). Also a SARIF property |
SARIF
Each finding becomes one result with its rule ID, severity, message, location, fix and a stable fingerprint, so SARIF readers can match a finding across runs when lines move. Data-flow findings include the step-by-step path as codeFlows.
PR comments and annotations
Post one inline comment per new finding with gh api:
vulkro gate --base "origin/${GITHUB_BASE_REF}" --format gh-pr-inline-comments \
| while IFS= read -r c; do
gh api "repos/${GITHUB_REPOSITORY}/pulls/${PR_NUMBER}/comments" \
-f path="$(echo "$c" | jq -r .path)" -F line="$(echo "$c" | jq -r .line)" \
-f side=RIGHT -f body="$(echo "$c" | jq -r .body)" -f commit_id="${GITHUB_SHA}"
done
Through vulkro gate, only new findings are posted, so a first run does not flood the PR.
evidence-graph
A stable, versioned JSON document (evidence-graph/1.0) with endpoints, taint flows, reachability verdicts, findings and dependencies. It is marked deterministic: true and uses_llm: false.
vulkro scan . --format evidence-graph > evidence.json
Feed one per repository to vulkro aggregate to find data flows that cross repositories.
See also: vulkro formats, vulkro sbom