Device Details v3.1

API version3.1
Last Update04/10/2018
AuthenticationYES
HTTP MethodPOST
Content Typeapplication/json
Rate limitedYES
Requests per rate limit10/min
Response FormatJSON
Changes04/10/2018 : Added last_reboot parameter to response API

Use to fetch device details by ID or MAC address.

API URL

Copy

Request Parameters

KeyDatatypeParameter TypeRequiredDescriptionDefault
access_tokenstringURLYesaccess token which archived from OAuth authentication step
idsArrayBodyYesThe list of Device ID or MAC Address of a devices you want to fetch information. Max length is 50 devices
verboseobjectBodyOptionalSpecify what information you are look for
verbose.system_infointBodyOptional

Specify if system information are included on the response Values can be:

  • 0: not include
  • 1: include
1
verbose.categoriesintBodyOptional

Specify if categories issues the device has are included on the response Values can be:

  • 0: not include
  • 1: include
0
verbose.unclassifiedintBodyOptional

Only applicable for Wins/macOS devices Specify if unclassified applications are included on the response Values can be:

  • 0: not include
  • 1: include
0
verbose.mobile_appsintBodyOptional

Only applicable for iOS/Android devices Specify if installed applications are included on the response Values can be:

  • 0: not include
  • 1: include
0
verbose.detected_processesintBodyOptional

Only applicable for Linux devices Specify if running processes are included on the response Values can be:

  • 0: not include
  • 1: include
0
verbose.detected_packagesintBodyOptional

Only applicable for Linux devices Specify if installed packages are included on the response Values can be:

  • 0: not include
  • 1: include
0
verbose.detected_patchesintBodyOptional

Only applicable for wins/macOS devices Specify if missing OS patches are included on the response Values can be:

  • 0: not include
  • 1: include
0

Response HTTP Code

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

Response Parameters

KeyDatatypeReturned whenDescription
device_idstringDevice ID which MetaAccess generates unique for a device
statusstring

status of device. Values are:

  • compliant: device is in compliance with a policy which the device is assigned to on your account
  • non-compliant: device is not in compliance with a policy which the device is assigned to on your account
  • exempted: device is exempted
  • out_of_license_usage: device is out of token usage.
  • unknown: device is not installed MetaAccess agent
  • ignored: device is not installed MetaAccess agent and ignored by an administrator
  • deleted: device is deleted
  • not-found: device is not found
status_detailobject

status detail of device. Values are:

  • agent_installed :

    • 1 : device is installed MetaAccess agent
    • 2 : device is not installed MetaAccess agent but detected by Network Discovery or Domain Controller agent
    • 3 : device is not installed MetaAccess agent but detected by Network Discovery or Domain Controller agent and ignored by an administrator
  • out_of_token:

    • 0 :device is not out of token usage
    • 1 :device is out of token usage
  • exempted:

    • 0: device is not exempted
    • 1: device is exempted
  • pending:

    • 0: device reported to MetaAccess cloud
    • 1: device has not been reported to MetaAccess cloud yet
  • compliant :

    • 0: device is non-compliance with policy
    • 1: device is in compliance with policy
  • quarantined :

    • 0: device is not quarantined
    • 1: device is quarantined
severitystring

Severity level. Values are

  • critical: device has critical issues
  • warning: device has warning issues
  • no-issues: device doesn't have any issues
issueobjectIssue details on the device
issue.total_issuesintTotal issues of device
issue.total_critical_issuesintTotal critical issues of device
issue.total_warning_issuesintTotal warning issues of device
group_namestringgroup name which a device is assigned to
agent_typestringType of agent Values: managed – Managed device dc - Domain controller device
device_namestringverbose.system_info = 1Hostname of the device. It will get "<private>" value if it's a non-collectible to each fields which related to privacy.
nick_namestringverbose.system_info = 1a nickname for the device which an administrator can update on the MetaAccess console
device_typestringThe type of the device
agent_versionstringLocal resident MetaAccess agent version
oesis_versionstringSDK version which the agent is running
last_seenstringThe last timestamp in GMT format when the agent reports data to the Cloud
last_rebootstringThe last timestamp in GMT format when device reboots
public_ipstringpublic IP of the device in the last report
countrystringRegion where the device IP geographically represents
user_identitystringCustom user identity information. This is only available if the account enables "Enforce users enter custom information" on Advanced Setting tab on Global Settings
user_infoobjectUser information block
user_info.usernamestringusername who currently logs in. This field will be remove if it's set as privacy
user_info.domainstringCurrently logged in user domain
remediation_linkstringremediation page URL of the given device
categoriesarray<object>Details of each posture category
categories.category_idstringcategory ID which the current block stands for
categories.issueint

