Skip to content

Commit

Permalink
Handle eventActionProcessError
Browse files Browse the repository at this point in the history
  • Loading branch information
haesbaert committed Feb 14, 2025
1 parent ff23713 commit d040234
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions x-pack/auditbeat/module/system/process/process.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ func makeMessage(pid int, action eventAction, name string, username string, err
actionString = "RAN"
case eventActionProcessChangedImage:
actionString = "CHANGED IMAGE"
case eventActionProcessError: // NOTREACHABLE as err != nil if action is ProcessError
actionString = "ERROR"
}

var userString string
Expand Down

0 comments on commit d040234

Please sign in to comment.