Files
CyberStrikeAI/internal/audit/meta.go
T
2026-05-20 16:09:33 +08:00

10 lines
216 B
Go

package audit
// RetentionDays returns configured retention; 0 means keep forever.
func (s *Service) RetentionDays() int {
if s == nil || s.cfg == nil {
return 0
}
return s.cfg.Audit.RetentionDaysEffective()
}