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

Commit aac635c

Browse files
committed
[client] add comment
1 parent 44315c6 commit aac635c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pycti/utils/opencti_stix2.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3102,6 +3102,7 @@ def import_bundle(
31023102
too_large_elements_bundles = []
31033103
for bundle in bundles:
31043104
for item in bundle["objects"]:
3105+
# If item is considered too large, meaning that it has a number of refs higher than inputted objects_max_refs, do not import it
31053106
nb_refs = OpenCTIStix2Utils.compute_object_refs_number(item)
31063107
if 0 < objects_max_refs <= nb_refs:
31073108
self.opencti.work.report_expectation(

0 commit comments

Comments
 (0)