GrypeIgnoredMatch Class

Summary

A match suppressed by an ignore rule or a VEX document.
Assembly
Cake.Grype.dll
Namespace
Cake.Grype.Json
Base Types
graph BT Type-->Base0["GrypeMatch"] click Base0 "/api/Cake.Grype.Json/GrypeMatch" Base0-->Base1["Object"] Type["GrypeIgnoredMatch"] class Type type-node

Syntax

public sealed class GrypeIgnoredMatch : GrypeMatch

Constructors

Name Summary
GrypeIgnoredMatch()

Properties

Name Value Summary
IsKnownExploited bool
Gets a value indicating whether any record lists the vulnerability as known exploited (CISA KEV).
Inherited from GrypeMatch
MaxCvssBaseScore Nullable<double>
Gets the highest CVSS base score of any record, or null if none has CVSS data. This is the maximum across all CVSS versions present: a record's Cake.Grype.Json.GrypeVulnerabilityMetadata.Cvss can mix v2 and v3.x entries (see Cake.Grype.Json.GrypeCvss.Version), and scores are not comparable across versions, so treat this as "the worst reported score", not a score on a single consistent scale.
Inherited from GrypeMatch
MaxEpssPercentile Nullable<double>
Gets the highest EPSS percentile (0–1) of any record, or null if none has EPSS data.
Inherited from GrypeMatch
MaxEpssScore Nullable<double>
Gets the highest EPSS probability (0–1) of any record, or null if none has EPSS data.
Inherited from GrypeMatch
Risk double
Gets Grype's combined risk score (0–100) from severity, EPSS and KEV; 0 when unassessed.
Inherited from GrypeMatch
Severity GrypeSeverity
Gets the severity Grype assigned to the match. Unknown means "not assessed yet".
Inherited from GrypeMatch

Methods

Extension Methods

Name Value Summary
Dump<GrypeIgnoredMatch>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<GrypeIgnoredMatch>(GrypeIgnoredMatch[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<GrypeIgnoredMatch>(string) void
Requires the Cake.Issues addin
NotNull<GrypeIgnoredMatch>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
ThrowIfNull<GrypeIgnoredMatch>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<GrypeIgnoredMatch>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin