Output Formats
Grouped (default)
Section titled “Grouped (default)”Findings grouped by rule with affected locations listed below.
llmarmor scan ./srcOne structured block per finding with What/Why/Fix/Ref breakdown.
llmarmor scan ./src -f flatStructured JSON with a meta block and grouped findings. Designed for CI/CD pipelines and dashboards.
llmarmor scan ./src -f json -o report.jsonMarkdown
Section titled “Markdown”Structured Markdown report for pull request comments or sharing with stakeholders.
llmarmor scan ./src -f md -o SECURITY_REPORT.mdSARIF 2.1.0 output for GitHub Code Scanning.
llmarmor scan ./src -f sarif -o results.sarifSeverity mapping in SARIF:
| LLM Armor Severity | SARIF Level |
|---|---|
| CRITICAL, HIGH | error |
| MEDIUM | warning |
| LOW, INFO | note |