Skip to content

Configuration option to set baseUrl for OSS Index #5036

@chovyy

Description

@chovyy

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions