foxguard 0.6.2

Security scanner as fast as a linter. 170+ built-in rules, 10 languages, sub-second scans.
Documentation
1
2
3
4
5
6
use crate::Finding;

pub fn print_json(findings: &[Finding]) {
    let json = serde_json::to_string_pretty(findings).expect("Failed to serialize findings");
    println!("{}", json);
}