Invalid value initialization in extract_embedded_relationships
Please replace every line in curly brackets { like this } with an appropriate answer, and remove this line.
Description
{ Please provide a clear and concise description of the bug. } When extracting ref relationships in extract_embedded_relationships, we initialize multiple values with an empty array (like object_label_ids for example). This needs to be double checked, but this looks like a bug: these values should be initialized to a None value instead of an empty array [] if they are not in the bundle
Environment
- OS (where OpenCTI server runs): { e.g. Mac OS 10, Windows 10, Ubuntu 16.4, etc. }
- OpenCTI version: { e.g. OpenCTI 1.0.2 }
- Other environment details:
Reproducible Steps
Steps to create the smallest reproducible scenario:
- { e.g. Run ... }
- { e.g. Click ... }
- { e.g. Error ... }
Expected Output
{ Please describe what you expected to happen. }
Actual Output
{ Please describe what actually happened. }
Additional information
{ Any additional information, including logs or screenshots if you have any. }