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

Use Trivy more effectively #68

Merged
merged 5 commits into from
Apr 12, 2023

Commits on Apr 12, 2023

  1. Use Trivy more effectively

    The current image scanning workflow leads to Trivy scans being run
    twice because the test action is run on both PRs and pushes to
    main. To rectify this, a new security action has been added in this
    commit that only runs on PRs to scan both the permissions-api Git
    repository and Docker image. Additionally, repo scanning has been
    added to the image-build action and a typo in the image tag to be
    scanned has been fixed.
    
    Signed-off-by: John Schaeffer <[email protected]>
    jnschaeffer committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    e91753d View commit details
    Browse the repository at this point in the history
  2. Set exit code for Trivy jobs since they seem to run now

    Signed-off-by: John Schaeffer <[email protected]>
    jnschaeffer committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    e2d6dc6 View commit details
    Browse the repository at this point in the history
  3. Fix Trivy findings in dev container Dockerfile

    Signed-off-by: John Schaeffer <[email protected]>
    jnschaeffer committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    4531ac4 View commit details
    Browse the repository at this point in the history
  4. Disable config scanner until it gets more better

    Signed-off-by: John Schaeffer <[email protected]>
    jnschaeffer committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    ec57e4e View commit details
    Browse the repository at this point in the history
  5. Adjust whitespace in dev container Dockerfile

    Signed-off-by: John Schaeffer <[email protected]>
    jnschaeffer committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    187afba View commit details
    Browse the repository at this point in the history