Skip to content

Bug: Conversion to STIX2 does not take into account to_ids flag set in objects when creating indicators #48

Open
@cudeso

Description

@cudeso

MISP-STIX usage

Integration for Sentinel

Expected behavior

Only have those attributes of an object that have the to_ids flag set to true included in the pattern of the STIX indicator.

Actual behavior

All attributes of an object are included in the conversion, regardless of to_ids flag.

Steps to reproduce

Example with the file object.

If the attribute "filename" is added to the object, but with the to_ids flag set to False then it is still included in the STIX indicator pattern.

Version

2.4.172

Python version

3.8

Relevant log output

No response

Extra attachments

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions