This commit is contained in:
@@ -26,6 +26,8 @@ class PacketDBModel(BaseModel):
|
||||
dst_port: Optional[int] = None
|
||||
vlan_id: Optional[int] = None
|
||||
length: Optional[int] = None
|
||||
raw_present: Optional[bool] = Field(None, description="Whether raw packet bytes were captured for this row.")
|
||||
capture_sources: Optional[list[str]] = Field(None, description="Capture sources that contributed to this row.")
|
||||
raw_b64: Optional[str] = Field(None, description="Base64-encoded packet bytes.")
|
||||
app_protocol: Optional[str] = Field(None, description="Detected application protocol.")
|
||||
app_master_protocol: Optional[str] = Field(None, description="Detected application master protocol.")
|
||||
@@ -64,6 +66,8 @@ class PacketDBModel(BaseModel):
|
||||
"dst_port": 80,
|
||||
"vlan_id": None,
|
||||
"length": 128,
|
||||
"raw_present": True,
|
||||
"capture_sources": ["af_packet", "telemetry"],
|
||||
"raw_b64": "BASE64...",
|
||||
"app_protocol": "HTTP",
|
||||
"app_master_protocol": "HTTP",
|
||||
|
||||
Reference in New Issue
Block a user