Skip to content

Class: HttpResponse

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.

URI: ocsf:HttpResponse

 classDiagram
    class HttpResponse
    click HttpResponse href "../HttpResponse/"
      Object <|-- HttpResponse
        click Object href "../Object/"

      HttpResponse : body_length

      HttpResponse : code

      HttpResponse : content_type

      HttpResponse : http_headers





        HttpResponse --> "* _recommended_" HttpHeader : http_headers
        click HttpHeader href "../HttpHeader/"



      HttpResponse : latency

      HttpResponse : length

      HttpResponse : message

      HttpResponse : status

Inheritance

Slots

Name Cardinality and Range Description Inheritance
body_length 0..1
Integer
The actual length of the HTTP response body, in number of bytes, independent ... direct
code 1
Integer
The Hypertext Transfer Protocol (HTTP) status code returned from the web serv... direct
content_type 0..1
String
The request header that identifies the original <a target='_blank' direct
http_headers * recommended
HttpHeader
Additional HTTP headers of an HTTP request or response direct
latency 0..1
Integer
The HTTP response latency measured in milliseconds direct
length 0..1
Integer
The length of the entire HTTP response, in number of bytes direct
message 0..1
String
The description of the event/finding, as defined by the source direct
status 0..1
String
The response status direct

Usages

used by used in type used
Evidences http_response range HttpResponse
NetworkProxyProfile proxy_http_response range HttpResponse
ApiActivity http_response range HttpResponse
DatastoreActivity http_response range HttpResponse
FileHosting http_response range HttpResponse
WebResourceAccessActivity http_response range HttpResponse
WebResourceAccessActivity proxy_http_response range HttpResponse
WebResourcesActivity http_response range HttpResponse
WebResourcesActivity proxy_http_response range HttpResponse
IamEvent http_response range HttpResponse
AccountChange http_response range HttpResponse
Authentication http_response range HttpResponse
AuthorizeSession http_response range HttpResponse
EntityManagement http_response range HttpResponse
GroupManagement http_response range HttpResponse
UserAccess http_response range HttpResponse
NetworkEvent proxy_http_response range HttpResponse
DhcpActivity proxy_http_response range HttpResponse
DnsActivity proxy_http_response range HttpResponse
FtpActivity proxy_http_response range HttpResponse
HttpActivity http_response range HttpResponse
HttpActivity proxy_http_response range HttpResponse
NetworkActivity proxy_http_response range HttpResponse
NetworkFileActivity proxy_http_response range HttpResponse
NtpActivity proxy_http_response range HttpResponse
RdpActivity proxy_http_response range HttpResponse
SmbActivity proxy_http_response range HttpResponse
SshActivity proxy_http_response range HttpResponse
TunnelActivity proxy_http_response range HttpResponse
WindowsEvidences http_response range HttpResponse

In Subsets

Aliases

  • HTTP Response

See Also

Notes

Identifier and Mapping Information

Schema Source

Mappings

Mapping Type Mapped Value
self ocsf:HttpResponse
native ocsf:HttpResponse
close uco_master:HTTPConnection

LinkML Source

Direct

name: HttpResponse
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.'
notes:
- 'D3FEND™ Ontology d3f:InboundInternetNetworkTraffic. 

  https://d3fend.mitre.org/dao/artifact/d3f:InboundInternetNetworkTraffic/'
in_subset:
- objects_subset
from_schema: https://w3id.org/lmodel/ocsf
see_also:
- https://d3fend.mitre.org/dao/artifact/d3f:InboundInternetNetworkTraffic/
aliases:
- HTTP Response
close_mappings:
- uco_master:HTTPConnection
is_a: Object
slots:
- body_length
- code
- content_type
- http_headers
- latency
- length
- message
- status
slot_usage:
  body_length:
    name: body_length
    description: 'The actual length of the HTTP response body, in number of bytes,
      independent of

      a potentially existing Content-Length header.'
  code:
    name: code
    description: 'The Hypertext Transfer Protocol (HTTP) status code returned from
      the web server

      to the client. For example, 200.'
    required: true
  http_headers:
    name: http_headers
    recommended: true
  length:
    name: length
    description: The length of the entire HTTP response, in number of bytes.
  status:
    name: status
    description: 'The response status. For example: A successful HTTP status of ''OK''
      which

      corresponds to a code of 200.'

