feat: Aufbewahrung der Ereignisse einstellbar (90 Tage), Audit-Standard 365 Tage (#1225)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-26 14:48:15 +01:00
parent 8c970d3ee1
commit 4b89dc5e0d
9 changed files with 35 additions and 18 deletions

View File

@ -63,12 +63,12 @@ pub struct Aufbewahrung {
}
impl Aufbewahrung {
/// Heutige Werte: Anfragen, Audit und Messwerte aus der Konfiguration, Ereignisse und Warnungen fest im Code.
/// Anfragen, Audit, Ereignisse und Messwerte aus der Konfiguration, beendete Warnungen fest im Code.
pub fn aus(config: &nexus_core::Config) -> Self {
Self {
anfragen: config.log_retention_days,
audit: config.audit_retention_days,
ereignisse: nexus_store::AUFBEWAHRUNG_TAGE,
ereignisse: config.event_retention_days,
warnungen: nexus_store::WARNUNG_AUFBEWAHRUNG_TAGE,
messwerte_roh: config.metrics_retention_days,
rollup5: config.metrics_rollup5_days,