Skip to content

Coding Error in opencti_stix_domain_object.py #13516

@ericWadeFord

Description

@ericWadeFord

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

Metadata

Metadata

Labels

buguse for describing something not working as expectedclient-python

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions