Status Change

API version3.0
Last Update01/30/2018
AuthenticationYES
Response FormatJSON
HTTP MethodPOST
Content Typeapplication/json
Rate limitedYES
Requests per rate limit10/min
History04/10/2018: fixed a bug that the API returns HTTP 400 instead of 406 if the limit parameter is greater than 50

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

API URL

API URL
Copy

Request Parameters

KeyDatatypeParameter TypeRequiredDescriptionDefault
access_tokenstringURLYesaccess token which archived from OAuth authentication step here.
ageintBodyOptionalSpecify 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
verboseintBodyOptional

Specify what information you want to see in response

  • 0: no issue details in the response
  • 1: device issue details are returned in the response
0
pageintBodyOptionalSpecify page number which devices will be returned in. If the requested page exceeds the number of pages of devices, error code will be 413. It means that the requested page number is too large, no devices will be returned in this case.1
limitintBodyOptionalSpecify maximum number of devices will be returned in the response. The value should be in [1,50]. If there are more devices than what the limit asks for, error code will be 406.20

Response HTTP Code

See APIs

Response Parameters

KeyDatatypeDescription
device_idstringHardware ID of the 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
status_detailobject

status detail of device. Values are:

  • exempted:

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

    • 0: device reported to MetaDefender IT-OT Access cloud

    • 1: device has not been reported to MetaDefender IT-OT Access cloud yet

  • compliant :

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

Severity level. Values are

  • critical: device has critical issues
  • warning: device has warnings
  • no-issues: device doesn't have any issues
issueobjectIssue details on the device
issue.total_issuesintTotal issues on the device
issue.total_critical_issuesintTotal critical issues on that device
issue.total_warning_issuesintTotal warnings on the device
group_namestringgroup name which a device is assigned to
device_namestringHostname of the device. It will get "<private>" value if it's a non-collectible to each fields which related to privacy.
nick_namestringa nickname for the device which an administrator can update on the MetaDefender IT-OT Access console
device_typestringThe type of the device
agent_versionstringLocal resident MetaDefender IT-OT Access 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
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 Settings tab in Settings > Global.
user_infoobjectUser information block
user_info.usernamestringusername of 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
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_setintValues are 0: password is not set 1: password is 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 disabled field in relation to privacy settings.
network_info.ipv4stringIPv4 addresses associated with the network adapter. This field will be remove if it's a disabled field in relation to privacy settings.
network_info.ipv6stringIPv6 addresses associated with the network adapter. This field will be remove if it's a disabled field in relation to privacy settings.
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

Example 1: verbose as OFF

Request:

Copy

Response

Copy

Example 2: verbose as ON for device detail

Request:

Copy

Response

Copy

Example 3: when there is no devices changes status

Request:

Copy

Response

Copy

History

VersionURL
v2.1Status Change v2.1
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard