Skip to content

How to disable hostedSuppressions #5508

@alfred-thomas

Description

@alfred-thomas

I am looking to disable hostedSuppressions when using the Gradle plugin 8.0.1 since the URL is not accessible via our proxy. Initially I tried adding this in my Gradle config

hostedSuppressions {
     enabled = false
}

This did not work. I get the error below:
Could not set unknown property 'enabled' for object of type org.owasp.dependencycheck.gradle.extension.HostedSuppressionsExtension

I then noticed documentation states
hostedSuppressions | enabled | The number of hours to wait before checking for new updates of the hosted suppressions file

http://jeremylong.github.io/DependencyCheck/dependency-check-gradle/configuration.html

Is this correct and intentional? And what can I do to disable this feature?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions