-
Notifications
You must be signed in to change notification settings - Fork 565
feat(java): support user-defined Maven mirrors in trivy.yaml #11006
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
Merged
DmitriyLewen
merged 18 commits into
aquasecurity:main
from
DmitriyLewen:maven-central-mirror-trivy-config
Aug 3, 2026
Merged
Changes from 10 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
a583f30
feat(java): apply config-file Maven mirrors in the pom parser
DmitriyLewen 0283653
feat(flag): add scan.maven.mirrors config option
DmitriyLewen b406c3c
feat(java): wire scan.maven.mirrors to the pom analyzer
DmitriyLewen 6e8c620
docs(java): document scan.maven.mirrors
DmitriyLewen c8611d5
feat(flag): reject non-absolute Maven mirror URLs
DmitriyLewen 283355f
refactor(java): simplify pom mirror comments and drop redundant debug…
DmitriyLewen 3ca9d19
test: refactor and dedupe Maven mirror tests
DmitriyLewen 48fa082
test(java): merge resolveMirrors settings and config-file cases
DmitriyLewen 017028b
test(java): build TestParser_mirrorFor inputs via resolveMirrors
DmitriyLewen 2e8edf5
chore(java): fix golangci-lint issues (gci import order, map make)
DmitriyLewen 405a8a4
fix(flag): restrict Maven mirror URLs to http/https
DmitriyLewen 1b5aec6
fix(java): fall back to the next mirror on 429 instead of aborting
DmitriyLewen b43e591
fix(flag): reject empty Maven mirror target lists
DmitriyLewen 77e2a0f
refactor(flag): configure Maven mirrors as a list instead of a map
DmitriyLewen 0bb1700
fix(java): ignore credentials and host case when matching Maven mirrors
DmitriyLewen 07b1cf7
refactor(java): use errors.AsType for the rate limit check
DmitriyLewen 8f734a1
fix(java): clean the path when building a Maven mirror key
DmitriyLewen eb6d748
docs(java): correct how a 429 from a Maven mirror is described
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
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.