oasis-tcs / cti-taxii2

OASIS CTI TC: An official CTI TC repository for TAXII 2 work
https://github.com/oasis-tcs/cti-taxii2
Other
9 stars 4 forks source link

Match field formatting #112

Open dzbeck opened 2 years ago

dzbeck commented 2 years ago

TAXII filtering only requires a match field to be a string. A match field doesn't have to be a STIX object property. Because most match fields are STIX object properties, it might be useful in later TAXII versions to define formatting to distinguish property match fields from non-property match fields.

For example, there is no "relationships" property defined for any STIX object. We've defined "relationships-all" as an additional match filter. Formatting the match field as ":relationships-all" (adding a colon (":")) might be helpful.

We've also defined match fields that do calculations based on a STIX object property. For example, "confidence-gte", which considers the confidence property, might also be formatted as ":confidence-gte".