client-python icon indicating copy to clipboard operation
client-python copied to clipboard

Coding Error in opencti_stix_domain_object.py

Open ericWadeFord opened this issue 6 months ago • 0 comments

Description

There is a coding error in opencti_stix_domain_object.py lines 1544 through 1572, specifically line 1571. This code block defines the remove_marking_definition variable. However, at line 1571, if the function returns false, the following is printed "Missing parameters: id and label_id." However, there is no label_id for a remove_marking_definition.

Environment

6.6.14

Reproducible Steps

N/A

Expected Output

The error message printed to screen applies to the removal of a marking definition.

Actual Output

The error message printed to screen is "Missing parameters: id and label_id."

Screenshots (optional)

Image

ericWadeFord avatar May 30 '25 14:05 ericWadeFord