-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
Description
We discussed this at length on the cti-stix list and came to the following requirements:
- Timestamps MUST follow RFC 3339 with the following extra requirements
- Timestamps MUST use the timezone offset
- Timestamps MUST use the following format yyyy-mm-ddThh:mm:ss.mmmmmm+-hh:mm
- There will be an optional precision field (timestamp-precision) with the following string values: year, month, day, hour, minute, second, millisecond, microsecond. If precision is omitted, the default value of precision is "microsecond".
- When using the precision field, unknown values MUST be zeroed out
Some of those requirements may be superseded by data types in serialization formats (particularly binary formats) but as much as possible all serializations will follow these rules.