Skip to content

bug: config.py overwrites DYNAMODB_THREAT_CACHE default with an empty fallback #76

Description

@Panacota96

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions