salo.events.zeek.smtp

Module Contents

Classes

SMTPModel

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

Attributes

MAX_FUIDS

MAX_RCPT

MAX_CC

salo.events.zeek.smtp.MAX_FUIDS = 5
salo.events.zeek.smtp.MAX_RCPT = 5
salo.events.zeek.smtp.MAX_CC = 10
class salo.events.zeek.smtp.SMTPModel(__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/smtp/main.zeek.html#type-SMTP::Info',...
dest_port :Optional[int]
smtp_trans_depth :Optional[int]
smtp_helo :str
smtp_mailfrom :str
smtp_rcptto :List[str]
timestamp :datetime.datetime
smtp_from :str
smtp_to :List[str]
smtp_cc :Optional[List[str]]
smtp_reply_to :Optional[str]
smtp_msg_id :Optional[str]
smtp_in_reply_to :Optional[str]
smtp_subject :str
smtp_x_originating_ip :Optional[str]
smtp_first_received :Optional[str]
smtp_second_received :Optional[str]
smtp_last_reply :Optional[str]
smtp_path :Optional[List[pydantic.IPvAnyAddress]]
smtp_user_agent :str
smtp_tls :Optional[bool]
smtp_process_received_from :Optional[bool]
smtp_has_client_activity :Optional[bool]
smtp_process_smtp_headers :Optional[bool]
smtp_entity_count :Optional[int]
fuids :Optional[List[str]]
smtp_is_webmail :Optional[bool]
set_dest_port(cls, v)[source]
set_smtp_msg_id(cls, v)[source]
set_smtp_trans_depth(cls, v)[source]
set_smtp_path(cls, v, *, values)[source]
set_smtp_tls(cls, v)[source]
set_fuids(cls, v)[source]
set_is_webmail(cls, v)[source]
set_values(cls, values) None[source]