secreport
Render security findings into SARIF, JSON, JSONL, Markdown, or colored terminal output. Works with any type that implements the Reportable trait from secfinding. You don't need to use our Finding type.
use ;
use ;
let findings = vec!;
let sarif = render;
Bring your own types
If you have your own finding struct, implement Reportable and use render_any:
use ;
use ;
let findings = vec!;
let json = render_any;
Formats
| Format | Use case |
|---|---|
| Text | Terminal output with ANSI colors and severity counts |
| Json | Machine consumption, API responses |
| Jsonl | Streaming, one finding per line |
| Sarif | GitHub Security tab, IDE integration |
| Markdown | Reports, documentation, email |
Contributing
Pull requests are welcome. There is no such thing as a perfect crate. If you find a bug, a better API, or just a rough edge, open a PR. We review quickly.
License
MIT. Copyright 2026 CORUM COLLECTIVE LLC.