IsDefunct

Description

Will query if product may be defunct (that is is no longer being actively supported with bug fixes and vulnerability fixes).

Required database file: vmod.dat

The json_in parameter must provide the following JSON:

{
        "input" :
         {
                 "method" : 2,
                 "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_IS_DEFUNCT 2

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

number

The current version of the queried product.

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

{
"is_defunct": boolean
}

Key

JSON

Description

is_defunct

boolean

True if this product is known to be no longer actively supported with patches, fixes and updates and false otherwise.