salo.events.suricata.http
Module Contents
Classes
Mixin to provide __str__, __repr__, and __pretty__ methods. See #884 for more details. |
|
Mixin to provide __str__, __repr__, and __pretty__ methods. See #884 for more details. |
Attributes
- salo.events.suricata.http.MAX_FUIDS = 2
- salo.events.suricata.http.HTTP_VERSIONS = ['HTTP/1.0', 'HTTP/1.1']
- salo.events.suricata.http.METHODS = ['GET', 'POST']
- salo.events.suricata.http.STATUSES
- class salo.events.suricata.http.HTTPModelFull(__pydantic_self__, **data: Any)[source]
Bases:
salo.SaloEventModel
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.
- http_port :Optional[int]
- http_hostname :str
- http_uri :str
- http_user_agent :str
- http_content_type :str
- http_cookie :Optional[str]
- http_length :int
- http_status_code :Optional[int]
- http_version :Optional[str]
- http_method :str
- http_referrer :Optional[str]
- http_request_headers :Optional[List[Dict]]
- http_response_headers :Optional[List[Dict]]
- class salo.events.suricata.http.HTTPModel(__pydantic_self__, **data: Any)[source]
Bases:
salo.events.suricata.base.SuricataModel
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.
- _refs :List[str] = ['https://suricata.readthedocs.io/en/suricata-6.0.0/output/eve/eve-json-format.html#event-type-http']
- event_type :str
- dest_port :int
- http :Optional[Union[HTTPModelFull, Dict]]