π Vet Reporting
vet default scan uses an opinionated Summary Reporter which presents a consolidated summary of findings. Thats NOT about it. Read more for expression based filtering and policy evaluation.
Summary Reportβ
- The default output format for the
vetis console with summary. You can run the following command to get the summary report--report-summaryflag. Which is basically a summary report with actionable advice.
vet scan --report-summary -D demo-client-java

JSON Reportβ
caution
The JSON report generator is currently in experimental state. The JSON schema may change without notice.
vet scan --report-json /path/to/report.json -D demo-client-java
Markdownβ
- You can run the Markdown output format for the
vetusing--report-markdownflag. Which it generates consolidated markdown report to file.
vet scan --report-markdown=vet-markdown-report.md -D demo-client-java

SARIFβ
- You can run the SARIF output format for the
vetusing--report-sarifflag. Which it generates consolidated SARIF report to file.
vet scan --report-sarif=vet-sarif-report.sarif -D demo-client-java
CSVβ
- You can run the CSV output format for the
vetusing--report-csvflag.
vet scan --report-csv=vet-csv-report.csv -D demo-client-java