python-s6333-aws-api-gateway-auth-mining
Mine python:S6333: AWS API Gateway should require authentication; read-only metrics with blocking severity
# python-s6333-aws-api-gateway-auth-mining
Read-only mining codemod for **python:S6333**: AWS API Gateway should require authentication.
Emits `python_security_finding` metric rows with **blocking** severity. Source files are never modified.
## Rule
- **ID**: `python:S6333`
- **Severity**: blocking
- **Remediation**: Configure an authorizer or IAM authentication on API Gateway routes
## Usage
```bash
pnpm dlx codemod@latest workflow run -w codemods/python-security-mining/python-s6333-aws-api-gateway-auth-mining/workflow.yaml --target /path/to/python/project
```
## Development
```bash
pnpm --filter ./codemods/python-security-mining/python-s6333-aws-api-gateway-auth-mining test
```