Skip to content

Commit

Permalink
[web] update desktop audit log entry for session id
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenGravy committed Oct 26, 2024
1 parent 8cb7ee9 commit 61e0f61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/packages/teleport/src/services/audit/makeEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1265,7 +1265,7 @@ export const formatters: Formatters = {
type: 'windows.desktop.session.start',
desc: 'Windows Desktop Session Started',
format: ({ user, windows_domain, desktop_name, sid, windows_user }) => {
let message = `User [${user}] started session ${sid} on Windows desktop [${windows_user}@${desktop_name}]`;
let message = `User [${user}] started session [${sid}] on Windows desktop [${windows_user}@${desktop_name}]`;
if (windows_domain) {
message += ` with domain [${windows_domain}]`;
}
Expand All @@ -1291,7 +1291,7 @@ export const formatters: Formatters = {
if (windows_domain) {
desktopMessage += ` with domain [${windows_domain}]`;
}
let message = `Session ${sid} for Windows desktop ${desktopMessage} has ended for user [${user}]`;
let message = `Session [${sid}] for Windows desktop ${desktopMessage} has ended for user [${user}]`;
return message;
},
},
Expand Down

0 comments on commit 61e0f61

Please sign in to comment.