Skip to content

Commit

Permalink
Include user identity in fluentd audit logs (#1011)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrzzy committed Sep 17, 2020
1 parent 5eda025 commit c965f6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions common/src/main/java/feast/common/logging/AuditLogger.java
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ private static void log(Level level, AuditLogEntry entry) {
}

fluentdLogs.put("id", messageAuditLogEntry.getId());
fluentdLogs.put("identity", messageAuditLogEntry.getIdentity());
fluentdLogs.put("service", messageAuditLogEntry.getService());
fluentdLogs.put("status_code", messageAuditLogEntry.getStatusCode());
fluentdLogs.put("method", messageAuditLogEntry.getMethod());
Expand Down
1 change: 1 addition & 0 deletions docs/administration/audit-logging.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ Feast currently only supports forwarding Request/Response \(Message Audit Log Ty
"id": "45329ea9-0d48-46c5-b659-4604f6193711",
"service": "CoreService"
"status_code": "OK",
"identity": "105960238928959148073",
"method": "ListProjects",
"request": {},
"response": {
Expand Down

0 comments on commit c965f6c

Please sign in to comment.