Skip to content

List Cis Scan Configurations

inspector2_list_cis_scan_configurations R Documentation

Lists CIS scan configurations

Description

Lists CIS scan configurations.

Usage

inspector2_list_cis_scan_configurations(filterCriteria, maxResults,
  nextToken, sortBy, sortOrder)

Arguments

filterCriteria

The CIS scan configuration filter criteria.

maxResults

The maximum number of CIS scan configurations to be returned in a single page of results.

nextToken

The pagination token from a previous request that's used to retrieve the next page of results.

sortBy

The CIS scan configuration sort by order.

sortOrder

The CIS scan configuration sort order order.

Value

A list with the following syntax:

list(
  nextToken = "string",
  scanConfigurations = list(
    list(
      ownerId = "string",
      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",
      tags = list(
        "string"
      ),
      targets = list(
        accountIds = list(
          "string"
        ),
        targetResourceTags = list(
          list(
            "string"
          )
        )
      )
    )
  )
)

Request syntax

svc$list_cis_scan_configurations(
  filterCriteria = list(
    scanConfigurationArnFilters = list(
      list(
        comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
        value = "string"
      )
    ),
    scanNameFilters = list(
      list(
        comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
        value = "string"
      )
    ),
    targetResourceTagFilters = list(
      list(
        comparison = "EQUALS",
        key = "string",
        value = "string"
      )
    )
  ),
  maxResults = 123,
  nextToken = "string",
  sortBy = "SCAN_NAME"|"SCAN_CONFIGURATION_ARN",
  sortOrder = "ASC"|"DESC"
)