HTTP Response

http_response

The HTTP Response object contains detailed information about the response sent from a web server to the requester. It encompasses attributes and metadata that describe the response status, headers, body content, and other relevant information.

Contents

Attributes

Caption Name Type Is Array Default Description
Response Code code Integer The Hypertext Transfer Protocol (HTTP) status code returned from the web server to the client. For example, 200.
HTTP Content Type content_type String The request header that identifies the original media type of the resource (prior to any content encoding applied for sending).
HTTP Headers http_headers HTTP Header Additional HTTP headers of an HTTP request or response.
Latency latency Integer The HTTP response latency measured in milliseconds.
Response Length length Integer The HTTP response length, in number of bytes.
Message message String The description of the event/finding, as defined by the source.
Raw Data raw_data JSON The event data as received from the event source.
Record ID record_id String Unique identifier for the object
Status status String The response status. For example: A successful HTTP status of 'OK' which corresponds to a code of 200.
Unmapped Data unmapped Unmapped The attributes that are not mapped to the event schema. The names and values of those attributes are specific to the event source.

Context

HTTP Response

JSON

            
{
  "caption": "HTTP Response",
  "description": "The HTTP Response object contains detailed information about the response sent from a web server to the requester. It encompasses attributes and metadata that describe the response status, headers, body content, and other relevant information.",
  "extends": "object",
  "name": "http_response",
  "attributes": {
    "code": {
      "description": "The Hypertext Transfer Protocol (HTTP) status code returned from the web server to the client. For example, 200.",
      "requirement": "required",
      "caption": "Response Code",
      "type": "integer_t"
    },
    "content_type": {
      "requirement": "optional",
      "caption": "HTTP Content Type",
      "description": "The request header that identifies the original <a target='_blank' href='https://www.iana.org/assignments/media-types/media-types.xhtml'>media type </a> of the resource (prior to any content encoding applied for sending).",
      "type": "string_t"
    },
    "http_headers": {
      "requirement": "recommended",
      "caption": "HTTP Headers",
      "description": "Additional HTTP headers of an HTTP request or response.",
      "is_array": true,
      "type": "http_header"
    },
    "latency": {
      "requirement": "optional",
      "caption": "Latency",
      "description": "The HTTP response latency measured in milliseconds.",
      "type": "integer_t"
    },
    "length": {
      "requirement": "optional",
      "caption": "Response Length",
      "description": "The HTTP response length, in number of bytes.",
      "type": "integer_t"
    },
    "message": {
      "requirement": "optional",
      "caption": "Message",
      "description": "The description of the event/finding, as defined by the source.",
      "type": "string_t"
    },
    "status": {
      "requirement": "optional",
      "description": "The response status. For example: A successful HTTP status of 'OK' which corresponds to a code of 200.",
      "caption": "Status",
      "type": "string_t"
    },
    "raw_data": {
      "group": "context",
      "caption": "Raw Data",
      "description": "The event data as received from the event source.",
      "type": "json_t"
    },
    "record_id": {
      "description": "Unique identifier for the object",
      "group": "primary",
      "requirement": "required",
      "caption": "Record ID",
      "type": "string_t"
    },
    "unmapped": {
      "caption": "Unmapped Data",
      "description": "The attributes that are not mapped to the event schema. The names and values of those attributes are specific to the event source.",
      "type": "unmapped",
      "is_array": true
    }
  }
}