client-python
client-python copied to clipboard
clean_up_inconsistent_bundle option should warn some references are dropped
Description
When using https://github.com/OpenCTI-Platform/client-python/blob/ea941a90b9d6bc6c05b1ecb898a86456a314b3df/pycti/connector/opencti_connector_helper.py#L1739 with cleanup_inconsistent_bundle option there is no user info about the missing references that are removed from the bundle.
Environment
- OS (where OpenCTI server runs): NA
- OpenCTI version: 6.5.9
- Other environment details: NA
Reproducible Steps
- create an inconsistent bundle (for instance 1 relationship pointing to missing entities)
- use send_stix2_bundle method
- No message is emitted
Expected Output
A warning message alerting bundle have been modified
Actual Output
Nothing
Additional information
NA