Code Monkey home page Code Monkey logo

helm-trivy's Introduction

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

helm-trivy's People

Contributors

enribd avatar patazerty avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.