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, schedule,
  securityLevel, tags, targets)

Arguments

scanName

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

schedule

[required] The schedule 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.

tags

The tags for the CIS scan configuration.

targets

[required] The targets for the CIS scan configuration.

Value

A list with the following syntax:

list(
  scanConfigurationArn = "string"
)

Request syntax

svc$create_cis_scan_configuration(
  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",
  tags = list(
    "string"
  ),
  targets = list(
    accountIds = list(
      "string"
    ),
    targetResourceTags = list(
      list(
        "string"
      )
    )
  )
)