Commit graph

2 commits

Author SHA1 Message Date
google-labs-jules[bot]
ab85cdaef2 🛡️ Sentinel: [Security Enhancement] Add security headers to web dashboard
🚨 Severity: MEDIUM (Enhancement)
💡 Vulnerability: Missing security headers (CSP, X-Frame-Options, etc.)
🎯 Impact: Reduces risk of XSS, Clickjacking, and MIME sniffing.
🔧 Fix: Added @app.after_request hook to inject robust security headers.
 Verification: Added unit test `test_security_headers` which verifies header presence and values.
2026-02-08 11:33:00 +00:00
google-labs-jules[bot]
9d93a21039 Bolt: Optimize health check endpoint
💡 What: Separated the /health endpoint from the main dashboard rendering logic. It now returns a lightweight JSON response.
🎯 Why: The previous implementation rendered the full Markdown dashboard for every health check, consuming unnecessary CPU and I/O resources during frequent polling.
📊 Impact: Reduces health check processing time from file reading + markdown parsing (~milliseconds) to a simple JSON return (~microseconds).
🔬 Measurement: Verified with new test script scripts/test_web_dashboard.py and updated render.yaml/app.yaml to use the new endpoint.
2026-01-21 05:17:23 +00:00