mitre-attack / mitre-attack/attack-workbench-frontend
Replace marking definitions
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 438
- Forks
- 79
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 3
Description
As a user, I want to be able to replace marking definitions with new marking definitions such that all objects marked with the old marking are now marked with the new marking.
Marking definitions cannot be edited per the STIX spec, so in order to "edit" an existing marking the user must create a new marking definition. After creating said marking, the user should be able to select a marking it "replaces." After the object is saved, all objects which reference the replaced marking definition (excepting revoked and deprecated objects(?)) should have their object_marking_refs updated to:
- no longer contain the replaced marking reference
- contain the replacing marking reference
This is behaviorally similar to editing a references in the reference manager, which updates all objects the reference is found upon.
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 reviewing the marking-definition save flow and the reference-manager behavior described in the issue. Determine how a new marking selects a marking it replaces, which referenced objects should be updated, and how revoked or deprecated objects are handled. Done means the replacement semantics are implemented and verified for affected object markings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100