AuditLogConfig is the configuration structure for audit logging.
| 57 | |
| 58 | // AuditLogConfig is the configuration structure for audit logging. |
| 59 | type 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. |
| 75 | type AuditLogInterceptConfig struct { |
nothing calls this directly
no outgoing calls
no test coverage detected