Severity of the category based on the defined policy on your MetaAccess account. Values are:

  • -1 - category is disabled
  • 0 – no issues
  • 1 – warning
  • 2 – critical
categories.appsarray<object>detailed products in a category
categories.apps.idstringProduct ID
categories.apps.namestringName of the product
categories.apps.vendorstringName of the product vendor
categories.apps.versionstringProduct version
categories.apps.ar_idstringApp remover ID of the product
categories.apps.issueint

Severity of the product based on the defined policy on your MetaAccess account Values are:

  • -1 - Not an approved product
  • 0 - no issues
  • 1 - warning
  • 2 - critical
categories.apps.health_statusarray<object>health information of the product
categories.apps.health_status.statusstringproduct compliance details
categories.apps.health_status.issueint

Severity of the health_status based on the defined policy on your MetaAccess account Values are:

  • 0 - no issues
  • 1 - warning
  • 2 - critical
unclassifiedarray<object>Lists of unclassified products
unclassified.idstringproduct ID
unclassified.namestringproduct name
unclassified.vendorstringproduct vendor
unclassified.versionstringproduct version
os_infoobjectOperation system information
os_info.familystringOS family
os_info.namestringOS name
os_info.vendorstringOS vendor
os_info.versionstringOS version
os_info.service_pack_versionstringOS Service Pack Version
os_info.architecturestringOS architecture
os_info.os_languagestringOS language
os_info.user_password_setintIf user password is set on OS, 1 is set, 0 is not set
network_infoarray<object>Network adapter information block
network_info.descriptionstringnetwork card description
network_info.macstringMedia Access Control (MAC) address of the network adapter.. This field will be remove if it's a non-collectible to each fields which related to privacy.
network_info.ipv4stringIPv4 addresses associated with the network adapter. This field will be remove if it's a non-collectible to each fields which related to privacy.
network_info.ipv6stringIPv6 addresses associated with the network adapter. This field will be remove if it's a non-collectible to each fields which related to privacy.
network_info.subnet_maskstringthe subnet mask associated with the current network adapter.
network_info.media_statestringnetwork card state
network_info.dhcp_enabledstringDHCP enabled state of installed network adapter.
network_info.dhcp_obtainedstring(Optional)The timestamp in GMT format when the lease was obtained for the IP address assigned to the computer by the DHCP server.
network_info.dhcp_expiresstring(Optional)The expiration timestamp in GMT format for a leased IP address that was assigned to the computer by the DHCP server.
network_info.dhcp_serverstring(Optional)IP address of the dynamic host configuration protocol (DHCP) server.
network_info.adapter_enabledstringIndicates whether the adapter is enabled or not.
network_info.default_gatewaystring(Optional)Array of IP addresses of default gateways that the computer system uses.
network_info.dns_addressesarray<string>(Optional)Array of server IP addresses to be used in querying for DNS servers.
link_userobjectUser is linked by admin (editable)
link_user.usernamestringUsername is linked to device by admin
link_user.groupstringGroup is linked to device by admin
mobile_appsarray<object>Only applicable for iOS/Android devices Lists of applications installed on the device
mobile_apps.namestringapplication name
mobile_apps.vendorstringapplication vendor
mobile_apps.community_ratestringrating from community
mobile_apps.community_reviewerstringnumber of community reviewers who reviewed the application
detected_processesobjectOnly applicable for Linux devices Details about running processes on the device when the device reports data to MetaAccess cloud
detected_processes.totalintnumber of running processes on the device when the device reports data to MetaAccess cloud
detected_processes.processesarray<object>Lists of running processes on the device when the device reports data to MetaAccess cloud with details
detected_packagesobjectOnly applicable for Linux devices Details about packages installed on the device when the device reports data to MetaAccess cloud
detected_packages.totalintnumber of packages installed on the device when the device reports data to MetaAccess cloud
detected_packages.packagesarray<object>Lists of packages installed on the device when the device reports data to MetaAccess cloud
detected_patchesobjectOnly applicable for Windows/macOS devices Details about missing patches on the device when the device reports data to MetaAccess cloud
detected_patches.timestampstringtimestamp in GMT format when the device reports data to MetaAccess cloud
detected_patches.totalintTotal missing patches on the device when the device reports data to MetaAccess cloud
detected_patches.patchesarray<object>Lists of missing patches on the device when the device reports data to MetaAccess cloud
detected_patches.patches.categorystringThe category of a missing patch: 'security_update', 'update_rollup', 'critical_update', 'update', 'driver', 'service_pack', 'unknown'.
detected_patches.patches.titlesstringThe title of a missing patch.
detected_patches.patches.descriptionstringThe description of a missing patch.
detected_patches.patches.productstringThe product missing this patch.
detected_patches.patches.vendorstring(optional) The vendor of the product missing this patch
detected_patches.patches.severitystringThe severity of a missing patch: 'low', 'moderate', 'important', 'critical', 'unknown'.
detected_patches.patches.kb_namestring(optional)The knowledge base article id of a missing patch. May duplicate security_update_id on some platforms.
detected_patches.patches.release_datestringA timestamp in GMT format when a patch is released
infectionobjectDetails on threat detection
infection.metascanobjectOnly applicable for Windows/macOS/Linux devices Infection information block which is detected by Metadefender Cloud
infection.metascan.totalintTotal infections which is detected by Metadefender Cloud
infection.metascan.issueint

