test visualization with d3js
This commit is contained in:
44
frontend/src/types/analysis.ts
Normal file
44
frontend/src/types/analysis.ts
Normal file
@@ -0,0 +1,44 @@
|
||||
export interface InterfaceHostEvidence {
|
||||
ip_address?: string | null;
|
||||
mac_address?: string | null;
|
||||
packet_count: number;
|
||||
last_seen: string;
|
||||
source_on_ingress_count: number;
|
||||
destination_on_egress_count: number;
|
||||
}
|
||||
|
||||
export interface InterfaceAttachment {
|
||||
interface: string;
|
||||
hosts: InterfaceHostEvidence[];
|
||||
}
|
||||
|
||||
export interface InterfaceHostAnalysisResponse {
|
||||
since?: string | null;
|
||||
interfaces: InterfaceAttachment[];
|
||||
notes: string[];
|
||||
}
|
||||
|
||||
export interface ProtocolEvidence {
|
||||
protocol: string;
|
||||
packet_count: number;
|
||||
last_seen: string;
|
||||
accept_count: number;
|
||||
drop_count: number;
|
||||
reject_count: number;
|
||||
unknown_count: number;
|
||||
}
|
||||
|
||||
export interface InterfaceHostProtocolEvidence extends InterfaceHostEvidence {
|
||||
protocols: ProtocolEvidence[];
|
||||
}
|
||||
|
||||
export interface InterfaceProtocolAttachment {
|
||||
interface: string;
|
||||
hosts: InterfaceHostProtocolEvidence[];
|
||||
}
|
||||
|
||||
export interface InterfaceHostProtocolAnalysisResponse {
|
||||
since?: string | null;
|
||||
interfaces: InterfaceProtocolAttachment[];
|
||||
notes: string[];
|
||||
}
|
||||
Reference in New Issue
Block a user