We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45070dd commit 08bc639Copy full SHA for 08bc639
components/server/src/audit/AuditLogService.ts
@@ -53,7 +53,12 @@ export class AuditLogService {
53
action: method,
54
args: argsScrubbed,
55
};
56
- log.info("audit", new TrustedValue(logEntry));
+ const logEntryForLogging = {
57
+ ...logEntry,
58
+ args: ["[redacted]"],
59
+ };
60
+
61
+ log.info("audit", new TrustedValue(logEntryForLogging));
62
await this.dbAuditLog.recordAuditLog(logEntry);
63
}
64
0 commit comments