Retrieves a list of findings generated by the specified analyzer¶
Description¶
Retrieves a list of findings generated by the specified analyzer. ListFindings and ListFindingsV2 both use access-analyzer:ListFindings in the Action element of an IAM policy statement. You must have permission to perform the access-analyzer:ListFindings action.
To learn about filter keys that you can use to retrieve a list of findings, see IAM Access Analyzer filter keys in the IAM User Guide.
Usage¶
Arguments¶
-
analyzerArn[required] The ARN of the analyzer to retrieve findings from.
-
filterA filter to match for the findings to return.
-
maxResultsThe maximum number of results to return in the response.
-
nextTokenA token used for pagination of results returned.
-
sortThe criteria used to sort.
Value¶
A list with the following syntax:
list(
findings = list(
list(
analyzedAt = as.POSIXct(
"2015-01-01"
),
createdAt = as.POSIXct(
"2015-01-01"
),
error = "string",
id = "string",
resource = "string",
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"|"AWS::IAM::User",
resourceOwnerAccount = "string",
status = "ACTIVE"|"ARCHIVED"|"RESOLVED",
updatedAt = as.POSIXct(
"2015-01-01"
),
findingType = "ExternalAccess"|"UnusedIAMRole"|"UnusedIAMUserAccessKey"|"UnusedIAMUserPassword"|"UnusedPermission"|"InternalAccess"
)
),
nextToken = "string"
)