Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VulnScanner ¶
type VulnScanner struct {
// contains filtered or unexported fields
}
VulnScanner utilizes a claircore.IndexReport to create a claircore.VulnerabilityReport takes a fan-in approach where multiple Controllers write to a single channel and VulnScanner dedupes and maps.
func New ¶
func New(store vulnstore.Vulnerability, matchers []driver.Matcher) *VulnScanner
func (*VulnScanner) Scan ¶
func (s *VulnScanner) Scan(ctx context.Context, sr *claircore.IndexReport) (*claircore.VulnerabilityReport, error)
Click to show internal directories.
Click to hide internal directories.