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

Deep inspect attestations when filtering download #3031

Merged
merged 1 commit into from Jun 15, 2023

Conversation

lcarva
Copy link
Contributor

@lcarva lcarva commented Jun 2, 2023

Summary

Resolves #3030 by inspecting the attestation payload when filtering by predicate type. See additional context there.

Release Note

Fix predicate type filtering in `cosign download attestation` command.

Documentation

Updated the command docs to no longer mention the predicate type is fetched from annotations.

@codecov
Copy link

codecov bot commented Jun 2, 2023

Codecov Report

Merging #3031 (c8a030a) into main (83c08ce) will decrease coverage by 0.02%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #3031      +/-   ##
==========================================
- Coverage   30.45%   30.43%   -0.02%     
==========================================
  Files         152      152              
  Lines        9586     9592       +6     
==========================================
  Hits         2919     2919              
- Misses       6210     6216       +6     
  Partials      457      457              
Impacted Files Coverage Δ
cmd/cosign/cli/options/download.go 0.00% <0.00%> (ø)
pkg/cosign/fetch.go 0.00% <0.00%> (ø)

Fixes sigstore#3030

Signed-off-by: Luiz Carvalho <lucarval@redhat.com>
@lcarva
Copy link
Contributor Author

lcarva commented Jun 15, 2023

Anything I can do to help this move along? 🙏

@znewman01
Copy link
Contributor

Thanks for the ping! I approved before the tests finished running and forgot to check back in o.O

Sorry for the delay here

@znewman01 znewman01 merged commit 4b8c04a into sigstore:main Jun 15, 2023
26 checks passed
@github-actions github-actions bot added this to the v1.14.0 milestone Jun 15, 2023
@lcarva lcarva deleted the better-predicate-filter branch June 20, 2023 20:50
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

Successfully merging this pull request may close these issues.

cosign download attestation cannot filter by attestation predicate type
2 participants