This repository has been archived by the owner on Jun 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
x-oasis-cti-tc-http-response-ext.json
70 lines (70 loc) · 2.74 KB
/
x-oasis-cti-tc-http-response-ext.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"id": "x-oasis-cti-tc-http-response-ext.json",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "http-response-ext",
"description": "Allows for characterizing HTTP responses to capture things like HTTP redirects and to link HTTP requests with the webpage content that gets returned.",
"type": "object",
"patternProperties": {
"^x-oasis-cti-tc-http-response-ext$": {
"type": "object",
"description": "The HTTP Response Network Traffic extension allows for characterizing HTTP responses to capture things like HTTP redirects and to link HTTP requests with the webpage content that gets returned.",
"properties": {
"sep_version": {
"type": "integer",
"description": "The version of this SEP."
},
"response_url_ref": {
"type": "string",
"description": "Specifies the URL object that specifies the network location that the HTTP Response was received from."
},
"response_status": {
"type": "integer",
"description": "Specifies the HTTP status code for the HTTP response, as an integer."
},
"response_version": {
"type": "string",
"description": "Specifies the HTTP version portion of the HTTP response line, as a lowercase string."
},
"response_content_type": {
"type": "string",
"description": "Specifies the HTTP content_type header portion of the HTTP response line, as a lowercase string."
},
"response_header": {
"type": "object",
"description": "Specifies all of the HTTP header fields that may be found in the HTTP server response.",
"patternProperties": {
"^[A-Z][a-zA-Z0-9_-]+$": {
"oneOf": [
{
"type": "string"
}
]
}
},
"additionalProperties": false
},
"response_request_ref": {
"type": "string",
"description": "Specifies the HTTP Request object that resulted in this HTTP Response being generated."
},
"message_body_length": {
"type": "integer",
"description": "Specifies the length of the HTTP message body, if included, in bytes."
},
"message_body_data_ref": {
"type": "string",
"description": "Specifies the data contained in the HTTP message body."
},
"redirects_to_ref": {
"type": "string",
"description": "Specifies the URL object that specifies the network location that this HTTP Response is redirecting us to."
}
},
"required": [
"response_content_type",
"message_body_data_ref",
"sep_version"
]
}
}
}