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
DomaindomainString

The domain name for the server from which the http_cookie is served.

Expiration Timeexpiration_timeTimestamp

The expiration time of the HTTP cookie.

HTTP Onlyhttp_onlyBoolean

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 Onlyis_http_onlyBoolean

This attribute prevents the cookie from being accessed via JavaScript.

Secureis_secureBoolean

The cookie attribute indicates that cookies are sent to the server only when the request is encrypted using the HTTPS protocol.

NamenameString

The HTTP cookie name.

PathpathString

The path of the HTTP cookie.

Raw Dataraw_dataJSON

Group:context
The event data as received from the event source.

Record IDrecord_idString

Group:primary
Unique identifier for the object

SameSitesamesiteString

The cookie attribute that lets servers specify whether/when cookies are sent with cross-site requests. Values are: Strict, Lax or None

SecuresecureBoolean

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.

UnmappedunmappedUnmapped[]

Data from the source that was not mapped into the schema.

ValuevalueString

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