Skip to main content

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--formatUse it for
TabletableThe default: a summary in your terminal
JSONjsonScripts and tools. Pipe to jq or save to a file
NDJSONndjsonOne finding per line plus a summary line, for SIEM ingestion
SARIF 2.1.0sarifGitHub Code Scanning, VS Code, Azure DevOps and other SARIF readers
GitHub PR commentgh-prOne Markdown summary comment
GitHub inline commentsgh-pr-inline-comments (alias gh-pr-inline)One review comment per finding, as NDJSON
CI annotationsgithub-annotationsInline annotations in GitHub Actions and GitLab CI
GitLab MR commentgitlab-mrGitLab-flavoured Markdown
Bitbucket PR commentbitbucket-prFlat Markdown
Azure DevOps PR commentazure-prFlat Markdown
JUnit XMLjunitGitLab MR reports, Jenkins and other test runners
CSVcsvSpreadsheets
CycloneDX SBOMcyclonedx, cyclonedx-1.7Software bill of materials (1.6 by default)
SPDX SBOMspdx, spdx3Software bill of materials (2.3 by default, 3.0.1 with spdx3)
CycloneDX CBOMcbom, cbom-1.7Weak cryptography (MD5, SHA-1, ECB, RC4, DES, static IVs, insecure RNG) with file and line
CycloneDX AIBOMaibomAI SDKs, model names, model files and MCP servers the project uses
OpenVEXopenvexExploitability statements for each dependency CVE, backed by reachability
CycloneDX VEXcyclonedx-vexThe same verdicts in CycloneDX form
PDFpdfThe executive report as a PDF (needs wkhtmltopdf on PATH)
GDPR RoPAropa-md, ropa-htmlA draft Article 30 record of processing. See GDPR
Evidence graphevidence-graphOne 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.

FieldValues
reachability_verdictreachable (called from your app), unreachable (nothing calls it; lowered, never dropped), unknown
exploitabilityexploitable (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