Chapter 21. Compliance Service


21.1. Compliance Service

21.1.1. GetAggregatedResults

GET /v1/compliance/aggregatedresults

21.1.1.1. Description

21.1.1.2. Parameters

21.1.1.2.1. Query Parameters
Expand
NameDescriptionRequiredDefaultPattern

groupBy

String

-

null

 

unit

 

-

UNKNOWN

 

where.query

 

-

null

 

where.pagination.limit

 

-

null

 

where.pagination.offset

 

-

null

 

where.pagination.sortOption.field

 

-

null

 

where.pagination.sortOption.reversed

 

-

null

 

where.pagination.sortOption.aggregateBy.aggrFunc

 

-

UNSET

 

where.pagination.sortOption.aggregateBy.distinct

 

-

null

 

21.1.1.3. Return Type

StorageComplianceAggregationResponse

21.1.1.4. Content Type

  • application/json

21.1.1.5. Responses

Expand
Table 21.1. HTTP Response Codes
CodeMessageDatatype

200

A successful response.

StorageComplianceAggregationResponse

0

An unexpected error response.

GoogleRpcStatus

21.1.1.6. Samples

21.1.2. GetRunResults

GET /v1/compliance/runresults

21.1.2.1. Description

21.1.2.2. Parameters

21.1.2.2.1. Query Parameters
Expand
NameDescriptionRequiredDefaultPattern

clusterId

 

-

null

 

standardId

 

-

null

 

runId

Specifies the run ID for which to return results. If empty, the most recent run is returned. CAVEAT: Setting this field circumvents the results cache on the server-side, which may lead to significantly increased memory pressure and decreased performance.

-

null

 

21.1.2.3. Return Type

V1GetComplianceRunResultsResponse

21.1.2.4. Content Type

  • application/json

21.1.2.5. Responses

Expand
Table 21.2. HTTP Response Codes
CodeMessageDatatype

200

A successful response.

V1GetComplianceRunResultsResponse

0

An unexpected error response.

GoogleRpcStatus

21.1.2.6. Samples

21.1.3. GetStandard

GET /v1/compliance/standards/{id}

21.1.3.1. Description

21.1.3.2. Parameters

21.1.3.2.1. Path Parameters
Expand
NameDescriptionRequiredDefaultPattern

id

 

X

null

 

21.1.3.3. Return Type

V1GetComplianceStandardResponse

21.1.3.4. Content Type

  • application/json

21.1.3.5. Responses

Expand
Table 21.3. HTTP Response Codes
CodeMessageDatatype

200

A successful response.

V1GetComplianceStandardResponse

0

An unexpected error response.

GoogleRpcStatus

21.1.3.6. Samples

21.1.4. GetStandards

GET /v1/compliance/standards

21.1.4.1. Description

21.1.4.2. Parameters

21.1.4.3. Return Type

V1GetComplianceStandardsResponse

21.1.4.4. Content Type

  • application/json

21.1.4.5. Responses

Expand
Table 21.4. HTTP Response Codes
CodeMessageDatatype

200

A successful response.

V1GetComplianceStandardsResponse

0

An unexpected error response.

GoogleRpcStatus

21.1.4.6. Samples

21.1.5. UpdateComplianceStandardConfig

PATCH /v1/compliance/standards/{id}

21.1.5.1. Description

21.1.5.2. Parameters

21.1.5.2.1. Path Parameters
Expand
NameDescriptionRequiredDefaultPattern

id

 

X

null

 
21.1.5.2.2. Body Parameter
Expand
NameDescriptionRequiredDefaultPattern

body

ComplianceServiceUpdateComplianceStandardConfigBody

X

  

21.1.5.3. Return Type

Object

21.1.5.4. Content Type

  • application/json

21.1.5.5. Responses

Expand
Table 21.5. HTTP Response Codes
CodeMessageDatatype

200

A successful response.

Object

0

An unexpected error response.

GoogleRpcStatus

21.1.5.6. Samples

Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat Documentation

Legal Notice

Theme

© 2026 Red Hat
Back to top