Error 'standard_id' when using the export-file-stix connector v6.1.10 on a report that contains nested relationships #2214
Labels
bug
use for describing something not working as expected
needs more info
Intel needed about the use case
Description
The export-file-stix connector v6.1.10 generate an error 'standard_id' when trying to export a report which contains nested relationships (e.g. Sample relationship between a Malware SDO and a File SCO). The connector doesn't seem to be able to retrieve a standard_id for these entities. I am not sure that STIX2.1 is attributing an id to these nested relationships:
"The sample_refs property specifies a list of identifiers of the SCO file or artifact objects associated with this malware instance(s) or family."(https://docs.oasis-open.org/cti/stix/v2.1/csprd01/stix-v2.1-csprd01.html#_Toc16070645)
Environment
Reproducible Steps
Steps to create the smallest reproductible scenario:
Expected Output
We are expecting to generate a json file in STIX of the report that we can download.
Actual Output
Connector error: "KeyError: 'standard_id"
Additional information
Screenshots (optional)
The text was updated successfully, but these errors were encountered: