MCPcopy
hub / github.com/ContainerSSH/ContainerSSH / AuditLogConfig

Struct AuditLogConfig

config/auditlog.go:59–72  ·  view source on GitHub ↗

AuditLogConfig is the configuration structure for audit logging.

Source from the content-addressed store, hash-verified

57
58// AuditLogConfig is the configuration structure for audit logging.
59type AuditLogConfig struct {
60 // Enable turns on audit logging.
61 Enable bool `json:"enable" yaml:"enable" default:"false"`
62 // Format audit format
63 Format AuditLogFormat `json:"format" yaml:"format" default:"none"`
64 // Storage audit storage type
65 Storage AuditLogStorage `json:"storage" yaml:"storage" default:"none"`
66 // File audit logger configuration
67 File AuditLogFileConfig `json:"file" yaml:"file"`
68 // S3 configuration
69 S3 AuditLogS3Config `json:"s3" yaml:"s3"`
70 // Intercept configures what should be intercepted
71 Intercept AuditLogInterceptConfig `json:"intercept" yaml:"intercept"`
72}
73
74// AuditLogInterceptConfig configures what should be intercepted by the auditing facility.
75type AuditLogInterceptConfig struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected