Device Policy Check

API version2.2
Last Update05/28/2015
AuthenticationYES
Response FormatJSON
HTTP MethodGET
Rate limitedYES
Requests per rate limit10/min

Use to fetch compliance status of a given device

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 information0
optintURLOptional0 - MAC address 1 - HWID 3 - SSID0

Response HTTP Code

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

Response Parameters

KeyDatatypeDescription
policy_namestring(Not available, reserved for future) policy name in Policy manager
userstring(Not available, reserved for future) user in Policy manager.
locationstring(Not available, reserved for future) location in Policy manager.
device_typestringdevice type (laptop, desktop, vm, server, phone) of device.
os_typestringoperating system type
statusint

Device status. This status is based on the defined policy within MetaDefender IT Access.

Status values are:

  • 0 – the endpoint is in compliance with My OPSWAT Central Management account’s policies
  • 1 – the endpoint is not in compliance with My OPSWAT Central Management account’s policies
  • 2 – the endpoint is not found, it means that the endpoint does not have the My OPSWAT Central Management installed
  • 3 – the endpoint is still sending information to My OPSWAT Central Management and not yet completed
total_issueintNumber of issues were seen on the device
total_critical_issueintNumber of critical issues were seen on the device
critical_statusint

This critical status is based on the defined policy within My OPSWAT Central Management. 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
last_seenstringtimestamp of the last time when the endpoint device sent a health report to the server.
issuesarray<object>Lists any/all issues of given endpoint device. If a device is without issue, the issues array will appear blank (as shown in the example below). For those devices with issues, each issue will be listed out within issue_text (as shown in the example below).
issues.<category_group>array<object>issues found in a category group on the device
issues.<category_group>.categorystringcategory name
issues.<category_group>.issuesarray<string>issue descriptions
remediationstring(Not available, reserved for future) remediation, in Policy manager
remediation_linkstringURL on remediation page for given device
notificationstring(Not available, reserved for future) notification can be no notification with just background log/notification using sms/notification using email, in Policy manager
infectionsarrays<object>Infection details
infections.categorystringInfections category name
infections.critical_statusint0 - no critical issue, 1 - has critical issue
infections.total_threatsintnumber of detected threats
infections.has_issueint0 - no issue, 1 - out of compliance
infections.has_critical_issueint0 - no critical issue, 1 - has critical issue
infections.threatsarray<object>detailed threats
infections.threats.ThreatNamestringName of threat found
infections.threats.Filestringfile which the threat found
infections.threats.FoundTimestringThe timestamp in GMT format when the threat found.
infections.threats.hashstringhash code of the scanning object if the object is a file or process
infections.threats.linkstringa URL to view scan details on Metadefender Cloud
infections.threats.ip_addressstringIP which a device connecting to
infections.threats.statusstringindicates the scanning object is clear, dirty or in-progress
infections.threats.detailsarray<object>details of IP connections
infections.threats.details.source_namestringSource of the feed, usually the domain where the feed is from (e.g., example.com)
infections.threats.details.assessmentstringType of threat detected
infections.threats.details.confidentstringRepresents the reliability of the detection based on several factors. The higher the score, the more reliable the result.
infections.threats.geo_infoobjectAn object represents the geolocation of address
infections.threats.geo_info.citystringCountry name of the network address (e.g., Brazil)
infections.threats.geo_info.country_namestringCountry name of the network address (e.g., BR)
infections.threats.geo_info.country_codestringRegion name of the network address (e.g., San Paulo)
infections.threats.geo_info.region_namestringRegion code of the network address (e.g., 27)
infections.threats.geo_info.region_codestringCity name of the network address (e.g., San Paulo)
infections.last_scan_timestringThe timestamp in GMT format when the agent did a scan
infections.total_enginesintnumber of engines scanned a file
infections.total_sourcesintnumber of source of the feed
infections.last_reportstringthe timestamp in GMT format when agent reported threat log from local anti-malware products

Example

Example Request (verbose = 0)

Copy

*Example Response *(verbose = 0)

Copy

*Example Request *(verbose = 1)

Copy

*Example Response for Wins/macOS devices *(verbose = 1)

Copy

*Example Response for iOS/Android devices *(verbose = 1)

Copy

History

VersionURL
2.0auto$
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard