File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -343,8 +343,8 @@ def _parse_taxii_filters(self, query):
343343 For instance - "?match[type]=indicator,sighting" can be in a
344344 filter in any of these formats:
345345
346- Filter("type", "<any op> ", "indicator,sighting")
347- Filter("type", "<any op> ", ["indicator", "sighting"])
346+ Filter("type", "= ", "indicator,sighting")
347+ Filter("type", "= ", ["indicator", "sighting"])
348348
349349 Args:
350350 query (list): list of filters to extract which ones are TAXII
@@ -357,7 +357,7 @@ def _parse_taxii_filters(self, query):
357357 taxii_filters = []
358358
359359 for filter_ in query :
360- if filter_ .property in TAXII_FILTERS :
360+ if filter_ .property in TAXII_FILTERS and filter_ . op == "=" :
361361 taxii_filters .append (filter_ )
362362
363363 return taxii_filters
You can’t perform that action at this time.
0 commit comments