GetRemediations

Description

Will query for remediation information for the product.

Required database file: vmod.dat

The json_in parameter must provide the following JSON:

{
      "input" :
       {
            "method" : 1,
            "signature" : number,
            "product_id" : number,
            "os_type" : number,
            "version" : string
      }
}

Key

JSON

description

method

number

The method that is being called.
#define WA_OFFLINE_VMOD_V4_GET_REMEDIATION 1

signature

number

The signature id of the product returned from the detection call.

product_id

number

The id of the product returned from the detection call.

os_type

number

The type of the operating system. Type 0 means unspecified, type 1 is Windows, 2 is Linux and 4 is MacOS.

version

string

The current version of the queried product.

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

{
"remediation_link": string
}

Key

JSON

Description

remediation_link

string

A link where product updates or patches can be obtained.