Skip to content

Create Cis Scan Configuration

inspector2_create_cis_scan_configuration R Documentation

Creates a CIS scan configuration

Description

Creates a CIS scan configuration.

Usage

inspector2_create_cis_scan_configuration(scanName, securityLevel,
  schedule, targets, tags)

Arguments

scanName

[required] The scan name for the CIS scan configuration.

securityLevel

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

schedule

[required] The schedule for the CIS scan configuration.

targets

[required] The targets for the CIS scan configuration.

tags

The tags for the CIS scan configuration.

Value

A list with the following syntax:

list(
  scanConfigurationArn = "string"
)

Request syntax

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