Skip to content

Commit 3e7d6eb

Browse files
committed
Switch to use upstream audit handler - generated changes
1 parent 7383379 commit 3e7d6eb

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

pkg/cmd/server/api/v1/swagger_doc.go

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,12 @@ func (AssetExtensionsConfig) SwaggerDoc() map[string]string {
7575
}
7676

7777
var map_AuditConfig = map[string]string{
78-
"": "AuditConfig holds configuration for the audit capabilities",
79-
"enabled": "If this flag is set, basic audit log will be printed in the logs. The logs contains, method, user and a requested URL.",
78+
"": "AuditConfig holds configuration for the audit capabilities",
79+
"enabled": "If this flag is set, audit log will be printed in the logs. The logs contains, method, user and a requested URL.",
80+
"auditFilePath": "All requests coming to the apiserver will be logged to this file.",
81+
"maximumFileRetentionDays": "Maximum number of days to retain old log files based on the timestamp encoded in their filename.",
82+
"maximumRetainedFiles": "Maximum number of old log files to retain.",
83+
"maximumFileSizeMegabytes": "Maximum size in megabytes of the log file before it gets rotated. Defaults to 100MB.",
8084
}
8185

8286
func (AuditConfig) SwaggerDoc() map[string]string {

0 commit comments

Comments
 (0)