Aalexbit-codemod

python-s6302-policy-all-privileges-mining

Mine python:S6302: Policies should not grant all privileges; read-only metrics with blocking severity

miningmetricspythonsecuritypython:S6302
Public
0 executions

Run locally

npx codemod python-s6302-policy-all-privileges-mining

python-s6302-policy-all-privileges-mining

Read-only mining codemod for python:S6302: Policies should not grant all privileges.

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

Rule

  • ID: python:S6302
  • Severity: blocking
  • Remediation: Scope IAM policy actions and resources to least privilege

Usage

bash

Development

bash

Ready to contribute?

Build your own codemod and share it with the community.