Skip to content

Output Formats

Findings grouped by rule with affected locations listed below.

Terminal window
llmarmor scan ./src

One structured block per finding with What/Why/Fix/Ref breakdown.

Terminal window
llmarmor scan ./src -f flat

Structured JSON with a meta block and grouped findings. Designed for CI/CD pipelines and dashboards.

Terminal window
llmarmor scan ./src -f json -o report.json

Structured Markdown report for pull request comments or sharing with stakeholders.

Terminal window
llmarmor scan ./src -f md -o SECURITY_REPORT.md

SARIF 2.1.0 output for GitHub Code Scanning.

Terminal window
llmarmor scan ./src -f sarif -o results.sarif

Severity mapping in SARIF:

LLM Armor SeveritySARIF Level
CRITICAL, HIGHerror
MEDIUMwarning
LOW, INFOnote