Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scanner ¶
Scanner represents a trivy scanner
func NewScanner ¶
func NewScanner(remoteURL string, insecure bool, logger kwhlog.Logger, scheme string) (*Scanner, error)
NewScanner returns a Scanner
func (*Scanner) ScanImages ¶
ScanImages sends a scan request to the trivy server for each container image inside the pod and exports the result to prometheus
Click to show internal directories.
Click to hide internal directories.