Induced

name: HttpResponse
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.'
notes:
- 'D3FEND™ Ontology d3f:InboundInternetNetworkTraffic. 

  https://d3fend.mitre.org/dao/artifact/d3f:InboundInternetNetworkTraffic/'
in_subset:
- objects_subset
from_schema: https://w3id.org/lmodel/ocsf
see_also:
- https://d3fend.mitre.org/dao/artifact/d3f:InboundInternetNetworkTraffic/
aliases:
- HTTP Response
close_mappings:
- uco_master:HTTPConnection
is_a: Object
slot_usage:
  body_length:
    name: body_length
    description: 'The actual length of the HTTP response body, in number of bytes,
      independent of

      a potentially existing Content-Length header.'
  code:
    name: code
    description: 'The Hypertext Transfer Protocol (HTTP) status code returned from
      the web server

      to the client. For example, 200.'
    required: true
  http_headers:
    name: http_headers
    recommended: true
  length:
    name: length
    description: The length of the entire HTTP response, in number of bytes.
  status:
    name: status
    description: 'The response status. For example: A successful HTTP status of ''OK''
      which

      corresponds to a code of 200.'
attributes:
  body_length:
    name: body_length
    description: 'The actual length of the HTTP response body, in number of bytes,
      independent of

      a potentially existing Content-Length header.'
    from_schema: https://w3id.org/lmodel/ocsf
    aliases:
    - Body Length not including header
    rank: 1000
    alias: body_length
    owner: HttpResponse
    domain_of:
    - HttpRequest
    - HttpResponse
    range: integer
  code:
    name: code
    description: 'The Hypertext Transfer Protocol (HTTP) status code returned from
      the web server

      to the client. For example, 200.'
    from_schema: https://w3id.org/lmodel/ocsf
    aliases:
    - Response Code
    rank: 1000
    alias: code
    owner: HttpResponse
    domain_of:
    - Response
    - EndpointConnection
    - HttpResponse
    - LoadBalancer
    range: integer
    required: true
  content_type:
    name: 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).'
    from_schema: https://w3id.org/lmodel/ocsf
    aliases:
    - HTTP Content Type
    rank: 1000
    alias: content_type
    owner: HttpResponse
    domain_of:
    - HttpResponse
    range: string
  http_headers:
    name: http_headers
    description: Additional HTTP headers of an HTTP request or response.
    from_schema: https://w3id.org/lmodel/ocsf
    aliases:
    - HTTP Headers
    rank: 1000
    alias: http_headers
    owner: HttpResponse
    domain_of:
    - Email
    - HttpRequest
    - HttpResponse
    range: HttpHeader
    recommended: true
    multivalued: true
  latency:
    name: latency
    description: The HTTP response latency measured in milliseconds.
    from_schema: https://w3id.org/lmodel/ocsf
    aliases:
    - Latency
    rank: 1000
    alias: latency
    owner: HttpResponse
    domain_of:
    - HttpResponse
    range: integer
  length:
    name: length
    description: The length of the entire HTTP response, in number of bytes.
    from_schema: https://w3id.org/lmodel/ocsf
    aliases:
    - Response Length
    rank: 1000
    alias: length
    owner: HttpResponse
    domain_of:
    - HttpRequest
    - HttpResponse
    range: integer
  message:
    name: message
    description: The description of the event/finding, as defined by the source.
    from_schema: https://w3id.org/lmodel/ocsf
    aliases:
    - Message
    rank: 1000
    alias: message
    owner: HttpResponse
    domain_of:
    - Response
    - Span
    - HttpResponse
    - LoadBalancer
    - BaseEvent
    - ApplicationError
    range: string
  status:
    name: status
    description: 'The response status. For example: A successful HTTP status of ''OK''
      which

      corresponds to a code of 200.'
    from_schema: https://w3id.org/lmodel/ocsf
    aliases:
    - Status
    rank: 1000
    alias: status
    owner: HttpResponse
    domain_of:
    - RelatedEvent
    - Ticket
    - Whois
    - AdditionalRestriction
    - Check
    - Compliance
    - DataClassification
    - HttpResponse
    - BaseEvent
    - Finding
    - IncidentFinding
    - DroneFlightsActivity
    range: string