module

Flaw::Baseline

Baseline — capture current findings to a JSON file and suppress them on future scans so teams can adopt flaw mid-project without a wall of red. Match key: (rule_id, normalised file path, snippet). Line numbers shift; the snippet lets a moved finding still match.

Class methods

filter(findings : Array(Finding), baseline : Set(Tuple(String, String, String))) : Array(Finding)
Source
save(findings : Array(Finding), path : String) : Nil
Source

Nested types