Skip to content

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

Merged
tsg merged 2 commits intoelastic:7.0from
tsg:backport_11334_7.0
Mar 21, 2019
Merged

Cherry-pick #11334 to 7.0: Adding categorization fields for the system/auth module#11363
tsg merged 2 commits intoelastic:7.0from
tsg:backport_11334_7.0

Conversation

@tsg
Copy link
Copy Markdown
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