Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckForVulnerabilities ¶
func CheckForVulnerabilities(checkScore float64, checkSeverity string) []trivy.ScanFailedReport
CheckForVulnerabilities will scan the results file for any 7+ CVE scores and if so will delete the image from Openstack and bail out here.
func FetchResultsFromServer ¶
FetchResultsFromServer pulls the results.json from the remote scanning server.
func NewScanCommand ¶
NewScanCommand creates a command that allows the scanning of an image.
func RemoveScanningResources ¶
RemoveScanningResources cleans up the server and keypair from Openstack to ensure nothing is left lying around.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.