opencti
opencti copied to clipboard
[frontend/backend] Ability to add indicator generated from the observables of a container in the container (#6171)
Proposed changes
- checkbox added to add the created entity to the container
- containerId passed to the background task
- if the containerId is present, the created entity will be add to the container
- promoteObservableToIndicator now return the created indicator
- on observable page, when we generate or delete an inficator, we update the relay store directly
Related issues
- https://github.com/OpenCTI-Platform/opencti/issues/6171
Checklist
- [x] I consider the submitted work as finished
- [x] I tested the code for its functionality
- [ ] I wrote test cases for the relevant uses case (coverage and e2e)
- [ ] I added/update the relevant documentation (either on github or on notion)
- [ ] Where necessary I refactored code to improve the overall quality