package
0.0.0-20220513054723-ce22054d8cf2
Repository: https://github.com/arminc/k8s-platform-lcm.git
Documentation: pkg.go.dev
# Functions
FilterAcceptedIdentifiers removes accepted identifiers and returns remaining vulnerabilities.
FilterAcceptedSeverities removes accepted severities and returns remaining vulnerabilities.
NewVulnerabilityFilter constructs a vulnerabilities filter It returns a filter data represented as the Filter interface.
# Structs
FilterData contains all the accepted vulnerabilities that need to be filtered out.
Identifier holds a matcher to match against and a list of identifiers who are accepted In case of an Docker image this can be regular expression like arminc.* or arminc/something.* or explicit arminc/something:1.2.1 Identifiers need to exactly match the ones passed in.
Vulnerability holds vulnerability information.
# Interfaces
Filter is an interface to filtering vulnerabilities.