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

GET /v2/compliance/scan/results/profiles/{profileName}/clusters/{clusterId}

GetComplianceProfileclusterResults lists check results for a specific profile on a specific cluster

Description

Parameters

Path Parameters

Name Description Required Default Pattern

profileName

X

null

clusterId

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.

V2ListComplianceCheckResultResponse

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

V2ComplianceCheckResult

ComplianceCheckResult details of an instance of a compliance check result
Field Name Required Nullable Type Description Format

checkId

String

checkName

String

checkUid

String

description

String

instructions

String

rationale

String

valuesUsed

List of string

warnings

List of string

status

V2ComplianceCheckStatus

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

ruleName

String

labels

Map of string

annotations

Map of string

controls

List of V2ComplianceControl

V2ComplianceCheckStatus

Enum Values

UNSET_CHECK_STATUS

PASS

FAIL

ERROR

INFO

MANUAL

NOT_APPLICABLE

INCONSISTENT

V2ComplianceControl

Field Name Required Nullable Type Description Format

standard

String

control

String

V2ListComplianceCheckResultResponse

Field Name Required Nullable Type Description Format

checkResults

List of V2ComplianceCheckResult

profileName

String

clusterId

String

totalCount

Integer

int32

lastScanTime

Date

date-time