Initial curated EventLens source from 0d80d3b38dfb817285481665b9e71e4b8a0656a0
This commit is contained in:
commit
663ea8c829
85 files changed
+12395
No files matched your search
@@ -0,0 +1,55 @@
|
||||
export type EventItem = {
|
||||
id: string;
|
||||
timestamp: string | null;
|
||||
timestamp_source?: "event" | "record" | "missing" | "invalid";
|
||||
timestamp_valid?: boolean;
|
||||
provider: string;
|
||||
event_id: number | null;
|
||||
level: string;
|
||||
channel?: string;
|
||||
computer?: string;
|
||||
category: string;
|
||||
summary: string;
|
||||
fields?: Record<string, string>;
|
||||
};
|
||||
|
||||
export type Incident = {
|
||||
id: string;
|
||||
rule_id: string;
|
||||
start: string | null;
|
||||
end: string | null;
|
||||
title: string;
|
||||
category: string;
|
||||
severity: string;
|
||||
reasons: string[];
|
||||
evidence_event_ids: string[];
|
||||
original_count: number;
|
||||
compressed_count: number;
|
||||
};
|
||||
|
||||
export type ParseStats = {
|
||||
parser: string;
|
||||
status: "complete" | "partial" | "failed";
|
||||
parsed_events: number;
|
||||
records_seen: number;
|
||||
skipped_records: number;
|
||||
issue_count: number;
|
||||
truncated: boolean;
|
||||
truncation_reason?: string | null;
|
||||
duration_ms: number;
|
||||
issues: ParseIssue[];
|
||||
};
|
||||
|
||||
export type ParseIssue = {
|
||||
code: string;
|
||||
record_id?: number | null;
|
||||
message: string;
|
||||
skipped_record?: boolean;
|
||||
};
|
||||
|
||||
export type Analysis = {
|
||||
source: string;
|
||||
events: EventItem[];
|
||||
incidents: Incident[];
|
||||
parse?: ParseStats | null;
|
||||
};
|
||||
Reference in new issue
Block a user