cti-python-stix2
cti-python-stix2 copied to clipboard
OASIS TC Open Repository: Python APIs for STIX 2
I tried to use the extension decorators to reproduce the extension example from the standard: *Adding two new STIX objects and properties to an existing STIX object instance*. The code...
Should fix broken RTD doc builds. Needed because of https://blog.readthedocs.com/migrate-configuration-v2/ @rpiazza
There are normative statements in the spec about the value of dictionary items for properties that are defined to be of the dictionary type (e.g., email-message.additional_header_fields). They are not checked...
This pull request introduces an optimization to the `add` method of the `FileSystemSink` class by allowing the specification of the `pretty` parameter. The default setting `pretty=True` in the `fp_serialize` function...
Issue #572 errors when longitude or latitude has a 0 value. This fix takes into account 0 values for longitude and latitude.
**Problem:** the existing `ObjectFactory` when initialized with the default values like `created_by_ref`, does not handle properly the creation of SCOs, which does not have these default properties (`created`, `created_by_ref`, `external_references`)...
See example in https://github.com/oasis-open/cti-python-stix2-extensions/blob/main/incident-ef7/pyproject.toml