Correct audit.app.crash to app.crash#138
Conversation
|
I can confirm that a crashed app logs following events: I don't know the full history around audit events and can't comment whether this changed at some point or was wrongly documented and no one noticed. |
|
I've just verified that I would vote to merge this PR. |
stephanme
left a comment
There was a problem hiding this comment.
app.crash is what the CC generates today.
I find app.crash and audit.app.process.crash inconsistent. I don't know about the history. Maybe all events should be prefixed with audit or the intention was to have an audit prefix for user initiated events only.
But this is a separate discussion. Let's first document the reality.
I'm writing a tool that forwards CF audit events to another audit system.
I was checking for all audit types on our CF latform and noticed that I could not find type
audit.app.crash, butapp.crashinstead.For an example, see an anonymized audit event for type
app.crash:https://github.com/gogolok/cfauditevents-samples/blob/main/app.crash.json
Then I took a look at the cloud_controller_ng code base and found similar proof:
https://github.com/cloudfoundry/cloud_controller_ng/blob/2b5ac3a84600354fe1e7aa8033d8b4e41c22b3db/app/repositories/event_types.rb#L149