Open TcM1911 opened 3 years ago
Thanks @TcM1911 - This is a good catch. Unfortunately, the spec has been published, so no changes can be made at this time. If you look at the json schema (see https://github.com/oasis-open/cti-stix2-json-schemas/blob/master/schemas/observables/network-traffic.json) it also is incorrect, according to the spec, which is why this error wasn't caught. This will be addressed in any new version of the spec in the future.
The TC must make a decision about whether to update the spec language or whether to update the example and the schema. The Errata will explain the decision and the implications. Updating the schema is problematic because it may invalidate objects in the field.
Reference material (courtesy jmg): https://datatracker.ietf.org/doc/html/rfc2616#section-4.2
The provided example for HTTP extension does not follow the specification. The dictionary values in the
request_header
MUST be a list of string. The example has strings.Description text:
Example: