Skip to content

Commit b50ba7b

Browse files
committed
Switch to use upstream audit handler - generated changes
1 parent 08c985e commit b50ba7b

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, basic audit log will be printed in the logs. The logs contains, method, user and a requested URL.",
80+
"path": "All requests coming to the apiserver will be logged to this file.",
81+
"maxAge": "Maximum number of days to retain old audit log files based on the timestamp encoded in their filename.",
82+
"maxBackups": "Maximum number of old audit log files to retain.",
83+
"maxSize": "Maximum size in megabytes of the audit log file before it gets rotated. Defaults to 100MB.",
8084
}
8185

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

0 commit comments

Comments
 (0)