When running
from taxii2client.v21 import Collection
collection = Collection('https://attack-taxii.mitre.org/api/v21/collections/x-mitre-collection--1f5f1533-f617-4ca8-9ab4-6a02367fa019')
objects = collection.get_objects()
print(set([obj["type"] for obj in objects["items"]]))
in the documentation there is ?match[type]=incident,malware in the 3.4 Filtering under the match[<field>].
the output is of the code is:
{'campaign', 'malware', 'x-mitre-data-source', 'x-mitre-data-component', 'identity', 'attack-pattern', 'tool', 'intrusion-set', 'course-of-action', 'marking-definition', 'x-mitre-matrix', 'x-mitre-tactic', 'relationship'}
I don't see any incident here.
Please advise, thanks in advance.
When running
in the documentation there is
?match[type]=incident,malwarein the 3.4 Filtering under thematch[<field>].the output is of the code is:
{'campaign', 'malware', 'x-mitre-data-source', 'x-mitre-data-component', 'identity', 'attack-pattern', 'tool', 'intrusion-set', 'course-of-action', 'marking-definition', 'x-mitre-matrix', 'x-mitre-tactic', 'relationship'}I don't see any incident here.
Please advise, thanks in advance.