Skip to content
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

Allow custom NVD API endpoint #111

Closed
meiswjn opened this issue Dec 8, 2023 · 2 comments
Closed

Allow custom NVD API endpoint #111

meiswjn opened this issue Dec 8, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@meiswjn
Copy link

meiswjn commented Dec 8, 2023

Is your feature request related to a problem? Please describe.
It can be useful to proxy the calls to NVD through something like Artifactory. This is different from the "datafeed" type, as it simply proxies the API. It would also allow injecting the API Key in Artifactory directly for everyone.

Describe the solution you'd like
I propose a new parameter "nvdEndpointUrl" that allows overriding the defautl endpoint. The client already supports this, so it should be fairly simple.

public NvdCveClientBuilder withEndpoint(String endpoint) {
this.endpoint = endpoint;
return this;
}

Describe alternatives you've considered
Using the datafeed requires running another app regularly.

@meiswjn meiswjn added the enhancement New feature or request label Dec 8, 2023
@jeremylong jeremylong transferred this issue from jeremylong/DependencyCheck Dec 8, 2023
@meiswjn
Copy link
Author

meiswjn commented Dec 8, 2023

Hey @jeremylong,
I think this repo already allows a custom API endpoint, but not the dependency check wrapper, or am I wrong?

Thanks!

@meiswjn
Copy link
Author

meiswjn commented Dec 15, 2023

Resolved by jeremylong/DependencyCheck#6287

@meiswjn meiswjn closed this as completed Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant