Skip to content

add docker/scout-action #18

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

Open
2 of 3 tasks
jakoch opened this issue Feb 9, 2025 · 1 comment
Open
2 of 3 tasks

add docker/scout-action #18

jakoch opened this issue Feb 9, 2025 · 1 comment

Comments

@jakoch
Copy link
Owner

jakoch commented Feb 9, 2025

  • add docker/scout-action
    • compare? the local image is build and loaded and compared against the one pushed to the registry?
  • upload sarif?
- name: Docker Scout
  id: docker-scout
  uses: docker/scout-action@v1 # https://github.com/docker/scout-action
  with:
    command: cves,recommendations,compare
    to-latest: false
    to: ${{ IMAGE }}:${{ COMPARE_TAG }}
    image: ${{ IMAGE }}:${{ IMAGE_TAG }}
    ignore-base: true
    ignore-unchanged: true
    only-fixed: ${{ ONLY-FIXED }}

    do we need to write comment, this requires token?
    write-comment: ${{ WRITE-COMMENT }}
    github-token: ${{ secrets.TOKEN }}

    do we need to upload sarif???
    sarif-file: sarif.output.json
    summary: true

- name: Upload Scan Report as Artifact
  uses: actions/upload-artifact@v4
  with:
    name: vulnerability-scan-report
    path: sarif.output.json
jakoch added a commit that referenced this issue Feb 9, 2025
@jakoch
Copy link
Owner Author

jakoch commented Feb 16, 2025

Error: could not authenticate: user githubactions not entitled to use Docker Scout

this might need an additional auth to the docker-hub and not just the github token
see docker/scout-action#8

disabled for now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant