Skip to content

AWS_S3_005: false positive #226

@bhuve-ext

Description

@bhuve-ext

Hi,

I am having a false positive with AWS_S3_005:

❌ AWS_S3_005 S3 bucket have public access block enabled - 0/1
        S3 bucket my-bucket is not using Public Access Block

However, querying the API returns that public access block is enabled properly:

$ aws s3api get-public-access-block --bucket my-bucket
{
    "PublicAccessBlockConfiguration": {
        "BlockPublicAcls": true,
        "IgnorePublicAcls": true,
        "BlockPublicPolicy": true,
        "RestrictPublicBuckets": true
    }
}

Using v1.13.0 (cabc7d8).

Thanks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions