main
ts 23 lines 568 Bytes
Raw
1 export type EventType = "EDR" | "EPP" | "Cloud Integration" | "Network Security"
2
3 export interface DisplayColumn {
4 /** Field path in the event _source object (dotted, e.g. "agent.name"). */
5 key: string
6 /** Human-readable column header. */
7 label: string
8 /** Optional pixel width hint. */
9 width?: number | null
10 }
11
12 export interface EventSource {
13 id: number
14 customer_code: string
15 name: string
16 index_pattern: string
17 event_type: EventType
18 time_field: string
19 enabled: boolean
20 displayed_columns?: DisplayColumn[] | null
21 created_at: string
22 updated_at: string
23 }