oasis-open / cti-python-stix2

OASIS TC Open Repository: Python APIs for STIX 2
https://stix2.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
356 stars 113 forks source link

Fix transformation from Filter object to TAXII filter #528

Closed chisholm closed 2 years ago

chisholm commented 2 years ago

Fix transformation from Filter object to TAXII filter to look at the filter operator; TAXII filters only support equals.

Fixes #527 Fixes https://github.com/oasis-open/cti-taxii-client/issues/102

codecov-commenter commented 2 years ago

Codecov Report

Merging #528 (659e1fd) into master (e64d23d) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #528   +/-   ##
=======================================
  Coverage   87.28%   87.28%           
=======================================
  Files         153      153           
  Lines       18025    18025           
=======================================
  Hits        15734    15734           
  Misses       2291     2291           
Impacted Files Coverage Δ
stix2/datastore/taxii.py 69.29% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update e64d23d...659e1fd. Read the comment docs.