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
fix(triage): fetch tag-based attestation via oras .att tag, not cosign
The tag-based triage path called `cosign download attestation`, whose
attestation discovery is cosign-version-dependent: newer cosign resolves
attestations through the OCI Referrers API, which JFrog does not implement, so
it returns zero attestations even though the `sha256-<digest>.att` tag exists.
retrieve-triage then succeeded or failed purely based on which cosign was
installed — v2.4.2 reads the .att tag, newer versions return nothing, so every
JFrog image was reported as having no triage.
Fetch the .att manifest directly with oras and decode its DSSE envelope layers
(most recent triage predicate wins), falling back to cosign only if that finds
nothing. oras/crane are already prerequisites and work against JFrog, so the
result no longer depends on the local cosign version.
Verified by stubbing 'cosign download attestation' to return nothing (the
reported failure mode): all images still fetch triage via the oras .att path.
0 commit comments