update doc to properlly reflect new funcitonality

This commit is contained in:
joshmeranda
2025-04-09 10:23:26 -04:00
parent e3c69d5979
commit fbd87baa70
2 changed files with 2 additions and 2 deletions

View File

@@ -169,7 +169,7 @@ Specify each parameter using the `--set key=value[,key=value]` argument to `helm
| `replicas` | 3 | ***int*** - Number of replicas of Rancher pods |
| `auditLog.destination` | "sidecar" | ***string*** - Stream to sidecar container console or hostPath volume - *"sidecar, hostPath"* |
| `auditLog.hostPath` | "/var/log/rancher/audit" | ***string*** - log file destination on host (only applies when **auditLog.destination** is set to **hostPath**) |
| `auditLog.level` | 0 | ***int*** - set the [API Audit Log level](https://ranchermanager.docs.rancher.com/how-to-guides/advanced-user-guides/enable-api-audit-log#audit-log-levels). 0 is off. [0-3] |
| `auditLog.level` | 0 | ***int*** - set the API Audit Log level |
| `auitLog.enabled` | false | ***bool*** - enable the rancher audit logging system |
| `auditLog.maxAge` | 1 | ***int*** - maximum number of days to retain old audit log files (only applies when **auditLog.destination** is set to **hostPath**) |
| `auditLog.maxBackup` | 1 | int - maximum number of audit log files to retain (only applies when **auditLog.destination** is set to **hostPath**) |

View File

@@ -138,7 +138,7 @@ func main() {
Name: "audit-level",
Value: 0,
EnvVar: "AUDIT_LEVEL",
Usage: "Audit log level: 0 - disable audit log, 1 - log event metadata, 2 - log event metadata and request body, 3 - log event metadata, request body and response body",
Usage: "Audit log level: 0 - audit log event metadata, 1 - log metadata and headers, 2 - log event metadata, headers, and request body, 3 - log event metadata, headers, request body, and response body",
Destination: &config.AuditLogLevel,
},
cli.BoolFlag{