v1.7.37 - Debug logging for Docker Bench warn investigation
Changes
- Add debug console.log to track status counts received from agent when storing compliance results
- Helps identify whether agent is sending wrong status values or backend is storing incorrectly
Purpose
This release adds debug logging to investigate why Docker Bench warnings aren't appearing in the "Top Warnings - Docker Bench" section. The agent reports 135 warnings in the scan summary but individual results don't have status='warn' in the database.
Testing
Deploy the backend and run a Docker Bench compliance scan. Check the backend logs for:
=== DEBUG: Received X results for docker-bench ====== DEBUG: Status counts received: {...} ===
This will show exactly what status values the agent is sending.
🤖 Generated with Claude Code