mitre-attack / mitre-attack/attack-navigator
Control layout mode via URL parameter and/or default config
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.5k
- Forks
- 715
- Avg merge
- 7h 33m
- Merged PRs (30d)
- 4
Description
Hello,
As a system administrator/user who hosts our own ATT&CK Navigator instance, I’d like to present users an option to generate navigator url to be shared that can set layout options (show id, show name, mini, side, flat layout).
e.g. If a user wants to host iframe with navigator src url that only shows id and not name, they can use src url like:
http://localnavigator/#layerURL=http%3A%2F%2Flocalnavigator%2Flayer.json&showName=false&showID=true
or to use layout like mini:
http://localnavigator/#layerURL=http%3A%2F%2Flocalnavigator%2Flayer.json&layout=mini
I see such variables are already present as properties of viewModel.layout…but I cannot easily find a way to have them embed such properties as url or modify some config switch from host side. Is it somehow possible in current v4.3 navigator?
If not, could you consider adding such features?
Thanks.
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
No files or tests are named. Start with the URL hash examples and the existing viewModel.layout properties mentioned in the issue; trace how layout state is initialized, then define completion as URL parameters or host configuration controlling show ID, show name, mini, side, and flat layout modes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100