python-s2115-secure-db-password-mining
Read-only mining codemod for python:S2115: A secure password should be used when connecting to a database.
Emits python_security_finding metric rows with blocking severity. Source files are never modified.
Rule
- ID:
python:S2115 - Severity: blocking
- Remediation: Use environment variables or a secrets manager for database passwords
Usage
bash
Development
bash