mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-17 23:04:07 +01:00
externalized central search query so future changes can be handled via a properties change - issue #978
This commit is contained in:
@@ -72,6 +72,9 @@ analyzer.nexus.proxy=true
|
||||
# the URL for searching search.maven.org for SHA-1 and whether it's enabled
|
||||
analyzer.central.enabled=true
|
||||
analyzer.central.url=https://search.maven.org/solrsearch/select
|
||||
# Note - the central query is used in a String.format(query, url, sha1)).
|
||||
# As such, it must have two %s and any other % must be escapped by doubling it
|
||||
analyzer.central.query=%s?q=1:%%22%s%%22&wt=xml
|
||||
|
||||
# the URL for searching api.nodesecurity.io
|
||||
analyzer.nsp.url=https://api.nodesecurity.io/check
|
||||
|
||||
Reference in New Issue
Block a user