All checks
Medium Cognito · regional

Cognito identity pools should not allow unauthenticated identities

Flags Cognito identity pools that allow unauthenticated (guest) identities by having AllowUnauthenticatedIdentities set to true.

service
Cognito
severity
Medium
scope
evaluated in every region

How to fix it

Disable unauthenticated identities for your Cognito identity pools to prevent anonymous access to AWS resources.

  1. Navigate to the Amazon Cognito console
  2. Go to the Identity pools section
  3. Select the identity pool that allows unauthenticated access
  4. Edit the identity pool configuration
  5. In the 'Authentication providers' section, uncheck 'Enable access to unauthenticated identities'
  6. Save the configuration changes
  7. Verify that unauthenticated access is now disabled
  8. If unauthenticated access is necessary, ensure proper IAM role restrictions are in place

See which of your accounts this check is failing on.

Book a demo