Skip to content

Class: HttpRequest

The HTTP Request object represents the attributes of a request made to a web

server. It encapsulates the details and metadata associated with an HTTP

request, including the request method, headers, URL, query parameters, body

content, and other relevant information.

URI: ocsf:HttpRequest

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

      HttpRequest : args

      HttpRequest : body_length

      HttpRequest : http_headers





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



      HttpRequest : http_method





        HttpRequest --> "0..1 _recommended_" HttpRequestHttpMethodEnum : http_method
        click HttpRequestHttpMethodEnum href "../HttpRequestHttpMethodEnum/"



      HttpRequest : length

      HttpRequest : referrer

      HttpRequest : uid

      HttpRequest : url





        HttpRequest --> "0..1 _recommended_" Url : url
        click Url href "../Url/"



      HttpRequest : user_agent

      HttpRequest : version

      HttpRequest : x_forwarded_for

Inheritance

Slots

Name Cardinality and Range Description Inheritance
args 0..1
String
The arguments sent along with the HTTP request direct
body_length 0..1
Integer
The actual length of the HTTP request body, in number of bytes, independent o... direct
http_headers * recommended
HttpHeader
Additional HTTP headers of an HTTP request or response direct
http_method 0..1 recommended
HttpRequestHttpMethodEnum
The <a target='_blank' direct
length 0..1
Integer
The length of the entire HTTP request, in number of bytes direct
referrer 0..1
String
The request header that identifies the address of the previous web page, whic... direct
uid 0..1
String
The unique identifier of the http request direct
url 0..1 recommended
Url
The URL object that pertains to the request direct
user_agent 0..1 recommended
String
The request header that identifies the operating system and web browser direct
version 0..1 recommended
String
The Hypertext Transfer Protocol (HTTP) version direct
x_forwarded_for *
IpT
The X-Forwarded-For header identifying the originating IP address(es) of a direct

Usages

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

In Subsets

Aliases

  • HTTP Request

See Also

Notes

Identifier and Mapping Information

Schema Source

Mappings

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

LinkML Source

Direct

name: HttpRequest
description: 'The HTTP Request object represents the attributes of a request made
  to a web

  server. It encapsulates the details and metadata associated with an HTTP

  request, including the request method, headers, URL, query parameters, body

  content, and other relevant information.'
notes:
- 'D3FEND™ Ontology d3f:OutboundInternetNetworkTraffic. 

  https://d3fend.mitre.org/dao/artifact/d3f:OutboundInternetNetworkTraffic/'
in_subset:
- objects_subset
from_schema: https://w3id.org/lmodel/ocsf
see_also:
- https://d3fend.mitre.org/dao/artifact/d3f:OutboundInternetNetworkTraffic/
aliases:
- HTTP Request
close_mappings:
- uco_master:HTTPConnection
is_a: Object
slots:
- args
- body_length
- http_headers
- http_method
- length
- referrer
- uid
- url
- user_agent
- version
- x_forwarded_for
slot_usage:
  body_length:
    name: body_length
    description: 'The actual length of the HTTP request body, in number of bytes,
      independent of

      a potentially existing Content-Length header.'
  http_headers:
    name: http_headers
    recommended: true
  http_method:
    name: http_method
    description: 'The <a target=''_blank''

      href=''https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods''>HTTP request

      method</a> indicates the desired action to be performed for a given resource.'
    range: HttpRequestHttpMethodEnum
    recommended: true
  length:
    name: length
    description: The length of the entire HTTP request, in number of bytes.
  uid:
    name: uid
    description: The unique identifier of the http request.
  url:
    name: url
    description: The URL object that pertains to the request.
    recommended: true
  user_agent:
    name: user_agent
    recommended: true
  version:
    name: version
    description: The Hypertext Transfer Protocol (HTTP) version.
    recommended: true

Induced

name: HttpRequest
description: 'The HTTP Request object represents the attributes of a request made
  to a web

  server. It encapsulates the details and metadata associated with an HTTP

  request, including the request method, headers, URL, query parameters, body

  content, and other relevant information.'
notes:
- 'D3FEND™ Ontology d3f:OutboundInternetNetworkTraffic. 

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

      a potentially existing Content-Length header.'
  http_headers:
    name: http_headers
    recommended: true
  http_method:
    name: http_method
    description: 'The <a target=''_blank''

      href=''https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods''>HTTP request

      method</a> indicates the desired action to be performed for a given resource.'
    range: HttpRequestHttpMethodEnum
    recommended: true
  length:
    name: length
    description: The length of the entire HTTP request, in number of bytes.
  uid:
    name: uid
    description: The unique identifier of the http request.
  url:
    name: url
    description: The URL object that pertains to the request.
    recommended: true
  user_agent:
    name: user_agent
    recommended: true
  version:
    name: version
    description: The Hypertext Transfer Protocol (HTTP) version.
    recommended: true
