You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Current remediation when an unpinned Docker image is found is to pin it by hash. For example:
FROM amazoncorretto:11
score is 7: containerImage not pinned by hash
Remediation tip: pin your Docker image by updating amazoncorretto to amazoncorretto@sha256:b1a711069b801a325a30885f08f5067b2b102232379750dda4d25a016afd9a88
Click Remediation section below for further remediation help
Docker image hashs are notoriously hard to decode. Working out what tag a hash is isn't easy. The hash does not align with the digest hash on Docker Hub or as listed by docker images --no-trunc.
Describe the solution you'd like
Docker supports including the version & the hash, e.g.
dependabot/dependabot-core#4419. Breaking dependabot means image versions are not updated automagically, which is arguably more of a risk that unpinned versions.
Was not aware of this.
Docker image hashs are notoriously hard to decode. Working out what tag a hash is isn't easy. The hash does not align with the digest hash on Docker Hub or as listed by docker images --no-trunc.
Yes. The universal digest is hard to find. You can find in some of the HTTP header attributes of the API calls. Note: the digest has changed since the issue was opened.
Based on the remediation output in your original message, I'm assuming this was SARIF feedback from the scorecard-action. The issue is fixed, but will need to be released both on the scorecard and scorecard-action repos for it to take effect.
Is your feature request related to a problem? Please describe.
Current remediation when an unpinned Docker image is found is to pin it by hash. For example:
However, this has two issues
docker images --no-trunc
.Describe the solution you'd like
Docker supports including the version & the hash, e.g.
Benefits:
The scorecard remediation should include the version & the hash.
Describe alternatives you've considered
None.
Additional context
None
The text was updated successfully, but these errors were encountered: