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
From #16302 (comment) -- we often need (e.g. in the context of PEP 740 attestations) to access the OIDC claims that accompanied the original trusted publishing event.
To do this currently we need to perform a somewhat expensive query over all Events associated with the release, looking for the one we expect to contain those claims, which is both slower and more brittle than it needs to be.
To address the above, we could add a File.publish_event or similar relation that links back to the claim-bearing event, or None if the File wasn't created via trusted publishing.
From #16302 (comment) -- we often need (e.g. in the context of PEP 740 attestations) to access the OIDC claims that accompanied the original trusted publishing event.
To do this currently we need to perform a somewhat expensive query over all
Event
s associated with the release, looking for the one we expect to contain those claims, which is both slower and more brittle than it needs to be.To address the above, we could add a
File.publish_event
or similar relation that links back to the claim-bearing event, orNone
if theFile
wasn't created via trusted publishing.See #16302 for additional context.
The text was updated successfully, but these errors were encountered: