×

GET /v2/compliance/scan/result/{id}

GetComplianceScanCheckResult returns the specific result by ID

Description

Parameters

Path Parameters

Name Description Required Default Pattern

id

X

null

Content Type

  • application/json

Responses

Table 1. HTTP Response Codes
Code Message Datatype

200

A successful response.

V2ComplianceClusterCheckStatus

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

V2ClusterCheckStatus

ClusterCheckStatus groups the result of the check by cluster
Field Name Required Nullable Type Description Format

cluster

V2ComplianceScanCluster

status

V2ComplianceCheckStatus

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

createdTime

Date

date-time

checkUid

String

lastScanTime

Date

date-time

V2ComplianceCheckStatus

Enum Values

UNSET_CHECK_STATUS

PASS

FAIL

ERROR

INFO

MANUAL

NOT_APPLICABLE

INCONSISTENT

V2ComplianceClusterCheckStatus

ComplianceClusterCheckStatus provides the status of a compliance check result across clusters
Field Name Required Nullable Type Description Format

checkId

String

checkName

String

clusters

List of V2ClusterCheckStatus

description

String

instructions

String

rationale

String

valuesUsed

List of string

warnings

List of string

labels

Map of string

annotations

Map of string

controls

List of V2ComplianceControl

V2ComplianceControl

Field Name Required Nullable Type Description Format

standard

String

control

String

V2ComplianceScanCluster

Field Name Required Nullable Type Description Format

clusterId

String

clusterName

String