Add ATT&CK heatmap dashboard visualization - #50
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 547e20340a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| ? Object.entries(dashboard.maturity).map(([name, value]) => ({ name, value })) | ||
| : [] | ||
|
|
||
| const tacticData = dashboard?.status || {} |
There was a problem hiding this comment.
Use tactic counts for the heatmap
The heatmap is keyed by ATT&CK tactic names, but this line feeds it dashboard.status; /dashboard currently returns statuses such as experimental, testing, and stable (see detlab/api.py), so every tacticData[tactic] lookup falls back to 0 for normal detections. As a result the new heatmap always renders empty coverage until the endpoint exposes the existing analytics tactics counts and the client reads that field instead.
Useful? React with 👍 / 👎.
Summary
Adds an ATT&CK-style coverage heatmap to the DetLab dashboard using live analytics data.
Changes
Example