Anpassungen für echte Incidents, damit diese während der Lernphase nicht in das dauerhafte Trainings-Set aufgenommen werden.
All checks were successful
release-tag / release-image (push) Successful in 2m29s

This commit is contained in:
2026-04-25 21:32:19 +02:00
parent ac3ecccd0b
commit c563367978
2 changed files with 176 additions and 2 deletions

View File

@@ -1380,4 +1380,19 @@ CREATE TABLE detection_suppressions (
);
CREATE INDEX idx_suppressions_lookup
ON detection_suppressions (enabled, rule_name, hostname, channel_name, event_id);
ON detection_suppressions (enabled, rule_name, hostname, channel_name, event_id);
CREATE TABLE baseline_exclusions (
id BIGINT AUTO_INCREMENT PRIMARY KEY,
hostname VARCHAR(255) NOT NULL DEFAULT '',
channel_name VARCHAR(255) NOT NULL DEFAULT '',
event_id INT NOT NULL DEFAULT 0,
reason TEXT NULL,
created_by VARCHAR(128) NOT NULL DEFAULT '',
created_at TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
expires_at TIMESTAMP(6) NULL,
enabled TINYINT(1) NOT NULL DEFAULT 1
);
CREATE INDEX idx_baseline_exclusions_lookup
ON baseline_exclusions (enabled, hostname, channel_name, event_id, expires_at);