GetProductInfo

Description

Will query product information.

Required database file: vmod-om.dat or vmod.dat

The json_in parameter must provide the following JSON:

{
      "input" :
      {
             "method" : 6,
             "product_id" : number
      }
}

Key

JSON

Description

method

number

The method that is being called.
#define WA_OFFLINE_VMOD_V4_GET_PRODUCT_INFO 6

product_id

number

The id of the product returned from the detection call.

The json_out parameter will contain the following JSON result upon successful call:

{
"product_id": number,
"product_name": string,
"vendor_id": number,
"vendor_name": string,
"signature": number,
"sig_name": string
}

Key

JSON

Description

product_id

number

The id of the product to get information about.

product_name

string

The name of the product returned from a detection call.

vendor_id

number

The id of the vendor associated with the product.

vendor_name

string

The name of the vendor.

signature

number

The signature associated with the product and a version.

sig_name

string

The name of the signature.