scanner

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 4, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunTrivyScan

func RunTrivyScan(imageRef string) (trivy.ScanReport, error)

Types

type DockleIssue

type DockleIssue struct {
	Code   string   `json:"code"`
	Title  string   `json:"title"`
	Level  string   `json:"level"`
	Alerts []string `json:"alerts"`
}

type DockleReport

type DockleReport struct {
	Summary map[string]int `json:"summary"`
	Details []DockleIssue  `json:"details"`
}

func RunDockleScan

func RunDockleScan(imageRef string) (report DockleReport, err error)

This is from Trivy wrapper

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL