Device List - Managed Antivirus

Service name: mav_scan_device_list

Base URL

https://{SERVER}/api/?apikey={yourAPIkey}&service=mav_scan_device_list

Description

Managed Antivirus specified device list.

Parameters

Required parameters

Add required parameters immediately after the base URL.

https://{SERVER}/api/?apikey={yourAPIkey}&service=mav_scan_device_list&required_parameters={parameter-value}
ParameterDescriptionTypeOptionsDefault
deviceidThe deviceid must be a valid device id.integer00

Optional parameters

Add optional parameters after the required parameters in the base URL.

https://{SERVER}/api/?apikey={yourAPIkey}&service=mav_scan_device_list&required_parameters={parameter-value}&optional_parameters={parameter-value}
Parameter Description Type Options Default

describe

Optional. Returns a description of the entered call, the available parameters, an example of its output, and returned fields with descriptions.

boolean

true

0

v

Managed Antivirus engine version
1 VIPRE engine
2 Bitdefender engine
From Dashboard 2019.08.13 this call defaults to version 2 (Bitdefender).

integer

1
2

2

Determine parameter values

Use the following associated service calls to determine parameter values.

ParameterCallURL Format
deviceidlist_devices_at_clienthttps://{SERVER}/api/?apikey=yourAPIkey&service=list_devices_at_client&clientid=CLIENTID&devicetype=server
list_servershttps://{SERVER}/api/?apikey=yourAPIkey&service=list_servers&siteid=SITEID
list_workstationshttps://{SERVER}/api/?apikey=yourAPIkey&service=list_workstations&siteid=SITEID
siteidlist_siteshttps://{SERVER}/api/?apikey=yourAPIkey&service=list_sites&clientid=CLIENTID
clientidlist_clientshttps://{SERVER}/api/?apikey=yourAPIkey&service=list_clients

Examples

Device list

https://{SERVER}/api/?apikey={yourAPIkey}&service=mav_scan_device_list&deviceid=DEVICEID&v=VERSION

Example response

<?xml version="1.0" ?>
<scans>
  <scan>
    <threateventid>136</threateventid>
    <deviceid>6164</deviceid>
    <status>3</status>
    <scantype>Deep scan</scantype>
    <event_type>1</event_type>
    <scanstartdatetime>2024-05-18 12:00:01</scanstartdatetime>
    <scanenddatetime>2024-05-18 12:30:49</scanenddatetime>
    <threat_count>1</threat_count>
    <trace_count>1</trace_count>
    <quarantine_count>1</quarantine_count>
    <cookies_scanned>0</cookies_scanned>
    <files_scanned>20837</files_scanned>
    <folders_scanned>2046</folders_scanned>
    <registry_scanned>16528</registry_scanned>
    <processes_scanned>25</processes_scanned>
    <scan_errors>2</scan_errors>
    <duration>00:30:48</duration>
  </scan>
</scans>

Returned fields

Field Type Can Be Empty Description

threateventid

integer

no

Unique identifier of the threat.

deviceid

integer

no

Unique identifier of the device being monitored

statusid

integer

no

Numeric representation of the scan status, one of:

VIPRE Engine
3 - Finished
4 - Canceled
5 - Error
6 - Paused
7 - Running

Bitdefender Engine
0 - Scan Finished Normally
1 - Scan Aborted
2 - Scan Stopped
3 - Scan In Progress

scantype

string

yes

Scan type, one of

VIPRE Engine
-Quick Scan
-Deep Scan
-Active Protection
-Custom scan

Bitdefender Engine
-Active Protection
-Quick
-Deep
-Custom
-Behavioral
-IDS
-Device

VIPRE Engine: Please note that where a scan is still running the VIPRE engine will have in progress appended to the scantype.

event_type

integer

yes

Event type, one of:

VIPRE Engine
0 - Quick Scan
1 - Deep Scan
2 -Unquarantine
3 -Quarantine deleted
4 - Quarantine event
5 -Agent threat update
6 -Agent software update
7 -Active protection
8 -Custom scan
9 -System scan

Bitdefender Engine
-Active Protection
-Quick scan
-Deep scan
-Custom scan
-Behavioral scan
-IDS scan
-Device scan

engine

string

no

Managed Antivirus engine where this data originates from, either VIPRE or Bitdefender (field only present where v>1)

scanstartdatetime

datetime

no

Scan start date and time in agent local time.

For VIPRE engine scans currently in progress the time string also includes the number of days/hours/minutes since the scan began.

scanenddatetime

datetime

yes

Scan end date and time in agent local time (for scans that have already completed)

threat_count

integer

no

Number of threats detected

trace_count

integer

no

Number of traces detected

quarantine_count

integer

no

Number of threats quarantined

cookies_scanned

integer

no

Number of cookies scanned

files_scanned

integer

no

Number of files scanned

folders_scanned

integer

no

Number of folders scanned

Note: for Bitdefender engine scans this is always 0 as Bitdefender does not scan by folder.

registry_scanned

integer

no

Number of registry entries scanned

processes_scanned

integer

no

Number of processes scanned

scan_errors

integer

no

Number of scan errors

Note: for Bitdefender engine scans this is always 0.

duration

hours:min:sec

yes

Time taken to carry out scan in hours, minutes, and seconds.

This field is empty for scans that are still in progress.

engine

string

no

Managed Antivirus engine where this data originates from, either VIPRE or Bitdefender (field only present where v>1)