Skip to main content

VulnerableCode

VulnerableCode

An advisor that uses a VulnerableCode instance to determine vulnerabilities in dependencies.

Configuration

Example

{
"VulnerableCode": {
"options": {
"serverUrl": "https://public.vulnerablecode.io/api/",
"readTimeout": null
},
"secrets": {
"apiKey": null
}
}
}

Options

serverUrl

STRING Default

The base URL of the VulnerableCode REST API. By default, the public VulnerableCode instance is used.

apiKey

SECRET

The optional API key to use.

readTimeout

LONG

The read timeout for the server connection in seconds. Defaults to whatever is the HTTP client's default value.