Chapter 18. Compliance Rule Service


18.1. Compliance Rule Service

18.1.1. GetComplianceRule

GET /v2/compliance/rule/summary/{ruleName}

GetComplianceRule returns rule matching given request

18.1.1.1. Description

18.1.1.2. Parameters

18.1.1.2.1. Path Parameters
Expand
NameDescriptionRequiredDefaultPattern

ruleName

 

X

null

 
18.1.1.2.2. Query Parameters
Expand
NameDescriptionRequiredDefaultPattern

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

 

18.1.1.3. Return Type

V2ComplianceRule

18.1.1.4. Content Type

  • application/json

18.1.1.5. Responses

Expand
Table 18.1. HTTP Response Codes
CodeMessageDatatype

200

A successful response.

V2ComplianceRule

0

An unexpected error response.

RpcStatus

18.1.1.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