Timestamp properties can now be checked against filter values which are either strings or datetime objects, using datetime semantics (previously, it reduced to a string compare). If a stix object property is datetime-valued and the filter value is a string, the string is parsed to a datetime object, rather than the other way around. Filtering in the filesystem store now parses JSON dicts to _STIXBase objects before applying the filters. Due to the parsing change, bad JSON content can produce a different kind of error, so I had to change one of the tests. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| filesystem.py | ||
| filters.py | ||
| memory.py | ||
| taxii.py | ||