Skip to content

List Account Permissions

inspector2_list_account_permissions R Documentation

Lists the permissions an account has to configure Amazon Inspector

Description

Lists the permissions an account has to configure Amazon Inspector.

Usage

inspector2_list_account_permissions(maxResults, nextToken, service)

Arguments

maxResults

The maximum number of results the response can return. If your request would return more than the maximum the response will return a nextToken value, use this value when you call the action again to get the remaining results.

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. If your response returns more than the maxResults maximum value it will also return a nextToken value. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.

service

The service scan type to check permissions for.

Value

A list with the following syntax:

list(
  nextToken = "string",
  permissions = list(
    list(
      operation = "ENABLE_SCANNING"|"DISABLE_SCANNING"|"ENABLE_REPOSITORY"|"DISABLE_REPOSITORY",
      service = "EC2"|"ECR"|"LAMBDA"
    )
  )
)

Request syntax

svc$list_account_permissions(
  maxResults = 123,
  nextToken = "string",
  service = "EC2"|"ECR"|"LAMBDA"
)