VulnCheck.Types.Summary (VulnCheck v1.0.1)

Copy Markdown View Source

Aggregated counters of a scan report.

Summary

Functions

Builds the summary counters for a list of findings. Suppressed findings are counted only in suppressed.

Percentage of matched advisories proven unreachable (0 when nothing matched).

Types

t()

@type t() :: %VulnCheck.Types.Summary{
  expired_suppressions: non_neg_integer(),
  potentially_reachable: non_neg_integer(),
  reachable: non_neg_integer(),
  retired: non_neg_integer(),
  suppressed: non_neg_integer(),
  total: non_neg_integer(),
  unreachable: non_neg_integer()
}

Functions

from_findings(findings)

@spec from_findings([VulnCheck.Types.Finding.t()]) :: t()

Builds the summary counters for a list of findings. Suppressed findings are counted only in suppressed.

noise_reduction(summary)

@spec noise_reduction(t()) :: non_neg_integer()

Percentage of matched advisories proven unreachable (0 when nothing matched).