Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Eljakani/ward/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Ward generates award-report.json file containing structured security scan results. This format is designed for:
- Machine parsing and automation
- Integration with custom tooling
- CI/CD pipeline processing
- Long-term storage and trending
internal/reporter/json.go, internal/models/report.go
Output File
By default, Ward writes the JSON report to:~/.ward/config.yaml:
Report Structure
The JSON report has three main sections:Project metadata and context information.
Aggregate statistics about the scan results.
Detailed list of all security findings.
Complete Example
Source:internal/reporter/json.go:64
Parsing the JSON Report
Python Example
JavaScript Example
jq Examples
Query the JSON report from the command line:CI/CD Integration
GitHub Actions
GitLab CI
Version Compatibility
The JSON format is stable across Ward versions. New fields may be added but existing fields will not be removed or changed.If you rely on the JSON structure for automation, pin your Ward version in CI to avoid unexpected changes.
Related
- SARIF Format - GitHub Code Scanning integration
- CLI Options - Output format configuration
- Exit Codes - CI/CD exit code handling