×

GET /v2/compliance/scan/configurations

ListComplianceScanConfigurations lists all the compliance operator scan configurations for the secured clusters

Description

Parameters

Query Parameters

Name Description Required Default Pattern

query

-

null

pagination.limit

-

null

pagination.offset

-

null

pagination.sortOption.field

-

null

pagination.sortOption.reversed

-

null

pagination.sortOption.aggregateBy.aggrFunc

-

UNSET

pagination.sortOption.aggregateBy.distinct

-

null

Content Type

  • application/json

Responses

Table 1. HTTP Response Codes
Code Message Datatype

200

A successful response.

V2ListComplianceScanConfigurationsResponse

0

An unexpected error response.

RpcStatus

Samples

Common object reference

ClusterScanStatusSuiteStatus

Additional scan status gathered from ComplianceSuite
Field Name Required Nullable Type Description Format

phase

String

result

String

errorMessage

String

lastTransitionTime

Date

date-time

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

V2BaseComplianceScanConfigurationSettings

Next available tag: 5
Field Name Required Nullable Type Description Format

oneTimeScan

Boolean

profiles

List of string

scanSchedule

V2Schedule

description

String

notifiers

List of V2NotifierConfiguration

V2ClusterScanStatus

ClusterScanStatus holds status based on cluster in the event that a scan configuration was successfully applied to some clusters but not others. Next available tag: 5
Field Name Required Nullable Type Description Format

clusterId

String

errors

List of string

clusterName

String

suiteStatus

ClusterScanStatusSuiteStatus

V2ComplianceScanConfigurationStatus

Next available tag: 9
Field Name Required Nullable Type Description Format

id

String

scanName

String

scanConfig

V2BaseComplianceScanConfigurationSettings

clusterStatus

List of V2ClusterScanStatus

createdTime

Date

date-time

lastUpdatedTime

Date

date-time

modifiedBy

V2SlimUser

lastExecutedTime

Date

date-time

V2EmailNotifierConfiguration

Field Name Required Nullable Type Description Format

notifierId

String

mailingLists

List of string

customSubject

String

customBody

String

V2ListComplianceScanConfigurationsResponse

Field Name Required Nullable Type Description Format

configurations

List of V2ComplianceScanConfigurationStatus

totalCount

Integer

int32

V2NotifierConfiguration

Field Name Required Nullable Type Description Format

emailConfig

V2EmailNotifierConfiguration

notifierName

String

V2Schedule

Field Name Required Nullable Type Description Format

intervalType

V2ScheduleIntervalType

UNSET, WEEKLY, MONTHLY, DAILY,

hour

Integer

int32

minute

Integer

int32

daysOfWeek

V2ScheduleDaysOfWeek

daysOfMonth

V2ScheduleDaysOfMonth

V2ScheduleDaysOfMonth

1 for 1st, 2 for 2nd .... 31 for 31st
Field Name Required Nullable Type Description Format

days

List of integer

int32

V2ScheduleDaysOfWeek

Sunday = 0, Monday = 1, .... Saturday =  6
Field Name Required Nullable Type Description Format

days

List of integer

int32

V2ScheduleIntervalType

Enum Values

UNSET

WEEKLY

MONTHLY

DAILY

V2SlimUser

Field Name Required Nullable Type Description Format

id

String

name

String