Skip to content

Update Cis Scan Configuration

inspector2_update_cis_scan_configuration R Documentation

Updates a CIS scan configuration

Description

Updates a CIS scan configuration.

Usage

inspector2_update_cis_scan_configuration(scanConfigurationArn, scanName,
  schedule, securityLevel, targets)

Arguments

scanConfigurationArn

[required] The CIS scan configuration ARN.

scanName

The scan name for the CIS scan configuration.

schedule

The schedule for the CIS scan configuration.

securityLevel

The security level for the CIS scan configuration. Security level refers to the Benchmark levels that CIS assigns to a profile.

targets

The targets for the CIS scan configuration.

Value

A list with the following syntax:

list(
  scanConfigurationArn = "string"
)

Request syntax

svc$update_cis_scan_configuration(
  scanConfigurationArn = "string",
  scanName = "string",
  schedule = list(
    daily = list(
      startTime = list(
        timeOfDay = "string",
        timezone = "string"
      )
    ),
    monthly = list(
      day = "SUN"|"MON"|"TUE"|"WED"|"THU"|"FRI"|"SAT",
      startTime = list(
        timeOfDay = "string",
        timezone = "string"
      )
    ),
    oneTime = list(),
    weekly = list(
      days = list(
        "SUN"|"MON"|"TUE"|"WED"|"THU"|"FRI"|"SAT"
      ),
      startTime = list(
        timeOfDay = "string",
        timezone = "string"
      )
    )
  ),
  securityLevel = "LEVEL_1"|"LEVEL_2",
  targets = list(
    accountIds = list(
      "string"
    ),
    targetResourceTags = list(
      list(
        "string"
      )
    )
  )
)