Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect schema for network-traffic http-request-ext request_header #152

Closed
JasperJuergensen opened this issue Aug 3, 2022 · 0 comments · Fixed by #161
Closed

Incorrect schema for network-traffic http-request-ext request_header #152

JasperJuergensen opened this issue Aug 3, 2022 · 0 comments · Fixed by #161

Comments

@JasperJuergensen
Copy link

The standard for STIX2.1 specifies for the http-request-ext for the request_header field:

The corresponding value for each dictionary key MUST always be a list of type string to support when a header field is repeated.

The schema enforces string values instead of lists of strings.

This causes problems when using the stix-validator:

network-traffic--a6cb5584-ba80-5838-a35a-daed632b1ee6: extensions.http-request-ext.request_header.Host: ['example.com'] is not of type 'string'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant