Skip to main content

filter

Function filter 

Source
pub fn filter<'a>(
    findings: &'a [Finding],
    config: &FindingFilter,
) -> Vec<&'a Finding>
Expand description

Filter findings by severity, scanner allow/deny list, and tags.

  • min_severity: include findings where finding.severity >= min.
  • exclude_scanners: remove matching scanners.
  • include_tags: include only findings with at least one matching tag.