SCRAPE-20: Implement credential redaction in scraper log calls #24

Merged
stephen merged 1 commits from scraper/log-audit into dev 2026-02-06 23:00:09 -07:00
Owner

Replaced 4 raw console.error calls in scraper admin routes with structured scraperLogger calls using createLogger. Error objects sanitized to log error.name and error.message instead of raw objects, preventing credential leakage. All scraper production code now uses scraperLogger with built-in credential redaction.

Replaced 4 raw console.error calls in scraper admin routes with structured scraperLogger calls using createLogger. Error objects sanitized to log error.name and error.message instead of raw objects, preventing credential leakage. All scraper production code now uses scraperLogger with built-in credential redaction.
stephen added 1 commit 2026-02-06 22:58:32 -07:00
Replace console.error calls in scraper admin routes with structured scraperLogger
All checks were successful
CI/CD Pipeline - Apartment API / Lint & Test (pull_request) Successful in 41s
CI/CD Pipeline - Apartment API / Send Webhook Notification (pull_request) Successful in 2s
CI/CD Pipeline - Apartment API / Build & Push Image (pull_request) Has been skipped
CI/CD Pipeline - Apartment API / Deploy to Production (pull_request) Has been skipped
CI/CD Pipeline - Apartment API / Scan Dependencies (pull_request) Successful in 13s
ba09cdf8ec
Replace 4 raw console.error calls in the scraper admin routes (trigger,
status, history, config endpoints) with structured scraperLogger calls
using createLogger('scraper-admin'). Error objects are now sanitized to
log error.name and error.message instead of raw error objects, ensuring
credential redaction is applied consistently across all scraper
production code paths.
stephen merged commit f389970d16 into dev 2026-02-06 23:00:09 -07:00
stephen deleted branch scraper/log-audit 2026-02-06 23:00:09 -07:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: stephen/apartment-dashboard-api#24
No description provided.