I am using org.owasp.dependencycheck version 12.1.6. This my configuration in build.gradle
dependencyCheck {
nvd.apiKey = 'XXXXXX'
nvd.delay = XXXX
nvd.maxRetryCount = XX
nvd.resultsPerPage = XXXX
suppressionFile 'dependency-suppression.xml'
failBuildOnCVSS 3
analyzers.ossIndex.enabled = true
analyzers.ossIndex.username = 'XXXX'
analyzers.ossIndex.password = 'XXXXXXXXXXXXXXXX
analyzers.assemblyEnabled = false
}
But I am getting the below message
Disabling OSS Index analyzer due to missing user/password credentials. Authentication is now required: https://ossindex.sonatype.org/doc/auth-required
I tried moving the credentials to gradle.properties. But still I get the same message
Is there a working sample for gradle please
I am using org.owasp.dependencycheck version 12.1.6. This my configuration in build.gradle
dependencyCheck {
nvd.apiKey = 'XXXXXX'
nvd.delay = XXXX
nvd.maxRetryCount = XX
nvd.resultsPerPage = XXXX
suppressionFile 'dependency-suppression.xml'
failBuildOnCVSS 3
analyzers.ossIndex.enabled = true
analyzers.ossIndex.username = 'XXXX'
analyzers.ossIndex.password = 'XXXXXXXXXXXXXXXX
analyzers.assemblyEnabled = false
}
But I am getting the below message
Disabling OSS Index analyzer due to missing user/password credentials. Authentication is now required: https://ossindex.sonatype.org/doc/auth-required
I tried moving the credentials to gradle.properties. But still I get the same message
Is there a working sample for gradle please