Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cherry-pick #11334 to 7.0: Adding categorization fields for the system/auth module #11363

Merged
merged 2 commits into from
Mar 21, 2019

Conversation

tsg
Copy link
Contributor

@tsg tsg commented Mar 21, 2019

Cherry-pick of PR #11334 to 7.0 branch. Original message:

This PR adds the following fields for the SSH login events:

  • event.category: authentication
  • event.action: ssh_login
  • event.type either authentication_success or authentication_failure
  • event.outcome wither success or failure

This PR also brings back the system.auth.ssh.event field, as we had it in 6.x. This removes a migration.

The PR doesn't attempt to categorize other logs beside the SSH login attempts,
so it's a subset of #9905, but it's what we need for the UI.

* Adding categorization fields for the system/auth module

This PR adds the following fields for the SSH login events:

* `event.category: authentication`
* `event.action: ssh_login`
* `event.type` either `authentication_success` or `authentication_failure`

The `event.outcome` is currently not quite ECS compliant, but I didn't touch it to
avoid a breaking change.

The PR doesn't attempt to categorize other logs besides the SSH login attempts,
so it's a subset of elastic#9905, but it's what we need for the UI.

* Normalized event.outcome and brought back `system.auth.ssh.event`.

* changelog

(cherry picked from commit a9f567b)
@tsg tsg requested review from a team as code owners March 21, 2019 10:01
@tsg tsg merged commit 9ac3a4d into elastic:7.0 Mar 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants