Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Trivy vulnerability scans to all docker-released repos #72

Closed
5 tasks done
applejag opened this issue Sep 9, 2021 · 1 comment
Closed
5 tasks done

Add Trivy vulnerability scans to all docker-released repos #72

applejag opened this issue Sep 9, 2021 · 1 comment
Labels
enhancement New feature or request
Projects

Comments

@applejag
Copy link
Contributor

applejag commented Sep 9, 2021

Best case:

  1. Once a day, a GitHub Action builds the docker image and scans it
  2. If there are vulnerabilities, an issue is created with the label security
  • How to handle if issue already exists? Create yet another one? Update the existing one? Do nothing while such a vulnerability scan issue already exists?

The issues should contain description of how to build and scan the docker image yourself locally. Such as:

$ docker build . -t wharf-web

$ docker save wharf-web -o image.tar

$ trivy image --input image.tar

There are some alternatives available, just searching the internet for "trivy github action" yields lots of good alternatives.

Suggest to add this to one repo, and once that is reviewed and merged, first then start applying it to the rest of the repos.

Repos that need this:

In the future we can translate this to a Wharf build, but as Wharf lacks this kind of integration right now we should start the work using GitHub Actions.

@applejag
Copy link
Contributor Author

This is done.

Backlog automation moved this from To do to Done Nov 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
Development

No branches or pull requests

1 participant