Skip to content

v1.7.70 - Compliance Dashboard Enhancements

Choose a tag to compare

@MacJediWizard MacJediWizard released this 07 Jan 07:56
· 18 commits to main since this release

What's New in v1.7.70

🎯 Compliance Dashboard Improvements

Bulk Scan Status Tracking (#174, #175)

  • Added real-time status cards showing scan progress for all triggered hosts
  • Visual state transitions: Pending (yellow) → Running (blue/green) → Complete
  • Cards automatically disappear when scans complete

Profile-Type Color Coding

  • OpenSCAP scans: Green theme (#22c55e) - consistent security visual language
  • Docker Bench scans: Blue theme (#3b82f6) - distinct container security styling
  • Applied consistently to scan cards, badges, and charts

Compliance Trend Chart Enhancements

  • Separated trend lines by profile type (previously showed combined data)
  • OpenSCAP scores displayed as green line
  • Docker Bench scores displayed as blue line
  • Added legend to distinguish profile types
  • Custom tooltip showing scores for both types

🐛 Bug Fixes

  • Fixed 500 error on /compliance/scans/active endpoint (missing agentWs import)
  • Fixed profile_id mismatch when deleting running scans
  • Improved running scan record management and cleanup
  • Fixed bulk scan route ordering causing 400 error

🧹 Code Quality

  • Applied Biome linting fixes across 34 frontend files
  • Removed debug logging from compliance routes
  • Fixed unused variable warnings and import ordering
  • Improved React hooks dependency arrays

📝 Related Issues

  • #174 - Compliance Dashboard Improvements
  • #175 - Bulk Compliance Scan Trigger

Files Modified

  • frontend/src/pages/Compliance.jsx - Bulk scan UI and color coding
  • frontend/src/components/compliance/ComplianceTrend.jsx - Dual trend lines
  • backend/src/routes/complianceRoutes.js - API fixes and cleanup
  • 34 frontend files - Linting fixes

Full Changelog: v1.7.65...v1.7.70