List all devices compliance in a group

get/compute-ops-mgmt/v1/groups/{group-id}/compliance

List all the device's compliance detail

SecurityBearer
Request
path Parameters
group-id
required
string <uuid>
query Parameters
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.
The reserved characters ! # $ & ' ( ) * + , / : ; = ? @ [ ] must be encoded with percent encoded equivalents. Device IDs contain a +, which must be encoded as %2B.
For example: the value P06760-B21+2M212504P8 must be encoded as P06760-B21%2B2M212504P8 when it is used in a query parameter.

CLASS EXAMPLES
Types integer, decimal, timestamp, string, boolean, null
Operations eq, ne, gt, ge, lt, le, in
Logic and, or, not

Group compliance can be filtered by:

  • bundleId
  • complianceCategory
  • complianceState
  • createdAt
  • generation
  • productId
  • remediation
  • score
  • updatedAt

The following examples are not an exhaustive list of all possible filtering options.

Examples:
Return device compliance data where a property equals a value. <property> eq <value>
filter=score eq 0
Return 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 null
Return 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')
Responses
200

Successful Response

400

Bad request

401

Unauthorized

403

Forbidden

404

Not found

406

Not acceptable

500

Internal server error

Request samples
Response samples
application/json
{
  • "offset": 0,
  • "count": 1,
  • "total": 12,
  • "items": [
    ]
}