Output Formats
The scanner supports 10 output formats, selected with –format .
| Format | –format value | File extension | Primary use case |
|---|---|---|---|
| Markdown (default) | markdown | . | Console output, MR/PR comments, wiki pages |
| JSON | json | . | Programmatic processing, custom CI dashboards |
| HTML | html | . | Stakeholder reports (dark/light mode) |
| SARIF 2.1.0 | sarif | . | GitHub Code Scanning, security aggregators |
| GitLab SAST | gl-sast / gitlab-sast | . | GitLab Security Dashboard, MR security widget |
| JUnit XML | junit | . | GitLab/Jenkins reports:junit tab |
| XML (generic) | xml | . | Enterprise XML-based tools |
| YAML | yaml | . | YAML-driven config pipelines |
| CSV | csv | . | Spreadsheets, Excel, data analysis |
| CycloneDX 1.5 SBOM | cyclonedx / sbom | . | Dependency-Track, GitHub Dependency Graph, Snyk |
The CycloneDX output is a full SBOM of the Ansible project: Galaxy collections,
roles, pip packages, bindep system packages, and execution-environment
container images - each mapped to a standard
purl, alongside the scanner’s
findings as CycloneDX vulnerabilities[] entries so downstream consumers get
both inventory and risk in a single document.
Explicit examples for every supported format:
Per-file reports (1:1 input:output, every scanned file gets a report):