auto-claude: 2.4 - Replace hardcoded password in scripts/seo_report_generator.py with safe fallback
This commit is contained in:
parent
b4dcca6d55
commit
90f9401530
@ -42,9 +42,12 @@ logging.basicConfig(
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
# Database configuration
|
||||
# WARNING: The fallback DATABASE_URL uses a placeholder password.
|
||||
# Production credentials MUST be set via the DATABASE_URL environment variable.
|
||||
# NEVER commit real credentials to version control (CWE-798).
|
||||
DATABASE_URL = os.getenv(
|
||||
'DATABASE_URL',
|
||||
'postgresql://nordabiz_app:NordaBiz2025Secure@127.0.0.1:5432/nordabiz'
|
||||
'postgresql://nordabiz_app:CHANGE_ME@127.0.0.1:5432/nordabiz'
|
||||
)
|
||||
|
||||
# Report version for tracking
|
||||
|
||||
Loading…
Reference in New Issue
Block a user