Skip to content

Get Cis Scan Result Details

inspector2_get_cis_scan_result_details R Documentation

Retrieves CIS scan result details

Description

Retrieves CIS scan result details.

Usage

inspector2_get_cis_scan_result_details(accountId, filterCriteria,
  maxResults, nextToken, scanArn, sortBy, sortOrder, targetResourceId)

Arguments

accountId

[required] The account ID.

filterCriteria

The filter criteria.

maxResults

The maximum number of CIS scan result details 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.

targetResourceId

[required] The target resource ID.

Value

A list with the following syntax:

list(
  nextToken = "string",
  scanResultDetails = list(
    list(
      accountId = "string",
      checkDescription = "string",
      checkId = "string",
      findingArn = "string",
      level = "LEVEL_1"|"LEVEL_2",
      platform = "string",
      remediation = "string",
      scanArn = "string",
      status = "PASSED"|"FAILED"|"SKIPPED",
      statusReason = "string",
      targetResourceId = "string",
      title = "string"
    )
  )
)

Request syntax

svc$get_cis_scan_result_details(
  accountId = "string",
  filterCriteria = list(
    checkIdFilters = list(
      list(
        comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
        value = "string"
      )
    ),
    findingArnFilters = list(
      list(
        comparison = "EQUALS"|"PREFIX"|"NOT_EQUALS",
        value = "string"
      )
    ),
    findingStatusFilters = list(
      list(
        comparison = "EQUALS",
        value = "PASSED"|"FAILED"|"SKIPPED"
      )
    ),
    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"|"STATUS",
  sortOrder = "ASC"|"DESC",
  targetResourceId = "string"
)