GetDirectVulnerability

Description

Will query vulnerabilities associated with ids of static feeds.

Required database file: vmod.dat

The json_in parameter must provide the following JSON:

{
"input" :
{
"method" : 7,
"sources": array<string>,
"static_ids" : [
number,
...
]
}
}

Key

JSON

Description

method

number

The method that is being called.
#define WA_OFFLINE_VMOD_V4_GET_FILE_VULNERABILITIES 7

sources

array<string>

(Optional) An array of sources of vulnerability to query from. Allowed values are "CVE", "MSB" and "KB". Default value is "CVE".

static_ids

array<number>

The ids of static feeds in database

The json_out is the same with GetProductVulnerability json output