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 e585bf7 commit 29f3c59Copy full SHA for 29f3c59
components/server/src/audit/AuditLogService.ts
@@ -53,16 +53,7 @@ export class AuditLogService {
53
action: method,
54
args: argsScrubbed,
55
};
56
- // The args param contains workspace IDs and other sensitive data. Since
57
- // it's quite hard to detect them, best way is to simply not log it at
58
- // all. It's still part of the audit database but does not appear in the
59
- // component logs.
60
- const logEntryForLogging = {
61
- ...logEntry,
62
- args: ["[redacted]"],
63
- };
64
-
65
- log.info("audit", new TrustedValue(logEntryForLogging));
+ log.info("audit", new TrustedValue(logEntry));
66
await this.dbAuditLog.recordAuditLog(logEntry);
67
}
68
0 commit comments