Skip to content

List Coverage Statistics

inspector2_list_coverage_statistics R Documentation

Lists Amazon Inspector coverage statistics for your environment

Description

Lists Amazon Inspector coverage statistics for your environment.

Usage

inspector2_list_coverage_statistics(filterCriteria, groupBy, nextToken)

Arguments

filterCriteria

An object that contains details on the filters to apply to the coverage data for your environment.

groupBy

The value to group the results by.

nextToken

A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.

Value

A list with the following syntax:

list(
  countsByGroup = list(
    list(
      count = 123,
      groupKey = "SCAN_STATUS_CODE"|"SCAN_STATUS_REASON"|"ACCOUNT_ID"|"RESOURCE_TYPE"|"ECR_REPOSITORY_NAME"
    )
  ),
  nextToken = "string",
  totalCounts = 123
)

Request syntax

svc$list_coverage_statistics(
  filterCriteria = list(
    accountId = list(
      list(
        comparison = "EQUALS"|"NOT_EQUALS",
        value = "string"
      )
    ),
    ec2InstanceTags = list(
      list(
        comparison = "EQUALS",
        key = "string",
        value = "string"
      )
    ),
    ecrImageTags = list(
      list(
        comparison = "EQUALS"|"NOT_EQUALS",
        value = "string"
      )
    ),
    ecrRepositoryName = list(
      list(
        comparison = "EQUALS"|"NOT_EQUALS",
        value = "string"
      )
    ),
    imagePulledAt = list(
      list(
        endInclusive = as.POSIXct(
          "2015-01-01"
        ),
        startInclusive = as.POSIXct(
          "2015-01-01"
        )
      )
    ),
    lambdaFunctionName = list(
      list(
        comparison = "EQUALS"|"NOT_EQUALS",
        value = "string"
      )
    ),
    lambdaFunctionRuntime = list(
      list(
        comparison = "EQUALS"|"NOT_EQUALS",
        value = "string"
      )
    ),
    lambdaFunctionTags = list(
      list(
        comparison = "EQUALS",
        key = "string",
        value = "string"
      )
    ),
    lastScannedAt = list(
      list(
        endInclusive = as.POSIXct(
          "2015-01-01"
        ),
        startInclusive = as.POSIXct(
          "2015-01-01"
        )
      )
    ),
    resourceId = list(
      list(
        comparison = "EQUALS"|"NOT_EQUALS",
        value = "string"
      )
    ),
    resourceType = list(
      list(
        comparison = "EQUALS"|"NOT_EQUALS",
        value = "string"
      )
    ),
    scanMode = list(
      list(
        comparison = "EQUALS"|"NOT_EQUALS",
        value = "string"
      )
    ),
    scanStatusCode = list(
      list(
        comparison = "EQUALS"|"NOT_EQUALS",
        value = "string"
      )
    ),
    scanStatusReason = list(
      list(
        comparison = "EQUALS"|"NOT_EQUALS",
        value = "string"
      )
    ),
    scanType = list(
      list(
        comparison = "EQUALS"|"NOT_EQUALS",
        value = "string"
      )
    )
  ),
  groupBy = "SCAN_STATUS_CODE"|"SCAN_STATUS_REASON"|"ACCOUNT_ID"|"RESOURCE_TYPE"|"ECR_REPOSITORY_NAME",
  nextToken = "string"
)