Status Change v2.1

API version2.1
Last Update01/30/2018
AuthenticationYES
Response FormatJSON
HTTP MethodGET
Rate limitedYES
Requests per rate limit10/min

Use to obtain status change (delta) of all devices in an account in a particular time frame.

API URL

Copy

Request Parameters

KeyDatatypeParameter TypeRequiredDescriptionDefault
access_tokenstringURLYesaccess token which archived from OAuth authentication step
verboseintURLOptional1 - extra detailed information will return in response
0 - response does not include detailed information
0
agelongURLOptionalSpecify age of the information in seconds. Value is from 0 to 86400
For example if you want delta of information for last 5 minutes you need to set age as 300;
86400
os_typestringURLOptional

Specify operating system of devices you want to fetch data

  • If os_type is "win_or_mac", return only Windows/Mac devices

  • If os_type is "linux_or_mobile", return status for linux or mobile devices

win_or_mac

Response HTTP Code

HTTP CodeDescription
200Success
401Unauthorized. Your access_token is invalid or expired

Response Parameters

KeyDatatypeVerboseDescription
devicesarray<object>Lists of devices which changed status in the particular time frame
devices.hwidHardware ID of a device.
devices.mac_addressarray<string>OFFOnly available when device status as 2 or Verbose set as OFF Lists of MAC addresses of network inferfaces of a device
devices.statusint

Reports the health status of the endpoint device as identified by the Mac Address. This status is based on the defined policy within MetaAccess. Status values are:

  • 0 – the endpoint is in compliance with MetaAccess account’s policies

  • 1 – the endpoint is not in compliance with MetaAccess account’s policies

  • 2 – MAC address is not found, it means that the agent was uninstalled on the endpoint or deleted on MetaAccess console.

  • 3 – the endpoint is still sending information to MetaAccess and not yet completed

Note: if a device doesn't exist on the cloud any more (status as 2), very minimum information will be returned: hwid, and mac_addresses

devices.critical_statusint

This critical status is based on the defined policy within MetaAccess. This status apply for the whole device. Critical status values are:

  • 0 – the endpoint doesn't have critical issues

  • 1 – the endpoint has critical issues

  • 2 – the endpoint is not found

devices.total_issueintNumber of issues were seen on the device.
devices.total_critical_issueintNumber of critical issues were seen on the device
devices.policy_namestringONReversed for future Policy name which the device is assigned to
devices.userstringONUsername of a group.
devices.user_infoobjectONDetails of a user who logging on the device
devices.user_info.usernamestringONusername who currently logs in. This field will be removed if it's set as privacy
devices.user_info.domainstringONdomain which the current user logged in
devices.locationstringONReserved for future
devices.device_typestringONSpecific device type (laptop, desktop, vm, server)
devices.os_infoobjectONDetailed Operating System information
devices.os_info.familystringONOS family
devices. os_info.namestringONOS name
devices.os_info.vendorstringONOS vendor
devices.os_info.versionstringONOS version
devices.os_info.service_pack_versionstringONOS Service Pack Version
devices.os_info.architecturestringONOS architecture
devices.os_info.os_languagestringONOS language
devices.os_info.user_password_setintONIf user password is set on OS, 1 is set, 0 is not set
devices.agent_typeintON

Agent type that runs on the device. (optional) agent_type values are:

  • 0 – Persistent
devices.network_infoarray<object>ONNetwork adapter information block
devices.network_info.mac_addrstringONMAC address for adapter. This field will be removed if it's a non-collectible to each fields which related to privacy.
devices.network_info.ipv4_addrstringONIPV4 address. This field will be removed if it's a non-collectible to each fields which related to privacy.
devices.network_info.ip6_addrstringONIPV6 address. This field will be removed if it's a non-collectible to each fields which related to privacy
devices.last_seenstringONtimestamp when the endpoint device sent the last health report to the server.
devices.issuesarray<object>ONLists of issues of the given device. If a device is without issue, the issues array will appear blank (as shown in the example below)
devices.issues.<category_group>array<object>ONDetails of issues on a specific category group
devices.issues.<category_group>.categorystringONCategory name which has issues
devices.issues.<category_group>.issuesarray<string>ONLists of issues a device has in a specific category
devices.infectionsarray<object>ONThat includes scanning for malware on active programs as well as automatically uploading files to Metascan Online for additional scanning when not recognized. Additionally, we report on any repeated threats detected by your installed antivirus.
devices.infections.categorystringON

Type of infection scan.

  • malware_scan: Daily Anti-malware Infection scan

  • repeated_threats: repeated threats detected by local anti-malware products.

  • ip_scan: IP Connections scan

devices.infections.critical_issueintON0 - no critical issue, 1 - has critical issue
devices.infections.has_issueintON0 - no issue, 1 - out of compliance
devices.infections.has_critical_issueintON0 - no critical issue, 1 - has critical issue
devices.infections.total_threatsintONTotal of found threats.
devices.infections.total_enginesintONTotal of engines which used to scan.
devices.infections.total_sourceintONnumber of sources of the feed
devices.infections.last_scan_timestringONTimestamp of the last scan.
devices.infections.last_reportstringONTime stamp of the last report.
devices.infections.threatsarray<object>ONLists of found threats.
devices.infections.threats.FoundTimestringONTimestamp when the threat was found.
devices.infections.threats.ThreatNamestringONThreat name
devices.infections.threats.FilestringONFile which found a threat
devices.infections.threats.linkstringONURL on Metadefender Cloud to check scan details
devices.infections.threats.hashstringONUnique hash (fingerprint) of the threat.
devices.infections.threats.actionstringONLast action taken by the local anti-malware product.
devices.infections.threats.found_timestringONTimestamp when the repeated threat was last seen.
devices.infections.threats.times_detectedstringONNumber of times the threat was seen by the local anti-malware product
devices.infections.threats.engine_namestringONlocal anti-malware product which detected the threat
devices.infections.threats.ip_addressstringONsuspicious IP address which a device connecting to
devices.infections.threats.detailsobjectONDetails of the suspicious IP address
devices.infections.threats.details.confidentintONRepresents the reliability of the detection based on several factors. The higher the score, the more reliable the result.
devices.infections.threats.details.source_namestringONSource of the feed, usually the domain where the feed is from (e.g., example.com )
devices.infections.threats.details.assessmentstringONType of threat detected
devices.infections.threats.statusstringONindicates the scanning object is clear, dirty or in-progress
devices.infections.threats.geo_infoobjectONAn object represents the geolocation of address
devices.infections.threats.geo_info.citystringONCountry name of the network address (e.g., Brazil)
devices.infections.threats.geo_info.country_namestringONCountry name of the network address (e.g., BR)
devices.infections.threats.geo_info.country_codestringONRegion name of the network address (e.g., San Paulo)
devices.infections.threats.geo_info.region_namestringONRegion code of the network address (e.g., 27)
infections.threats.geo_info.region_codestringONCity name of the network address (e.g., San Paulo)
devices.remediationstringONReversed for future
devices.remediation_linkstringONRemediation page URL of the device.
devices.notificationstringONReversed for future

Example

Example Request:

Copy

Example Response **with verbose as OFF for Windows and macOS devices**

Copy

Example Response: with verbose as ON for Windows and macOS devices

Copy

Example response: **with verbose as ON for Linux, iOS, and Android devices**

Copy

Example response: when there is no devices changes status

Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard