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
- OcsfObject
- Object
- HttpResponse
- Object
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
In Subsets
Aliases
- HTTP Response
See Also
Notes
- D3FEND™ Ontology d3f:InboundInternetNetworkTraffic. — https://d3fend.mitre.org/dao/artifact/d3f:InboundInternetNetworkTraffic/
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/lmodel/ocsf
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