-
Notifications
You must be signed in to change notification settings - Fork 551
feat(vex): native discovery of VEX documents stored as OCI artifacts #10807
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
Closed
mvanhorn
wants to merge
26
commits into
aquasecurity:main
from
mvanhorn:fix/10750-vex-oci-native-discovery
Closed
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
b1adb22
feat(vex): discover VEX documents as OCI artifacts
mvanhorn 460d4c2
chore(vex): run go mod tidy
DmitriyLewen 429bf89
fix(vex): do not derive transport from repository_url scheme
DmitriyLewen 41eb630
refactor(vex): reuse pkg/attestation for VEX attestation decoding
DmitriyLewen 48c42f3
fix(vex): iterate legacy .att layers instead of requiring a single layer
DmitriyLewen 58c7b1e
refactor(vex): simplify registry error-code helpers
DmitriyLewen e88d674
docs(vex): add TODO to pass RegistryOptions for registry auth
DmitriyLewen 30a359c
refactor(vex): reuse media-type constants from pkg/oci
DmitriyLewen 3ddc7f8
test(vex): consolidate OCI VEX discovery tests into a table
DmitriyLewen d7235c2
docs(vex): document isOpenVEXPredicateType matching
DmitriyLewen b315ab9
Merge branch 'main' of github.com:aquasecurity/trivy into fix/10750-v…
DmitriyLewen a715af0
fix(vex): reject legacy .att with too many layers
DmitriyLewen fe41eb8
test(vex): cover registry error helpers and resolveDigest/legacy edge…
DmitriyLewen 57e7904
test(vex): satisfy linters in oci_test.go
DmitriyLewen cae73b5
refactor(vex): return early on a nil package URL
DmitriyLewen 71594f8
refactor(vex): pass context.Context through OCI VEX retrieval
DmitriyLewen e6c2804
refactor(vex): use a set for supported VEX artifact types
DmitriyLewen b2af079
fix(vex): limit attestation layer size to prevent decompression bombs
DmitriyLewen 26c3e5c
refactor(vex): extract OCI VEX discovery into pkg/vex/oci with a publ…
DmitriyLewen 1513021
fix(vex): skip non-OpenVEX OCI referrers instead of failing the scan
DmitriyLewen 5c54651
test(vex): cover digest-version resolution and versioned predicate type
DmitriyLewen e85db19
test: extend registrytest with basic-auth server and image/attestatio…
DmitriyLewen 9fa0261
refactor(vex): rename isReferrersUnsupported to isReferrersUnavailable
DmitriyLewen 8c247b2
test(vex): make OCI VEX tests black-box and reuse registrytest
DmitriyLewen 5c35030
test(vex): cover the OCI registry path in TestFilter
DmitriyLewen b35ea62
docs(vex): document supported OCI VEX layouts
DmitriyLewen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.