This is a cache of https://docs.openshift.com/acs/4.6/rest_api/v2/ComplianceResultsService/_v2_compliance_scan_results_profiles_profileName_checks_get.html. It is a snapshot of the page at 2025-03-05T00:22:47.522+0000.
GetComplianceProfileResults - Version v2 | API reference | Red Hat Advanced <strong>cluster</strong> Security for Kubernetes 4.6
×

GET /v2/compliance/scan/results/profiles/{profileName}/checks

GetComplianceProfileResults retrieves the most recent compliance operator scan results for the specified query Optional RawQuery query fields can be combined.

Description

Parameters

Path Parameters

Name Description Required Default Pattern

profileName

X

null

Query Parameters

Name Description Required Default Pattern

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

Content Type

  • application/json

Responses

Table 1. HTTP Response Codes
Code Message Datatype

200

A successful response.

V2ListComplianceProfileResults

0

An unexpected error response.

RpcStatus

Samples

Common object reference

ProtobufAny

Field Name Required Nullable Type Description Format

@type

String

RpcStatus

Field Name Required Nullable Type Description Format

code

Integer

int32

message

String

details

List of ProtobufAny

V2ComplianceCheckResultStatusCount

Group the number of occurrences by status
Field Name Required Nullable Type Description Format

checkName

String

rationale

String

ruleName

String

checkStats

List of V2ComplianceCheckStatusCount

controls

List of V2ComplianceControl

V2ComplianceCheckStatus

Enum Values

UNSET_CHECK_STATUS

PASS

FAIL

ERROR

INFO

MANUAL

NOT_APPLICABLE

INCONSISTENT

V2ComplianceCheckStatusCount

Group the number of occurrences by status
Field Name Required Nullable Type Description Format

count

Integer

int32

status

V2ComplianceCheckStatus

UNSET_CHECK_STATUS, PASS, FAIL, ERROR, INFO, MANUAL, NOT_APPLICABLE, INCONSISTENT,

V2ComplianceControl

Field Name Required Nullable Type Description Format

standard

String

control

String

V2ListComplianceProfileResults

ListComplianceProfileResults provides scan stats overview based on profile
Field Name Required Nullable Type Description Format

profileResults

List of V2ComplianceCheckResultStatusCount

profileName

String

totalCount

Integer

int32