VulnerabilityCheck class

An image vulnerability check, which rejects images that violate the configured vulnerability rules.

Constructors

VulnerabilityCheck({List<String>? allowedCves, List<String>? blockedCves, List<String>? containerAnalysisVulnerabilityProjects, String? maximumFixableSeverity, String? maximumUnfixableSeverity})
VulnerabilityCheck.fromJson(Map json_)

Properties

allowedCves List<String>?
A list of specific CVEs to ignore even if the vulnerability level violates maximumUnfixableSeverity or maximumFixableSeverity.
getter/setter pair
blockedCves List<String>?
A list of specific CVEs to always raise warnings about even if the vulnerability level meets maximumUnfixableSeverity or maximumFixableSeverity.
getter/setter pair
containerAnalysisVulnerabilityProjects List<String>?
The projects where vulnerabilities are stored as Container Analysis Occurrences.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
maximumFixableSeverity String?
The threshold for severity for which a fix is currently available.
getter/setter pair
maximumUnfixableSeverity String?
The threshold for severity for which a fix isn't currently available.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited