XRAY-157755 - Fix insecure tls flag traversal for maven projects - #846
Open
gauriy-tech wants to merge 2 commits into
Open
XRAY-157755 - Fix insecure tls flag traversal for maven projects#846gauriy-tech wants to merge 2 commits into
gauriy-tech wants to merge 2 commits into
Conversation
gauriy-tech
force-pushed
the
feature/XRAY-157755-fix-mvn-dep-ntw-issue
branch
from
August 13, 2026 10:31
6289abc to
8b942d7
Compare
gauriy-tech
force-pushed
the
feature/XRAY-157755-fix-mvn-dep-ntw-issue
branch
from
August 14, 2026 05:22
5cc2212 to
d134451
Compare
gauriy-tech
force-pushed
the
feature/XRAY-157755-fix-mvn-dep-ntw-issue
branch
from
August 14, 2026 09:56
d134451 to
cc00f1a
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What & why
curation-audit/auditspawn a realmvnsubprocess to build the dependency tree. Two bugs madethis fail silently for customers behind a TLS-intercepting proxy:
--insecure-tlsnever reached that subprocess —DepTreeParamshad no field for it.log.Verbose(aboveDEBUG); onlyexit status 1ever surfaced.Changes
InsecureTlsthroughDepTreeParams→MavenDepTreeManager→ the spawnedmvncommand.-Dmaven.wagon.http.ssl.*and-Daether.connector.https.securityMode=insecure), since Maven 3.9+ ignores the former.Testing
New unit tests, offline via a fake
mvnwscript (seemvn_test.go). Also verified end-to-endagainst a real Artifactory instance with
curation-audit— no regressions.Related: XRAY-157755
devbranch.go vet ./....go fmt ./....