-
Notifications
You must be signed in to change notification settings - Fork 44
Description
Support for proxy in jfog-cli audit and curation-audit
jf support proxy according to https://jfrog.com/help/r/jfrog-applications-and-cli-documentation/proxy-support
This indeed work for the frog-cli itself, how ever when interacting with maven project, jf tries to generate a settings.xml but does not include proxy configuration.
Generating a settings.xml with proxy configuration
The jfrog-cli should check if HTTPS_PROXY / HTTP_PROXY exist or not, and should try to find the host and its port and generate the xml file according to this https://maven.apache.org/guides/mini/guide-proxies.html.
the issue is from the function: https://github.com/jfrog/jfrog-cli-security/blob/main/sca/bom/buildinfo/technologies/java/mvn.go#L231
Alternative way
Another way is to provide the settings.xml with the command line so we can override the configuration