cti-python-stix2/stix2
clenk 8f1ae4e6d3 Add custom properties via 'allow_custom'
Custom properties can be specified by passing them to a STIX object
constructor in the 'custom_properties' argument, or with the
'allow_custom' argument set to True, which will add any unrecognized
keyword arguments as properties on the object. The 'allow_custom'
argument can also be used with the parse() and parse_observable()
functions.
An error is now raised when attempting to parse objects without a 'type'
property, such as external references, kill chain phases, and granular
markings. The object which contains them is what should be parsed, not
these objects themselves.
2017-06-12 13:04:20 -04:00
..
sources
test Add custom properties via 'allow_custom' 2017-06-12 13:04:20 -04:00
__init__.py Add custom properties via 'allow_custom' 2017-06-12 13:04:20 -04:00
base.py Add custom properties via 'allow_custom' 2017-06-12 13:04:20 -04:00
bundle.py
common.py
exceptions.py Add custom properties via 'allow_custom' 2017-06-12 13:04:20 -04:00
observables.py
other.py
properties.py
sdo.py
sro.py
utils.py