Skip to content

jf curation-audit / jd audit support for proxy in maven project #660

@sikos

Description

@sikos

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions