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

POST /v2/compliance/scan/configurations/reports/run

RunReport runs an on demand compliance report for the scan configuration

Description

Parameters

Body Parameter

Name Description Required Default Pattern

body

V2ComplianceRunReportRequest

X

Content Type

  • application/json

Responses

Table 1. HTTP Response Codes
Code Message Datatype

200

A successful response.

V2ComplianceRunReportResponse

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

V2ComplianceRunReportRequest

Field Name Required Nullable Type Description Format

scanConfigId

String

reportNotificationMethod

V2NotificationMethod

EMAIL, DOWNLOAD,

V2ComplianceRunReportResponse

Field Name Required Nullable Type Description Format

runState

V2ComplianceRunReportResponseRunState

SUBMITTED, ERROR,

submittedAt

Date

date-time

errorMsg

String

V2ComplianceRunReportResponseRunState

Enum Values

SUBMITTED

ERROR

V2NotificationMethod

Enum Values

EMAIL

DOWNLOAD