policy/protocols/http/header-names.zeek

HTTP

Extract and include the header names used for each request in the HTTP logging stream. The headers in the logging stream will be stored in the same order which they were seen on the wire.

Namespace

HTTP

Imports

base/protocols/http/main.zeek

Summary

Runtime Options

HTTP::log_client_header_names: bool &redef

A boolean value to determine if client header names are to be logged.

HTTP::log_server_header_names: bool &redef

A boolean value to determine if server header names are to be logged.

Redefinitions

HTTP::Info: record

New Fields

HTTP::Info

client_header_names: vector of string &log &optional

The vector of HTTP header names sent by the client.

server_header_names: vector of string &log &optional

The vector of HTTP header names sent by the server.

Detailed Interface

Runtime Options

HTTP::log_client_header_names
Type

bool

Attributes

&redef

Default

T

A boolean value to determine if client header names are to be logged.

HTTP::log_server_header_names
Type

bool

Attributes

&redef

Default

F

A boolean value to determine if server header names are to be logged.