Is your feature request related to a problem? Please describe.
Since it is currenty not possible to use the OssIndexAnalyzer without internet connection (see also #4881), it would be nice to be able to use a proxy of the OSS Index Service.
Describe the solution you'd like
Introduce a configuration option to set the baseUrl of the OSS Index Service, which is https://ossindex.sonatype.org/ by default.
Describe alternatives you've considered
Currenty, the only option is to disable the OssIndexAnalyzer when you don't have internet connection.
Additional context
The Oss Index Maven Plugin do have this option. Since DepencyCheck seems to make use of the OssClient library by Sonatype, the configuration of the baseUrl shouldn't be an issue.
The default can be seen here: OssindexClientConfiguration.java
Is your feature request related to a problem? Please describe.
Since it is currenty not possible to use the OssIndexAnalyzer without internet connection (see also #4881), it would be nice to be able to use a proxy of the OSS Index Service.
Describe the solution you'd like
Introduce a configuration option to set the baseUrl of the OSS Index Service, which is
https://ossindex.sonatype.org/by default.Describe alternatives you've considered
Currenty, the only option is to disable the OssIndexAnalyzer when you don't have internet connection.
Additional context
The Oss Index Maven Plugin do have this option. Since DepencyCheck seems to make use of the OssClient library by Sonatype, the configuration of the baseUrl shouldn't be an issue.
The default can be seen here: OssindexClientConfiguration.java