Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Commit 807bb43

Browse files
author
Samuel Hassine
committed
[client] Prepare next release
1 parent 5a1d199 commit 807bb43

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

pycti/utils/opencti_stix2.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1545,7 +1545,11 @@ def import_bundle(self, stix_bundle, update=False, types=None) -> List:
15451545
self.import_observable(item, update, types)
15461546
else:
15471547
# Check the scope
1548-
if types is None or len(types) == 0:
1548+
if (
1549+
item["type"] == "marking-definition"
1550+
or types is None
1551+
or len(types) == 0
1552+
):
15491553
self.import_object(item, update, types)
15501554
# Handle identity & location if part of the scope
15511555
elif item["type"] in types:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from setuptools import setup
77
from setuptools.command.install import install
88

9-
VERSION = "4.5.2"
9+
VERSION = "4.5.3"
1010

1111
with open("README.md", "r") as fh:
1212
long_description = fh.read()

0 commit comments

Comments
 (0)