Learn R Programming

paws.security.identity (version 0.7.0)

accessanalyzer_check_no_public_access: Checks whether a resource policy can grant public access to the specified resource type

Description

Checks whether a resource policy can grant public access to the specified resource type.

See https://www.paws-r-sdk.com/docs/accessanalyzer_check_no_public_access/ for full documentation.

Usage

accessanalyzer_check_no_public_access(policyDocument, resourceType)

Arguments

policyDocument

[required] The JSON policy document to evaluate for public access.

resourceType

[required] The type of resource to evaluate for public access. For example, to check for public access to Amazon S3 buckets, you can choose AWS::S3::Bucket for the resource type.

For resource types not supported as valid values, IAM Access Analyzer will return an error.