mirror of
https://github.com/Ed1s0nZ/CyberStrikeAI.git
synced 2026-05-21 15:16:55 +02:00
10 lines
216 B
Go
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()
|
|
}
|