GrypeReport.

CountBySeverity() Method

Summary

Counts the matches per severity. Every severity is present, with zero if nothing matched it.
Assembly
Cake.Grype.dll
Namespace
Cake.Grype.Json
Containing Type
GrypeReport

Syntax

public IReadOnlyDictionary<GrypeSeverity, int> CountBySeverity()

Return Value

Type Description
IReadOnlyDictionary<GrypeSeverity, int> The count per severity.