core¶
STIX 2.0 Objects that are neither SDOs nor SROs.
-
class
Bundle
(*args, **kwargs)¶ For more detailed information on this object’s properties, see the STIX 2.0 specification.
Properties: - type (Type)
- id (ID)
- spec_version (**)
- objects (List of STIX Objects)
-
parse
(data, allow_custom=False, version=None)¶ Deserialize a string or file-like object into a STIX object.
Parameters: - data (str, dict, file-like object) – The STIX 2 content to be parsed.
- allow_custom (bool) – Whether to allow custom properties or not. Default: False.
- version (str) – Which STIX2 version to use. (e.g. “2.0”, “2.1”). If None, use latest version.
Returns: An instantiated Python STIX object.