mirror of
https://github.com/DISARMFoundation/DISARMframeworks.git
synced 2024-12-28 00:39:46 -05:00
16 lines
294 B
Python
16 lines
294 B
Python
|
from stix2 import Bundle
|
||
|
|
||
|
|
||
|
def make_stix_bundle(stix_objects):
|
||
|
"""Makes a STIX Bundle object.
|
||
|
|
||
|
Args:
|
||
|
stix_objects (list): A list of STIX objects.
|
||
|
|
||
|
Returns:
|
||
|
Bundle: A STIX Bundle object.
|
||
|
|
||
|
"""
|
||
|
bundle = Bundle(stix_objects, allow_custom=True)
|
||
|
return bundle
|