Page tree




In This Document 


Was this document useful? 
Your Rating:
Results:
1 Star2 Star3 Star4 Star5 Star
2 rates


Have a suggestion for the Armor Knowledge Base? Send a message to kb@armor.com.



Overview

This API call applies to both Armor Complete and Armor Anywhere users.

The Get Packages Status API retrieves data for the operating system patching status of your virtual machines. 

You can use this API to find the Core Instance ID (coreInstanceID). You will need this ID for other security-related APIs.


Sample request

GET https://api.armor.com/core/packages/status

Input

The following table describes the different parts of this API call: 

API Call / URLMethod / Type
/core/packages/statusGET


There are no parameters for this API call. 


Sample return

StatusResponse
200
[
 {
   "coreInstanceId": "eeb7823e-8e23-462e-a39a-0648ad4c639e",
   "name": "HOST01",
   "provider": "anywhere",
   "providerFullName": "aws",
   "primaryIp": null,
   "os": "CentOS 7",
   "lastPatched": "2015-11-08T20:37:15.567",
   "pendingUpdates": 0,
   "securityUpdates": 0,
   "servicePacks": 0,
   "criticalUpdates": 0,
   "rebootRequired": true,
   "dateReboot": null,
   "overallPatchingStatus": 1,
   "rebootStatus": 1,
   "securityUpdateCountStatus": 1,
   "lastPatchedDateStatus": 1
 }
]
400
Bad Request