Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products

OpenManage Enterprise Version 3.3.1 and OpenManage Enterprise - Modular Edition Version 1.10.00 RESTful API Guide

PDF

GET method for DeviceComplianceReports

This method returns the compliance report for a specific baseline.

Description
Returns the compliance report for a baseline. The compliance report includes the URIs, /api/UpdateService/Baselines(Id)/DeviceComplianceReports(Id)/ComponentComplianceReports and /api/UpdateService/Baselines(Id)/DeviceComplianceReports(Id)/ComponentComplianceReports(Id), by default.
Privilege
VIEW
HTTP response codes
200
Example
Request:

Response:
{
  "@odata.context": "/api/$metadata#Collection(UpdateService.DeviceComplianceReport)",
  "@odata.count": 1,
  "value":
  [
    {
      "@odata.type": "#UpdateService.DeviceComplianceReport",
      "@odata.id": "/api/UpdateService/Baselines(9)/DeviceComplianceReports(9523)",
      "Id": 9523,
      "DeviceId": 25031,
      "ServiceTag": "JP00002",
      "DeviceModel": "PowerEdge MX740c",
      "DeviceTypeName": "SERVER",
      "DeviceName": "iDRAC-JP00002",
      "FirmwareStatus": "Compliant",
      "ComplianceStatus": "OK",
      "DeviceTypeId": 1000,
      "RebootRequired": false,
      "ComponentComplianceReports@odata.navigationLink": "/api/UpdateService/Baselines(9)/DeviceComplianceReports(9523)/ComponentComplianceReports"
    }
  ]
}
Table 1. AttributesThis table lists the attributes that this method supports.
Attribute Description
DeviceId Identifier for the device in the appliance.
ServiceTag Service Tag of the device.
DeviceModel Model of the device.
DeviceTypename Type of device, such as server or chassis.
DeviceName Name of the device.
FirmwareStatus Shows if firmware is compliant or not.
ComplianceStatus Shows the compliance status.
DeviceTypeId Numeric value for the device type such as server(1000).
RebootRequired Indicates if a reboot is required to make the device compliant.
Link Link to the component compliance report, identifying the software components on the device and if they match up against the catalog.

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\