mongoose.models.network_flow

class mongoose.models.network_flow.NetworkFlow(*, id=None, time=None, timestamp=None, community_id='', risk=0, flow_id, src_ip, dst_ip, protocol, app_proto='', packets, bytes, start, end, age, enrichment=None, extra=None)[source]

Bases: BaseModel

class Config[source]

Bases: object

from_attributes = True
classmethod app_proto_validator(v)[source]
classmethod end_validator(v)[source]
classmethod start_validator(v)[source]
classmethod timestamp_validator(v)[source]
age: int
app_proto: str
bytes: int
community_id: str
property community_id_b64: str
dst_ip: str
end: datetime
enrichment: dict
extra: dict
flow_id: int
id: str
packets: int
protocol: str
risk: int
src_ip: str
start: datetime
time: datetime
timestamp: float
class mongoose.models.network_flow.NetworkFlowTable(**kwargs)[source]

Bases: Base

age
app_proto
bytes
community_id
community_id_b64
dst_ip
end
enrichment
extra
flow_id
id
packets
protocol
risk
src_ip
start
time
timestamp