Skip to content

List Cis Scan Results Aggregated By Checks

inspector2_list_cis_scan_results_aggregated_by_checks R Documentation

Lists scan results aggregated by checks

Description

Lists scan results aggregated by checks.

Usage

inspector2_list_cis_scan_results_aggregated_by_checks(filterCriteria,
  maxResults, nextToken, scanArn, sortBy, sortOrder)

Arguments

filterCriteria

The filter criteria.

maxResults

The maximum number of scan results aggregated by checks 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.

scanArn

[required] The scan ARN.

sortBy

The sort by order.

sortOrder

The sort order.

Value

A list with the following syntax:

list(
  checkAggregations = list(
    list(
      accountId = "string",
      checkDescription = "string",
      checkId = "string",
      level = "LEVEL_1"|"LEVEL_2",
      platform = "string",
      scanArn = "string",
      statusCounts = list(
        failed = 123,
        passed = 123,
        skipped = 123
      ),
      title = "string"
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_cis_scan_results_aggregated_by_checks(
  filterCriteria = list(
    accountIdFilters = list(
      list(
        comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
        value = "string"
      )
    ),
    checkIdFilters = list(
      list(
        comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
        value = "string"
      )
    ),
    failedResourcesFilters = list(
      list(
        lowerInclusive = 123,
        upperInclusive = 123
      )
    ),
    platformFilters = list(
      list(
        comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
        value = "string"
      )
    ),
    securityLevelFilters = list(
      list(
        comparison = "EQUALS",
        value = "LEVEL_1"|"LEVEL_2"
      )
    ),
    titleFilters = list(
      list(
        comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
        value = "string"
      )
    )
  ),
  maxResults = 123,
  nextToken = "string",
  scanArn = "string",
  sortBy = "CHECK_ID"|"TITLE"|"PLATFORM"|"FAILED_COUNTS"|"SECURITY_LEVEL",
  sortOrder = "ASC"|"DESC"
)