mitre-attack / mitre-attack/attack-workbench-frontend

Replace marking definitions

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

Nobody has claimed this yet.

editing enhancement Points: 3
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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.