List all the device's compliance detail
filter | string Limit the resources operated on by an endpoint or when used with a multiple-GET endpoint, return only the subset of resources that match the filter. The filter grammar is a subset of OData 4.0. NOTE: The filter query parameter must use URL encoding.
Most clients do this automatically with inputs provided to them specifically as query parameters. Encoding must be done manually for any query parameters provided as part of the URL.
Group compliance can be filtered by:
The following examples are not an exhaustive list of all possible filtering options. Return device compliance data where a property equals a value.
<property> eq <value>
filter=score eq 0Return device compliance data where a property does not equal a value
not <property> eq <value>
filter=not complianceState eq 'NOT APPLICABLE'Return device compliance data with populated property.
not <property> eq null
filter=not bundleId eq nullReturn device compliance data where property contains a value.
contains(<property>, <value>)
filter=contains(productId,'A01')Return device compliance data where property is populated and property contains value.
not <property> eq null and contains(<property>, <value>)
filter=not bundleId eq null and contains(productId,'A01')Return device compliance data where property is one of multiple values.
<property>/<nestedProperty> in (<value>,<value>)
filter=complianceCategory in ('FIRMWARE','ILO_SETTINGS') |
Successful Response
Bad request
Unauthorized
Forbidden
Not found
Not acceptable
Internal server error
{- "offset": 0,
- "count": 1,
- "total": 12,
- "items": [
- {
- "groupId": "eb54e96e-21b8-4f54-9cd4-80fccbd06f55",
- "serial": "string",
- "productId": "string",
- "deviceId": "string",
- "bundleId": "string",
- "deviations": [
- {
- "componentName": "string",
- "installedVersion": "string",
- "expectedVersion": "string",
- "componentFilename": "string"
}
], - "score": 0,
- "complianceState": "COMPLIANT",
- "errorReason": "string",
- "remediation": { },
- "complianceCategory": "FIRMWARE",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "compute-ops-mgmt/group/compliance",
- "resourceUri": "/compute-ops-mgmt/v1/groups/c26e618b-4048-4aee-8e75-fbc984897a51/compliance/b73718fb-30c3-4b0f-bee3-f5dd598414f3",
- "deviceUri": "/compute-ops-mgmt/v1/servers/873357-P04+WKQ82425HD",
- "generation": 1,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
}