Aalexbit-codemod

python-s6265-s3-public-access-mining

Mine python:S6265: S3 buckets should not grant access to all users or authenticated users; read-only metrics with blocking severity

miningmetricspythonsecuritypython:S6265
Public
0 executions

Run locally

npx codemod python-s6265-s3-public-access-mining

python-s6265-s3-public-access-mining

Read-only mining codemod for python:S6265: S3 buckets should not grant access to all users or authenticated users.

Emits python_security_finding metric rows with blocking severity. Source files are never modified.

Rule

  • ID: python:S6265
  • Severity: blocking
  • Remediation: Remove public or AuthenticatedUsers principals from S3 bucket policies

Usage

bash

Development

bash

Ready to contribute?

Build your own codemod and share it with the community.