Chapter 15. Compliance Profile Service


15.1. Compliance Profile Service

15.1.1. GetComplianceProfile

GET /v2/compliance/profile/{id}

GetComplianceProfile retrieves the specified compliance profile

15.1.1.1. Description

15.1.1.2. Parameters

15.1.1.2.1. Path Parameters
NameDescriptionRequiredDefaultPattern

id

 

X

null

 

15.1.1.3. Return Type

V2ComplianceProfile

15.1.1.4. Content Type

  • application/json

15.1.1.5. Responses

Table 15.1. HTTP Response Codes
CodeMessageDatatype

200

A successful response.

V2ComplianceProfile

0

An unexpected error response.

RpcStatus

15.1.1.6. Samples

15.1.2. ListComplianceProfiles

GET /v2/compliance/profiles/cluster

ListComplianceProfiles returns profiles matching given request

15.1.2.1. Description

15.1.2.2. Parameters

15.1.2.2.1. Query Parameters
NameDescriptionRequiredDefaultPattern

clusterId

 

-

null

 

query.query

 

-

null

 

query.pagination.limit

 

-

null

 

query.pagination.offset

 

-

null

 

query.pagination.sortOption.field

 

-

null

 

query.pagination.sortOption.reversed

 

-

null

 

query.pagination.sortOption.aggregateBy.aggrFunc

 

-

UNSET

 

query.pagination.sortOption.aggregateBy.distinct

 

-

null

 

15.1.2.3. Return Type

V2ListComplianceProfilesResponse

15.1.2.4. Content Type

  • application/json

15.1.2.5. Responses

Table 15.2. HTTP Response Codes
CodeMessageDatatype

200

A successful response.

V2ListComplianceProfilesResponse

0

An unexpected error response.

RpcStatus

15.1.2.6. Samples

15.1.3. ListProfileSummaries

GET /v2/compliance/profiles/summary

ListProfileSummaries returns profiles matching each cluster and the given query

15.1.3.1. Description

15.1.3.2. Parameters

15.1.3.2.1. Query Parameters
NameDescriptionRequiredDefaultPattern

clusterIds

String

-

null

 

query.query

 

-

null

 

query.pagination.limit

 

-

null

 

query.pagination.offset

 

-

null

 

query.pagination.sortOption.field

 

-

null

 

query.pagination.sortOption.reversed

 

-

null

 

query.pagination.sortOption.aggregateBy.aggrFunc

 

-

UNSET

 

query.pagination.sortOption.aggregateBy.distinct

 

-

null

 

15.1.3.3. Return Type

V2ListComplianceProfileSummaryResponse

15.1.3.4. Content Type

  • application/json

15.1.3.5. Responses

Table 15.3. HTTP Response Codes
CodeMessageDatatype

200

A successful response.

V2ListComplianceProfileSummaryResponse

0

An unexpected error response.

RpcStatus

15.1.3.6. Samples

Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

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

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

Theme

© 2025 Red Hat