Endpoint
/api/v2/tenants/{tenantId}/resources/{resourceId}/patches/scan/status
Path Parameters
tenantId
string

Describes the clientId of the tenant

resourceId
string

Unique Identifier (UUID) of patched resource

Responses

OK

device
object

device.clientUniqueId
device.generalInfo
device.id
device.type
scanStatus
object

scanStatus.lastPatchScanDate
scanStatus.lastPatchScanStatus
scanStatus.missingPatchesAfterScan
scanStatus.missingPatchesBeforeScan
scanStatus.noOfMissingPatchesFoundInLastScan
{
  "device": {
    "clientUniqueId": "client_16",
    "generalInfo": {
      "aliasName": "",
      "hostName": "opsrampdev",
      "ipAddresses": "10.0.4.15",
      "osName": "Ubuntu 14.04.5 LTS",
      "resourceName": "",
      "resourceType": "Linux"
    },
    "id": "2ca44d27-888e-4ddb-a5ee-89eb962798fe",
    "type": "DEVICE"
  },
  "scanStatus": {
    "lastPatchScanDate": "2019-06-23T11:14:43+0000",
    "lastPatchScanStatus": "success",
    "missingPatchesAfterScan": 134,
    "missingPatchesBeforeScan": 134,
    "noOfMissingPatchesFoundInLastScan": 0
  }
}