helm-trivy

command module
v0.0.0-...-a9b2c8d Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

README

Helm-trivy

This is a small helm plugin that performs vulnerability scans on container images used by charts. It was inspired by Snyk.io's helm-snyk plugin. It uses aquasec's trivy instead of Snyk.io for vulnerability scanning. To be fair, I found in my testing that Snyk had better results, but trivy isn't far (and it's free).

Installation

Just like any helm plugin, use the helm plugin subcommand:

helm plugin install  https://github.com/ObjectifLibre/helm-trivy

Currently avalaible for linux and mac platforms.

Usage

Usage: helm trivy [options] <helm chart>
Example: helm trivy -json stable/mariadb

Options:
  --debug
    	Enable debug logging
  --json
    	Enable JSON output
  --nopull
    	Don't pull latest trivy image
  --set string
    	Values to set for helm chart, format: 'key1=value1,key2=value2'
  --trivyargs string
    	CLI args to passthrough to trivy
  --values string
    	Specify chart values in a YAML file or a URL
  --version string
    	Specify chart version

Some examples:

Output only high and critical severity vulnerabilities:

helm trivy -trivyargs '--severity HIGH,CRITICAL' stable/mariadb

Get a JSON array with scan results:

helm trivy -json stable/wordpress

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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