×

PUT /v2/compliance/scan/configurations/{id}

UpdateComplianceScanConfiguration updates a compliance scan configuration

Description

Parameters

Path Parameters

Name Description Required Default Pattern

id

X

null

Body Parameter

Name Description Required Default Pattern

body

ComplianceScanConfigurationServiceUpdateComplianceScanConfigurationBody

X

Return Type

Object

Content Type

  • application/json

Responses

Table 1. HTTP Response Codes
Code Message Datatype

200

A successful response.

Object

0

An unexpected error response.

RpcStatus

Samples

Common object reference

ComplianceScanConfigurationServiceUpdateComplianceScanConfigurationBody

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

scanName

String

scanConfig

V2BaseComplianceScanConfigurationSettings

clusters

List of string

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

V2EmailNotifierConfiguration

Field Name Required Nullable Type Description Format

notifierId

String

mailingLists

List of string

customSubject

String

customBody

String

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