Bug: Conflicting TLP Tags are Asserted after Entiy Extraction
packet-rat opened this issue · comments
Actual behavior
After performing Entity Extraction, two conflicting tags are asserted on the Event.
Expected behavior
(1) Only the most restrictive TLP assertion would be made (i.e. tagged)
(2) In this the "green" TLP Amber" tags seems incongruous.
Steps to reproduce
(1) Import STIX Package
(2) Manually add Event Report. Copy and paste content.
(3) Apply Entity Extraction on Narrative
(4) Refresh Event
(5) Two TLP:Amber Assertions are made (One Green, One Amber]
Note that I separately reported this issue in 9648
Version
2.4.191
Operating System
Ubuntu
Operating System version
20.0.4
PHP version
7.4.33
Browser
Any Browser
Browser version
No response
Relevant log output
No response
Extra attachments
Code of Conduct
- I agree to follow this project's Code of Conduct
Indeed, the entity extraction is pretty dumb in this regard, it will simply just extract what it can find without any regard for compatibility. Whilst fixing this wholesale would be a PITA (most taxonomies aren't nearly as cleanly hierarchical as TLP), we could hard-code the rules for TLP and PAP at least.