OpenCTI-Platform / opencti

Open Cyber Threat Intelligence Platform
https://opencti.io
Other
5.16k stars 815 forks source link

Option to disable overwrite of marking definitions of existing entities when importing a workbench #7414

Open ups1decyber opened 2 weeks ago

ups1decyber commented 2 weeks ago

Use case

Sorry for the long title, but this use-case is quite specific. Let's assume the following:

Now, when I validate the workbench, the marking definition of the observable 1.2.3.4 is overwritten with the marking definition of the report (TLP:AMBER), even though the observable was previously known from a TLP:CLEAR source.

This seems counterintuitive, because it restricts how the observable 1.2.3.4 can be shared with other users of the platform. On our instance, there are groups which can only read TLP:CLEAR and TLP:GREEN. For these groups, the observable 1.2.3.4 would disappear even though it was previously known from a TLP:CLEAR source.

Current Workaround

There is no good workaround. One thing would be to add the TLP:AMBER report without any markings, so the workbench validation does not overwrite any marking definitions. This however, would also cause new entities and observables to have no markings which is not desired.

Proposed Solution

In the workbench validation menu, add an option to disable overwrite of marking definitions for existing entities and observables.

Additional Information

-

If the feature request is approved, would you be willing to submit a PR?

No

Jipegien commented 1 week ago

Hello @ups1decyber and thank you for your request.

@nino-filigran: to take into account for the Draft EPIC. Ensure the ability see the diff between existing and new entity, and give user the capability to correct new entity before import.