Status of Daily Metadefender Cloud anti-malware scan based on a device policy on your MetaAccess account Values are:

  • -1 – category is disabled
  • 0 – category doesnot have issues
  • 1 – category has issues
  • 2 – category has critical issues
infection.metascan.threatsarray<object>Lists of found threats
infection.metascan.threats.criticalint

Critical status of the threat Values are:

  • 0 – not critical
  • 1 – critical
infection.metascan.threats.scan_timestringtimestamp when found the threat
infection.metascan.threats.filestringFile was found the threat
infection.metascan.threats.hashstringhash of the file
infection.metascan.threats.threat_namestringThreat name
infection.metascan.threats.detailsarray<object>threat details on each engine which detected the threat
infection.metascan.threats.details.threat_namestringThreat name which detected on a specific engine
infection.metascan.threats.details.av_namestringengine name
infection.antivirusobjectOnly applicable for Windows/macOS devices Repeated threat details detected by local anti-malware applications
infection.antivirus.totalintTotal repeated threats which are detected by local anti-malware applications
infection.antivirus.issueint

Status of repeated threats based on a device policy on your MetaAccess account Values are:

  • -1 – category is disabled
  • 0 – category doesnot have issues
  • 1 – category has issues
  • 2 – category has critical issues
infection.antivirus.threatsarray<object>Lists of repeated threats
infection.antivirus.threats.criticalint

Critical status of the threat Values are:

  • 0 – not critical
  • 1 – critical
infection.antivirus.threats.scan_timestringLast timestamp when the threat was detected
infection.antivirus.threats.repeatintNumber of times the threat was detected
infection.antivirus.threats.filestringFile was detected as a threat
infection.antivirus.threats.hashstringhash of the file
infection.antivirus.threats.threat_namestringthreat name
infection.antivirus.threats.product_namestringproduct name which detected the threat
infection.antivirus.threats.product_vendorstringvendor name
infection.antivirus.threats.product_versionstringproduct version
infection.antivirus.threats.severitystringthreat severity
infection.antivirus.threats.actionstringThe type of remediation ( unknown, cleaned, deleted, quarantined)
infection.ip_scanningobjectOnly applicable for LINUX/MOBILE devices Details of daily scan for suspicious IP connections
infection.ip_scanning.totalintTotal of suspicious IPs
infection.ip_scanning.issueint

Status of the suspicious IP based on a device policy on your MetaAccess account Values are:

  • -1 – category is disabled
  • 0 – category doesnot have issues
  • 1 – category has issues
infection.ip_scanning.threatsarray<object>Lists of suspicious IPs
infection.ip_scanning.threats.geo_infoobjectAn object represents the geolocation of the suspicious IP
infection.ip_scanning.threats.geo_info.country_codestringRegion name of the network address (e.g., San Paulo)
infection.ip_scanning.threats.geo_info.citystringCountry name of the network address (e.g., Brazil)
infection.ip_scanning.threats.geo_info.country_namestringCountry name of the network address (e.g., BR)
infection.ip_scanning.threats.geo_info.region_namestringRegion code of the network address (e.g., 27)
infection.ip_scanning.threats.geo_info.region_codestringCity name of the network address (e.g., San Paulo)
infection.ip_scanning.threats.network_addressstringIP address of the suspicious IP
infection.ip_scanning.threats.statusstringindicates the scanning object is clear, dirty or in-progress
infection.ip_scanning.threats.total_sourceintnumber of total source
infection.ip_scanning.threats.threatsarray<object>details of IP connections
infection.ip_scanning.threats.threats.assessmentstringType of threat detected
infection.ip_scanning.threats.threats.confidentstringRepresents the reliability of the detection based on several factors. The higher the score, the more reliable the result.
infection.ip_scanning.threats.threats.source_namestringSource of the feed, usually the domain where the feed is from (e.g., example.com )

Example

Example Request: no verbose

Copy

Example Response

Copy

Example Request: verbose with extra information

Copy

Example Response

Copy

Example response for domain controller device

Copy

History

VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches