MCPcopy
hub / github.com/ContainerSSH/ContainerSSH / AuditLogFileConfig

Struct AuditLogFileConfig

config/auditlog.go:109–111  ·  view source on GitHub ↗

AuditLogFileConfig is the configuration for the file storage.

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected