Compare commits
8 Commits
8ab39f75f7
...
519a5cb8fa
Author | SHA1 | Date |
---|---|---|
chrisr3d | 519a5cb8fa | |
Chris Lenk | 81550cab92 | |
Chris Lenk | f5ea1396a1 | |
Rich Piazza | 34128d17b8 | |
Rich Piazza | 585e76e909 | |
Emmanuelle Vargas-Gonzalez | 87d79445dc | |
Emmanuelle Vargas-Gonzalez | 66535bb550 | |
Michael Chisholm | 659e1fd90d |
12
CHANGELOG
12
CHANGELOG
|
@ -1,13 +1,21 @@
|
||||||
CHANGELOG
|
CHANGELOG
|
||||||
=========
|
=========
|
||||||
|
|
||||||
|
3.0.1 2021-09-24
|
||||||
|
|
||||||
|
* #513 Fixes check for reference properties to apply to all custom objects, not
|
||||||
|
just custom observables (@maybe-sybr)
|
||||||
|
* #526 Fixes TAXIICollection queries to propagate HTTPErrors, not ignore them
|
||||||
|
* #528 Fixes bug where all TAXII filters were converted to exact matches
|
||||||
|
|
||||||
|
|
||||||
3.0.0 2021-07-13
|
3.0.0 2021-07-13
|
||||||
|
|
||||||
This version aligns with the STIX 2.1 CS 03 (WD12) document, also know as the "OASIS Standard".
|
This version aligns with the STIX 2.1 CS 03 (WD12) document, also known as the "OASIS Standard".
|
||||||
|
|
||||||
Main Changes
|
Main Changes
|
||||||
#509 Add Sighting.summary default value
|
#509 Add Sighting.summary default value
|
||||||
#503 Revamp how STIX content customization is detected and enforced enhancement
|
#503 Revamp how STIX content customization is detected and enforced enhancement
|
||||||
#500 fp write for STIX Objects
|
#500 fp write for STIX Objects
|
||||||
#492 Drop 'six' dependency (backwards breaking)
|
#492 Drop 'six' dependency (backwards breaking)
|
||||||
#490 Change canonicalization to normalization
|
#490 Change canonicalization to normalization
|
||||||
|
|
|
@ -68,8 +68,8 @@ For more in-depth documentation, please see `https://stix2.readthedocs.io/ <http
|
||||||
STIX 2 Technical Specification Support
|
STIX 2 Technical Specification Support
|
||||||
--------------------------------------
|
--------------------------------------
|
||||||
|
|
||||||
This version of cti-python-stix2 brings support to `STIX Version 2.1 <https://docs.oasis-open.org/cti/stix/v2.1/cs02/stix-v2.1-cs02.html>`__
|
This version of cti-python-stix2 brings support to `STIX Version 2.1 <https://docs.oasis-open.org/cti/stix/v2.1/os/stix-v2.1-os.html>`__
|
||||||
published on 25 January 2021 currently at the Committee Specification (CS) 02 level.
|
published on 10 June 2021 currently at the Committee Specification (CS) 03 level, also know as the "OASIS Standard".
|
||||||
|
|
||||||
The stix2 Python library supports multiple versions of the STIX 2 Technical
|
The stix2 Python library supports multiple versions of the STIX 2 Technical
|
||||||
Specification. The library will be updated to support new Committee
|
Specification. The library will be updated to support new Committee
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[bumpversion]
|
[bumpversion]
|
||||||
current_version = 3.0.0
|
current_version = 3.0.1
|
||||||
commit = True
|
commit = True
|
||||||
tag = True
|
tag = True
|
||||||
|
|
||||||
|
|
4
setup.py
4
setup.py
|
@ -31,8 +31,8 @@ setup(
|
||||||
url='https://oasis-open.github.io/cti-documentation/',
|
url='https://oasis-open.github.io/cti-documentation/',
|
||||||
author='OASIS Cyber Threat Intelligence Technical Committee',
|
author='OASIS Cyber Threat Intelligence Technical Committee',
|
||||||
author_email='cti-users@lists.oasis-open.org',
|
author_email='cti-users@lists.oasis-open.org',
|
||||||
maintainer='Chris Lenk, Emmanuelle Vargas-Gonzalez',
|
maintainer='Chris Lenk',
|
||||||
maintainer_email='clenk@mitre.org, emmanuelle@mitre.org',
|
maintainer_email='clenk@mitre.org',
|
||||||
license='BSD',
|
license='BSD',
|
||||||
classifiers=[
|
classifiers=[
|
||||||
'Development Status :: 4 - Beta',
|
'Development Status :: 4 - Beta',
|
||||||
|
|
|
@ -343,8 +343,8 @@ class TAXIICollectionSource(DataSource):
|
||||||
For instance - "?match[type]=indicator,sighting" can be in a
|
For instance - "?match[type]=indicator,sighting" can be in a
|
||||||
filter in any of these formats:
|
filter in any of these formats:
|
||||||
|
|
||||||
Filter("type", "<any op>", "indicator,sighting")
|
Filter("type", "=", "indicator,sighting")
|
||||||
Filter("type", "<any op>", ["indicator", "sighting"])
|
Filter("type", "=", ["indicator", "sighting"])
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
query (list): list of filters to extract which ones are TAXII
|
query (list): list of filters to extract which ones are TAXII
|
||||||
|
@ -357,7 +357,7 @@ class TAXIICollectionSource(DataSource):
|
||||||
taxii_filters = []
|
taxii_filters = []
|
||||||
|
|
||||||
for filter_ in query:
|
for filter_ in query:
|
||||||
if filter_.property in TAXII_FILTERS:
|
if filter_.property in TAXII_FILTERS and filter_.op == "=":
|
||||||
taxii_filters.append(filter_)
|
taxii_filters.append(filter_)
|
||||||
|
|
||||||
return taxii_filters
|
return taxii_filters
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
__version__ = "3.0.0"
|
__version__ = "3.0.1"
|
||||||
|
|
||||||
DEFAULT_VERSION = '2.1' # Default version will always be the latest STIX 2.X version
|
DEFAULT_VERSION = '2.1' # Default version will always be the latest STIX 2.X version
|
||||||
|
|
Loading…
Reference in New Issue