mitre-attack / mitre-attack/attack-navigator

Feature request: Allow colors based on score brackets in addition to existing gradient

Open
#417 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
2.5k
Forks
715
Avg merge
7h 33m
Merged PRs (30d)
4

Description

Currently score-based coloring is forced to use an automatic gradient within the score range. Would it be possible to add set colors for specific score ranges as an additional option? Possibly a toggle between the two modes?

This would allow greater control over colors for some use cases, and also help a lot with layer-math based combines between already scored layers.

For example:
Score range 0-0: Color1
Score range 1-5: Color2
Score range 6-10: Color3
Score range 11+ : Color4

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files or tests. Start by locating the existing score-based gradient coloring and the layer-math combine behavior, then trace where coloring options are configured in the web interface. Done means users can choose gradient or bracketed colors and define the requested score ranges without breaking existing coloring.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.