Skip to content

List Access Preview Findings

accessanalyzer_list_access_preview_findings R Documentation

Retrieves a list of access preview findings generated by the specified access preview

Description

Retrieves a list of access preview findings generated by the specified access preview.

Usage

accessanalyzer_list_access_preview_findings(accessPreviewId,
  analyzerArn, filter, nextToken, maxResults)

Arguments

accessPreviewId

[required] The unique ID for the access preview.

analyzerArn

[required] The ARN of the analyzer used to generate the access.

filter

Criteria to filter the returned findings.

nextToken

A token used for pagination of results returned.

maxResults

The maximum number of results to return in the response.

Value

A list with the following syntax:

list(
  findings = list(
    list(
      id = "string",
      existingFindingId = "string",
      existingFindingStatus = "ACTIVE"|"ARCHIVED"|"RESOLVED",
      principal = list(
        "string"
      ),
      action = list(
        "string"
      ),
      condition = list(
        "string"
      ),
      resource = "string",
      isPublic = TRUE|FALSE,
      resourceType = "AWS::S3::Bucket"|"AWS::IAM::Role"|"AWS::SQS::Queue"|"AWS::Lambda::Function"|"AWS::Lambda::LayerVersion"|"AWS::KMS::Key"|"AWS::SecretsManager::Secret"|"AWS::EFS::FileSystem"|"AWS::EC2::Snapshot"|"AWS::ECR::Repository"|"AWS::RDS::DBSnapshot"|"AWS::RDS::DBClusterSnapshot"|"AWS::SNS::Topic"|"AWS::S3Express::DirectoryBucket"|"AWS::DynamoDB::Table"|"AWS::DynamoDB::Stream",
      createdAt = as.POSIXct(
        "2015-01-01"
      ),
      changeType = "CHANGED"|"NEW"|"UNCHANGED",
      status = "ACTIVE"|"ARCHIVED"|"RESOLVED",
      resourceOwnerAccount = "string",
      error = "string",
      sources = list(
        list(
          type = "POLICY"|"BUCKET_ACL"|"S3_ACCESS_POINT"|"S3_ACCESS_POINT_ACCOUNT",
          detail = list(
            accessPointArn = "string",
            accessPointAccount = "string"
          )
        )
      )
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_access_preview_findings(
  accessPreviewId = "string",
  analyzerArn = "string",
  filter = list(
    list(
      eq = list(
        "string"
      ),
      neq = list(
        "string"
      ),
      contains = list(
        "string"
      ),
      exists = TRUE|FALSE
    )
  ),
  nextToken = "string",
  maxResults = 123
)