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:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user