AuditLogFileConfig is the configuration for the file storage.
| 107 | |
| 108 | // AuditLogFileConfig is the configuration for the file storage. |
| 109 | type AuditLogFileConfig struct { |
| 110 | Directory string `json:"directory" yaml:"directory" default:"/var/log/audit"` |
| 111 | } |
| 112 | |
| 113 | func (c *AuditLogFileConfig) Validate() error { |
| 114 | stat, err := os.Stat(c.Directory) |
nothing calls this directly
no outgoing calls
no test coverage detected