HTTP Cookie

http_cookie

The HTTP Cookie object, also known as a web cookie or browser cookie, contains details and values pertaining to a small piece of data that a server sends to a user's web browser. This data is then stored by the browser and sent back to the server with subsequent requests, allowing the server to remember and track certain information about the user's browsing session or preferences.

Attributes

CaptionNameTypeDescription
Domain domain String The domain name for the server from which the http_cookie is served.
Expiration Time expiration_time Timestamp The expiration time of the HTTP cookie.
HTTP Only http_only Boolean A cookie attribute to make it inaccessible via JavaScript

🚧 WARNING: DEPRECATED

HTTP Only has been deprecated since 1.1.0. Use the is_http_only attribute instead.

HTTP Only is_http_only Boolean This attribute prevents the cookie from being accessed via JavaScript.
Secure is_secure Boolean The cookie attribute indicates that cookies are sent to the server only when the request is encrypted using the HTTPS protocol.
Name name String The HTTP cookie name.
Path path String The path of the HTTP cookie.
Raw Data raw_data JSON Group:context
The event data as received from the event source.
Record ID record_id String Group:primary
Unique identifier for the object
SameSite samesite String The cookie attribute that lets servers specify whether/when cookies are sent with cross-site requests. Values are: Strict, Lax or None
Secure secure Boolean The cookie attribute to only send cookies to the server with an encrypted request over the HTTPS protocol.

🚧 WARNING: DEPRECATED

Secure has been deprecated since 1.1.0. Use the is_secure attribute instead.

Unmapped unmapped Unmapped[] Data from the source that was not mapped into the schema.
Value value String The HTTP cookie value.

Relationships

HTTP Cookie shown in context

Inbound Relationships

These objects and events reference HTTP Cookie in their attributes:

Outbound Relationships

HTTP Cookie references the following objects and events in its attributes:

This page describes ocsf-1.4.0