List Antivirus Definitions

Use this API Call to query our Data Extraction API to extract data gathered by N-sight RMM.This section shows the service name and parameters needed in the API Call query, and provides examples of some queries and system responses. For more information, see Data Extraction API.

Service name: list_av_definitions

URL

https://SERVER/api/?apikey=yourAPIkey&service=list_av_definitions

&required_parameters=required_parameters

[&optional_parameters=optional_parameters]

Description

Lists the most recent definition versions and date released for a given AV product. By default shows up to the last 20 versions.

Parameters

Post Variable

Description

Type

Required

Options

Default

describe

Optional. Returns a description of the service.

boolean

no

true

0

product

Antivirus product ID as returned by list_supported_av_products in the <id>...</id> tag

i.e. <id>mcafee</id>

string

yes

0

0

max_results

Optional. Maximum number of definitions to return.

integer

no

0

20

Example Service Call =list_av_definitions

https://SERVER/api/?apikey=yourAPIkey&service=list_av_definitions&product=ANTIVIRUS_PRODUCT_ID&max_results=NUMBER

Example Response

<?xml version="1.0" ?>

<result created="2009-09-24T12:28:44+01:00" host="SERVER" status="OK">

<definitions>

  <definition>

    <product>kaspesky</product>

    <version>26092006 1858 </version>

       <date>2006-09-26 17:55:34 </date>

  </ definition >

  < definition >

  …

  </ definition >

  </products>

</result>

Fields Description

Field

Type

Can Be Empty

Description

product

string

no

The product ID

version

string

no

The definition version of the product.

date

date

no

The date and time this definition was released.

 

Example Associated Service Calls
Parameter Call URL Format
product list_supported_av_products

https://SERVER/api/?apikey=yourAPIkey&service=list_supported_av_products