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

WIP: implement trivy image scanner #10

Closed
wants to merge 2 commits into from
Closed

WIP: implement trivy image scanner #10

wants to merge 2 commits into from

Commits on May 2, 2023

  1. run trivy vulnerability scanner on the 'latest' docker image

    - run trivy from makefile so that it can be run both locally and through github actions
    - usage: make test_trivy TRIVY_TARGET_DOCKER_IMAGE=regist.ry/user/image:tag
    - tested by downgrading the base image to alpine 3.15.7 and verifying that vulnerabilities are reported (https://github.com/nodiscc/Shaarli/actions/runs/4860040980/jobs/8663400103)
    - TEMP/TESTING only push image to ghcr.io, run trivy on trivy branch/docker tag as well as master
    - ref. shaarli#1531
    nodiscc committed May 2, 2023
    Configuration menu
    Copy the full SHA
    d48e06f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    22b4044 View commit details
    Browse the repository at this point in the history