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.
Groups can be filtered by:
The following examples are not an exhaustive list of all possible filtering options. Return groups where a property equals a value.
<property> eq <value>
filter=name eq 'Production Group'Return groups where a nested property equals a value.
<property>/<nestedProperty> eq <value>
filter=autoAddServerTags/Department eq 'Development - Texas'Return group where name == my+group filter=name%20eq%20%27my%2Bgroup%27Return groups where a property does not equal a value
not <property> eq <value>
filter=not autoAddServerTags/Department eq 'Development - Texas'Return groups with populated property.
not <property> eq null
filter=not name eq nullReturn groups where property contains a value.
contains(<property>, <value>)
filter=contains(name,'Group')Return groups where property is populated and property contains value.
not <property> eq null and contains(<property>, <value>)
filter=not name eq null and contains(name,'Group')Return groups where property is one of multiple values.
<property>/<nestedProperty> in (<value>,<value>)
filter=autoAddServerTags/Department in ('Development - Texas','Development - Colorado') |
Successful Response
Bad request
Unauthorized
Forbidden
Not found
Not acceptable
Internal server error
{- "offset": 0,
- "count": 1,
- "total": 12,
- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "compute-ops/group/compliance",
- "generation": 1,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "resourceUri": "/compute-ops/v1beta2/groups/c26e618b-4048-4aee-8e75-fbc984897a51/compliance/b73718fb-30c3-4b0f-bee3-f5dd598414f3",
- "groupId": "eb54e96e-21b8-4f54-9cd4-80fccbd06f55",
- "serial": "string",
- "productId": "string",
- "serverId": "string",
- "complianceStatus": "COMPLIANT",
- "deviations": [
- {
- "componentName": "string",
- "installedVersion": "string",
- "expectedVersion": "string",
- "componentFilename": "string"
}
], - "errorReason": "string",
- "complianceCategory": "FIRMWARE"
}
], - "start": 0
}