mitre-attack / mitre-attack/attack-website
Add custom dataset configuration
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 588
- Forks
- 174
- Avg merge
- 13d 4h
- Merged PRs (30d)
- 2
Description
As an individual or organization standing up an instance of attack-website with a custom dataset, I want to be able to use exported ATT&CK Navigator layers with an attached ATT&CK Navigator instance hosting the same custom dataset.
Currently, exported layer filles will include the versions.attack field denoting what version of ATT&CK they refer to. However, if a user is hosting a custom dataset they may not have versioned that dataset, creating issues where the Navigator layer cannot match a version in the Navigator's config.versions structure (see https://github.com/mitre-attack/attack-navigator/issues/343).
Add a config setting specifying that a custom dataset has been used, and remove the versions.attack field from output ATT&CK Navigator layers if this config setting is enabled. That will force the output layers to fallback to the most recent version specified in the Navigator instance, e.g the custom dataset.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the configuration handling and the code that produces exported ATT&CK Navigator layers. Review how the Navigator's config.versions structure is represented, then trace where versions.attack is added to output. Done means a custom-dataset setting is honored and exported layers omit versions.attack when it is enabled, while existing behavior remains unchanged otherwise.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- web-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100