salo.events.zeek.http

Module Contents

Classes

HTTPModel

Mixin to provide __str__, __repr__, and __pretty__ methods. See #884 for more details.

Attributes

MAX_FUIDS

HTTP_VERSIONS

METHODS

STATUSES

salo.events.zeek.http.MAX_FUIDS = 2
salo.events.zeek.http.HTTP_VERSIONS = ['1.0', '1.1']
salo.events.zeek.http.METHODS = ['GET', 'POST']
salo.events.zeek.http.STATUSES
class salo.events.zeek.http.HTTPModel(__pydantic_self__, **data: Any)[source]

Bases: salo.events.zeek.base.ZeekModel

Mixin to provide __str__, __repr__, and __pretty__ methods. See #884 for more details.

__pretty__ is used by [devtools](https://python-devtools.helpmanual.io/) to provide human readable representations of objects.

class Config[source]
fields
_refs :List[str] = ['https://docs.zeek.org/en/master/scripts/base/protocols/http/main.zeek.html#type-HTTP::Info',...
trans_depth :int
http_method :str
http_hostname :str
http_uri :str
http_referrer :Optional[str]
http_version :Optional[str]
http_user_agent :str
http_origin :Optional[str]
http_request_body_len :int
http_response_body_len :int
http_status_code :int
http_status_msg :str
http_info_code :Optional[int]
http_info_msg :Optional[str]
http_tags :Optional[List]
http_username :Optional[str]
http_password :Optional[str]
http_proxied :Optional[List[str]]
orig_fuids :Optional[List[str]]
orig_filenames :Optional[List[str]]
orig_mime_types :Optional[List[str]]
resp_fuids :Optional[List[str]]
resp_filenames :Optional[List[str]]
resp_mime_types :Optional[List[str]]
http_client_header_names :Optional[List[str]]
http_server_header_names :Optional[List[str]]
http_uri_vars :Optional[List[str]]
set_dest_port(cls, v)[source]
set_http_version(cls, v)[source]
set_values(cls, values)[source]