GetDatabaseInfo
Description |
Will return information on loaded database. |
Required database file: vmod-om.dat or vmod.dat
The json_in parameter must provide the following JSON:
{
"input"
:
{
"method"
:
10
}
}
Key |
JSON |
Description |
method |
number |
The method that is being called. #define WA_OFFLINE_VMOD_V4_GET_DATABASE_INFO 10 |
The json_out parameter will contain the following JSON result upon successful call:
{
"version"
: string,
"schema_version"
: string,
"published_epoch"
: string,
"number_of_cves"
: number,
"number_of_msbs"
: number,
"number_of_kbs"
: number
}
Key |
JSON |
Description |
version |
string |
Version of the database. |
schema_version |
string |
Schema version of the database. |
published_epoch |
string |
The timestamp the database was published. |
number_of_cves |
number |
Number of CVE feeds in the database. |
number_of_msbs |
number |
Number of MSB feeds in the database. |
number_of_kbs |
number |
Number of KB feeds in the database. |