Summary
config.py defines DYNAMODB_THREAT_CACHE twice. The later assignment replaces the earlier non-empty default with an empty-string fallback, which can silently disable the DynamoDB threat cache table.
Evidence
- File: config.py
- First definition near line 24 uses �n-garde-prod-threat-cache.
- Second definition near line 72 resets the same config key to ''.
Impact
- Runtime behavior depends on definition order instead of intent.
- Threat feed caching can be disabled unexpectedly in environments relying on defaults.
Expected outcome
Keep a single authoritative config definition and document the intended default behavior.
Summary
config.py defines DYNAMODB_THREAT_CACHE twice. The later assignment replaces the earlier non-empty default with an empty-string fallback, which can silently disable the DynamoDB threat cache table.
Evidence
Impact
Expected outcome
Keep a single authoritative config definition and document the intended default behavior.