attributes:
  args:
    name: args
    description: The arguments sent along with the HTTP request.
    from_schema: https://w3id.org/lmodel/ocsf
    aliases:
    - HTTP Arguments
    rank: 1000
    alias: args
    owner: HttpRequest
    domain_of:
    - HttpRequest
    range: string
  body_length:
    name: body_length
    description: 'The actual length of the HTTP request 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: HttpRequest
    domain_of:
    - HttpRequest
    - HttpResponse
    range: integer
  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: HttpRequest
    domain_of:
    - Email
    - HttpRequest
    - HttpResponse
    range: HttpHeader
    recommended: true
    multivalued: true
  http_method:
    name: http_method
    description: 'The <a target=''_blank''

      href=''https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods''>HTTP request

      method</a> indicates the desired action to be performed for a given resource.'
    from_schema: https://w3id.org/lmodel/ocsf
    aliases:
    - HTTP Method
    rank: 1000
    alias: http_method
    owner: HttpRequest
    domain_of:
    - HttpRequest
    range: HttpRequestHttpMethodEnum
    recommended: true
  length:
    name: length
    description: The length of the entire HTTP request, in number of bytes.
    from_schema: https://w3id.org/lmodel/ocsf
    aliases:
    - Response Length
    rank: 1000
    alias: length
    owner: HttpRequest
    domain_of:
    - HttpRequest
    - HttpResponse
    range: integer
  referrer:
    name: referrer
    description: 'The request header that identifies the address of the previous web
      page, which

      is linked to the current web page or resource being requested.'
    from_schema: https://w3id.org/lmodel/ocsf
    aliases:
    - HTTP Referrer
    rank: 1000
    alias: referrer
    owner: HttpRequest
    domain_of:
    - HttpRequest
    range: string
  uid:
    name: uid
    description: The unique identifier of the http request.
    from_schema: https://w3id.org/lmodel/ocsf
    aliases:
    - Unique ID
    rank: 1000
    alias: uid
    owner: HttpRequest
    domain_of:
    - Osint
    - Package
    - ProgrammaticCredential
    - RelatedEvent
    - Request
    - Sbom
    - Scim
    - Script
    - Session
    - Span
    - Sso
    - Ticket
    - Token
    - Trace
    - Entity
    - Resource
    - Account
    - Advisory
    - Agent
    - AiModel
    - Aircraft
    - Analytic
    - ApplicationObject
    - Assessment
    - Certificate
    - Check
    - ClassifierDetails
    - Container
    - Cve
    - Cwe
    - D3fTactic
    - D3fTechnique
    - DataClassification
    - Database
    - Databucket
    - DomainContact
    - Edge
    - Email
    - Endpoint
    - Evidences
    - Extension
    - Feature
    - File
    - FindingObject
    - FindingInfo
    - Graph
    - Group
    - HttpRequest
    - Idp
    - Image
    - KbArticle
    - LoadBalancer
    - Logger
    - Malware
    - ManagedEntity
    - MessageContext
    - Metadata
    - Mitigation
    - NetworkConnectionInfo
    - NetworkEndpoint
    - NetworkInterface
    - Node
    - Organization
    - PeripheralDevice
    - Policy
    - ProcessEntity
    - Product
    - QueryInfo
    - Reporter
    - Rule
    - Scan
    - Service
    - SubTechnique
    - Table
    - Tactic
    - Technique
    - Trait
    - TransformationInfo
    - UnmannedAerialSystem
    - User
    - WebResource
    - Device
    - WinResource
    range: string
  url:
    name: url
    description: The URL object that pertains to the request.
    from_schema: https://w3id.org/lmodel/ocsf
    aliases:
    - URL
    rank: 1000
    alias: url
    owner: HttpRequest
    domain_of:
    - ApplicationObject
    - Evidences
    - File
    - HttpRequest
    - EmailUrlActivity
    - NetworkActivity
    range: Url
    recommended: true
  user_agent:
    name: user_agent
    annotations:
      observable_id:
        tag: observable_id
        value: 16
    description: The request header that identifies the operating system and web browser.
    from_schema: https://w3id.org/lmodel/ocsf
    aliases:
    - HTTP User-Agent
    rank: 1000
    alias: user_agent
    owner: HttpRequest
    domain_of:
    - HttpRequest
    range: string
    recommended: true
  version:
    name: version
    description: The Hypertext Transfer Protocol (HTTP) version.
    from_schema: https://w3id.org/lmodel/ocsf
    aliases:
    - Version
    rank: 1000
    alias: version
    owner: HttpRequest
    domain_of:
    - Os
    - Package
    - RpcInterface
    - Sbom
    - Scim
    - SoftwareComponent
    - Tls
    - Agent
    - AiModel
    - Analytic
    - Api
    - ApplicationObject
    - Attack
    - Certificate
    - Check
    - CisControl
    - CisCsc
    - Cvss
    - D3fend
    - Databucket
    - Epss
    - Extension
    - Feature
    - File
    - HttpRequest
    - Logger
    - ManagedEntity
    - Metadata
    - Policy
    - Product
    - ResourceDetails
    - Rule
    - Service
    - NtpActivity
    range: string
    recommended: true
  x_forwarded_for:
    name: x_forwarded_for
    description: 'The X-Forwarded-For header identifying the originating IP address(es)
      of a

      client connecting to a web server through an HTTP proxy or a load balancer.'
    from_schema: https://w3id.org/lmodel/ocsf
    aliases:
    - X-Forwarded-For
    rank: 1000
    alias: x_forwarded_for
    owner: HttpRequest
    domain_of:
    - HttpRequest
    range: IpT
    multivalued: true