mirror of
https://github.com/selfhosters-cc/container-census.git
synced 2026-01-19 05:02:16 -06:00
Backend: - Add TrivyDBUpdatedAt field to AgentInfo model - Update handleGetTrivyStatus to populate db_version from: - Local scanner via GetTrivyDBMetadata() for unix hosts - Agent info API for remote agent hosts - Both now report actual DB timestamp instead of empty value Frontend: - Update TrivyDatabaseModal to format DB timestamp using formatDate() - Update ScanHostSelectionModal to format DB timestamp - Add formatDate helper function to ScanHostSelectionModal - Display shows "18 hours ago" or "2 days ago" instead of "Unknown" Fixes "DB: Unknown" issue in both Security plugin modals. Now displays human-readable database freshness (e.g., "18 hours ago"). 🤖 Generated with Claude Code Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>