Skip to content

Commit

Permalink
fix: Include container info header not only for threat alerts
Browse files Browse the repository at this point in the history
Include it in regular events too.
  • Loading branch information
vadorovsky committed Dec 17, 2023
1 parent fd5b862 commit 73dd572
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/pulsar-core/src/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ impl fmt::Display for Event {
if f.alternate() {
writeln!(
f,
"[{time} \x1b[1;30;46mEVENT\x1b[0m {image} ({pid})] [{source}] {payload}"
"[{time} \x1b[1;30;46mEVENT\x1b[0m {process_info}] [{source}] {payload}"
)
} else {
writeln!(f, "[{time} EVENT {image} ({pid})] [{source}] {payload}")
writeln!(f, "[{time} EVENT {process_info}] [{source}] {payload}")
}
}
}
Expand Down

0 comments on commit 73dd572

Please sign in to comment.