From 11934203fcc280ea3df8e7d9a012a167239e1a5b Mon Sep 17 00:00:00 2001
From: Alexandre Dulaunoy
Date: Mon, 9 Nov 2026 17:30:01 +0100
Subject: [PATCH 1/3] new: [http-response] Add http-response object template
---
objects/http-response/definition.json | 73 +++++++++++++++++++++++++++
1 file changed, 73 insertions(+)
create mode 100644 objects/http-response/definition.json
diff --git a/objects/http-response/definition.json b/objects/http-response/definition.json
new file mode 100644
index 00000000..a172d66f
--- /dev/null
+++ b/objects/http-response/definition.json
@@ -0,0 +1,73 @@
+{
+ "attributes": {
+ "body-length": {
+ "description": "Actual response body size in bytes, independently of a Content-Length header.",
+ "disable_correlation": true,
+ "misp-attribute": "size-in-bytes",
+ "to_ids": false,
+ "ui-priority": 1
+ },
+ "content-type": {
+ "description": "Media type of the response body.",
+ "disable_correlation": true,
+ "misp-attribute": "mime-type",
+ "to_ids": false,
+ "ui-priority": 1
+ },
+ "header": {
+ "description": "One complete HTTP response header per attribute in name: value form; retain duplicate header lines as separate attributes.",
+ "disable_correlation": true,
+ "misp-attribute": "text",
+ "multiple": true,
+ "to_ids": false,
+ "ui-priority": 1
+ },
+ "latency-ms": {
+ "description": "Observed HTTP response latency in milliseconds.",
+ "disable_correlation": true,
+ "misp-attribute": "integer",
+ "to_ids": false,
+ "ui-priority": 1
+ },
+ "length": {
+ "description": "Size of the complete response in bytes.",
+ "disable_correlation": true,
+ "misp-attribute": "size-in-bytes",
+ "to_ids": false,
+ "ui-priority": 1
+ },
+ "message": {
+ "description": "HTTP status line or reason phrase as recorded by the source.",
+ "disable_correlation": true,
+ "misp-attribute": "text",
+ "to_ids": false,
+ "ui-priority": 1
+ },
+ "status": {
+ "description": "Source response status label, such as OK.",
+ "disable_correlation": true,
+ "misp-attribute": "text",
+ "to_ids": false,
+ "ui-priority": 1
+ },
+ "status-code": {
+ "description": "HTTP status code returned by the server, such as 200 or 404.",
+ "disable_correlation": true,
+ "misp-attribute": "integer",
+ "to_ids": false,
+ "ui-priority": 1
+ }
+ },
+ "description": "One observed HTTP response, including status, headers, sizes and response latency. Relate it to its request and network connection. Based on OCSF 1.9.0: https://schema.ocsf.io/1.9.0/objects/http_response.",
+ "meta-category": "network",
+ "name": "http-response",
+ "requiredOneOf": [
+ "status-code",
+ "header",
+ "content-type",
+ "status",
+ "message"
+ ],
+ "uuid": "b059e3a8-3c9d-4689-962a-7a07e349c966",
+ "version": 1
+}
\ No newline at end of file
From 548d810c94156f2213efde76ffb1595a14511358 Mon Sep 17 00:00:00 2001
From: Alexandre Dulaunoy
Date: Mon, 9 Nov 2026 17:42:14 +0100
Subject: [PATCH 2/3] fix: [http-response] Address Codex review feedback
---
objects/http-response/definition.json | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/objects/http-response/definition.json b/objects/http-response/definition.json
index a172d66f..78e15793 100644
--- a/objects/http-response/definition.json
+++ b/objects/http-response/definition.json
@@ -25,7 +25,7 @@
"latency-ms": {
"description": "Observed HTTP response latency in milliseconds.",
"disable_correlation": true,
- "misp-attribute": "integer",
+ "misp-attribute": "counter",
"to_ids": false,
"ui-priority": 1
},
@@ -69,5 +69,5 @@
"message"
],
"uuid": "b059e3a8-3c9d-4689-962a-7a07e349c966",
- "version": 1
+ "version": 2
}
\ No newline at end of file
From ffe1fd886f6b0e02f19b3f6d23c959a5b13f79ee Mon Sep 17 00:00:00 2001
From: Alexandre Dulaunoy
Date: Tue, 24 Nov 2026 06:38:04 +0100
Subject: [PATCH 3/3] chg: [http-response] Align HTTP attributes with
http-request
---
objects/http-response/definition.json | 24 +++++++++++++++++++++---
1 file changed, 21 insertions(+), 3 deletions(-)
diff --git a/objects/http-response/definition.json b/objects/http-response/definition.json
index 78e15793..87b1d342 100644
--- a/objects/http-response/definition.json
+++ b/objects/http-response/definition.json
@@ -8,14 +8,31 @@
"ui-priority": 1
},
"content-type": {
- "description": "Media type of the response body.",
+ "categories": [
+ "Network activity"
+ ],
+ "description": "The MIME type of the response body.",
"disable_correlation": true,
- "misp-attribute": "mime-type",
+ "misp-attribute": "other",
+ "to_ids": false,
+ "ui-priority": 1
+ },
+ "cookie": {
+ "categories": [
+ "Network activity"
+ ],
+ "description": "One Set-Cookie response header value, including any cookie attributes.",
+ "disable_correlation": true,
+ "misp-attribute": "text",
+ "multiple": true,
"to_ids": false,
"ui-priority": 1
},
"header": {
- "description": "One complete HTTP response header per attribute in name: value form; retain duplicate header lines as separate attributes.",
+ "categories": [
+ "Network activity"
+ ],
+ "description": "One complete HTTP response header line per attribute in name: value form. Record repeated header lines as separate attributes.",
"disable_correlation": true,
"misp-attribute": "text",
"multiple": true,
@@ -64,6 +81,7 @@
"requiredOneOf": [
"status-code",
"header",
+ "cookie",
"content-type",
"status",
"message"