Skip to content

Amazon Web Services (AWS) S3

Last updated View as MarkdownAgent setup

The Amazon Web Services (AWS) S3 integration detects a variety of data loss prevention, account misconfiguration, and user security risks in an integrated AWS account that could leave you and your organization vulnerable.

Integration prerequisites

  • An AWS account using AWS S3 (Simple Storage Service)
  • For initial setup, access to the AWS account with permission to create a new IAM Role with the scopes listed below.

Integration permissions

For the AWS S3 integration to function, Cloudflare CASB requires the following access scopes via an IAM Role with cross-account access:

  • s3:PutBucketNotification
  • s3:GetObject
  • s3:ListBucket

These permissions follow the principle of least privilege to ensure that only the minimum required access is granted. To learn more about each permission scope, refer to the AWS S3 Permissions documentation ↗︎.

Compute account

You can connect an AWS compute account to your CASB integration to perform Data Loss Prevention scans within your S3 bucket and avoid data egress. CASB will scan any objects that exist in the bucket at the time of configuration.

Add a compute account

To connect a compute account to your AWS integration:

  1. In Cloudflare One ↗︎, go to Cloud & SaaS findings > Integrations.
  2. Find and select your AWS integration.
  3. Select Open connection instructions.
  4. Follow the instructions provided to connect a new compute account.
  5. Select Refresh.

You can only connect one computer account to an integration. To remove a compute account, select Manage compute accounts.

Configure compute account scanning

Once your AWS compute account has successfully connected to your CASB integration, you can configure where and how to scan for sensitive data:

  1. In Cloudflare One ↗︎, go to Integrations > Cloud & SaaS integrations.
  2. Find and select your AWS integration.
  3. Select Create new configuration.
  4. In Resources, choose the buckets you want to scan. Select Continue.
  5. Choose the file types, sampling percentage, and DLP profiles to scan for.
  6. (Optional) Configure additional settings, such as the limit of API calls over time for CASB to adhere to.
  7. Select Continue.
  8. Review the details of the scan, then select Start scan.

CASB will take up to an hour to begin scanning. To view the scan results, go to Cloud & SaaS findings > Content Findings.

To manage your resources, go to Integrations > Cloud & SaaS integrations, then find and select your AWS integration. From here, you can pause all or individual scans, add or remove resources, and change scan settings.

For more information, refer to Content findings.

Security findings

The AWS S3 integration currently scans for the following findings, or security risks. Findings are grouped by category and then ordered by severity level.

To stay up-to-date with new CASB findings as they are added, bookmark this page or subscribe to its RSS feed.

S3 Bucket security

Flag security issues in S3 Buckets, including overpermissioning, access policies, and user security best practices.

Finding type FindingTypeID Severity
S3 Bucket ACL Allows Any Authenticated User to Write 09bc7d1f-e682-43bc-a4ce-e6e03b408244 Critical
S3 Bucket ACL Allows Any Authenticated User to Write ACP 9392a460-c566-4e0d-b06b-01d87dc84d7c Critical
S3 Bucket ACL Allows Public ACP Write 5b792c7f-2546-4fcd-96dc-a58a53fea7e0 Critical
S3 Bucket ACL Allows Public Write f50ae197-fa0a-4caa-be95-79aed91eed63 Critical
S3 Bucket Policy Allows Any Authenticated User to Write 70fe0596-28bc-41dd-a2c3-1486fb0fb1dd Critical
S3 Bucket Policy Allows Public Write 5e2aac4b-d8be-43dc-b324-84fdf63f760e Critical
S3 Bucket ACL Allows Any Authenticated User to Read fda31c4d-24dc-43d4-8a84-a1a9e1df01a1 High
S3 Bucket ACL Allows Any Authenticated User to Read ACP 7232e46b-3539-4080-b905-022f1091556c High
S3 Bucket ACL Allows Public ACP Read e324242c-5feb-41a3-8d91-f70611471fad High
S3 Bucket ACL Allows Public Read f8c9f979-29f0-4ada-b09e-a149937a55d4 High
S3 Bucket Policy Allows Any Authenticated User to Read c6b3a745-b535-45ea-b2c0-ba8a139ca634 High
S3 Bucket Policy Allows Public Read f3915412-eef9-47d9-8448-e04462de8ba2 High
S3 Bucket Without MFA Delete Enabled f108bd28-9870-453f-a439-01818e85bdc7 High
S3 Bucket Policy Allows Any Authenticated User to Delete 4431eaeb-63e3-43c1-a4bc-029f09da66fd Medium
S3 Bucket Policy Allows Any Authenticated User to List 319c9715-b86d-4215-bdfa-c5d9b3a5cc83 Medium
S3 Bucket Policy Allows Public Delete bbbeacbc-6692-4121-a785-d634da1e5c56 Medium
S3 Bucket Policy Allows Public List f7ae03e3-1303-4404-b6f5-a7f97e52105e Medium
S3 Bucket Without Access Logging 67d0995d-7b4a-40c5-a43f-7a98d20faac6 Medium
S3 Bucket Without AWS CloudTrail Logging 89366ebe-ca0b-45fc-a9cb-135674e0a49b Medium
S3 Bucket Without Lifecycle Policies 2df6f1b8-e41c-4ab5-a466-992ce485a367 Medium
S3 Bucket Without Object-Level Logging 9af2594c-3999-49c9-bd3d-2f4b091f99c0 Medium
S3 Bucket Without Replication Enabled cb61ef18-a498-456c-985c-78a45e19f4fe Medium
S3 Bucket Without Versioning Enabled 95e1284f-a514-4396-bf64-cd003818790c Medium

Was this helpful?