Skip to content

[Breaking change] Audit logging events have changed #82578

@thomheymann

Description

@thomheymann

Change description

Which release will ship the breaking change?

8.0

Describe the change. How will it manifest to users?

Dropped support for legacy audit event. These have been replaced with audit events in ECS format which simplify ingestion into the stack, analysis with SIEM solution and provide more context and meta data.

The following events will not longer be logged: https://www.elastic.co/guide/en/kibana/current/xpack-security-audit-logging.html#_audit_event_types

How many users will be affected?

Anyone who is using the previous Kibana audit logger.

What can users do to address the change manually?

The ECS audit logger is controlled by the same xpack.security.audit.enabled setting as the legacy audit logger so no configuration needs to be changed and new event will automatically get logged out in the new format, if audit logging was previously enabled.

However, if users have alerts setup in Kibana or external systems those will need to be updated to look for the new ECS audit events instead:

  • saved_objects_authorization_success - Instead filter events by event.category=database and event.outcome=success|unknown
  • saved_objects_authorization_failure - Instead filter events by event.category=database and event.outcome=failure - The failure reason will be captured in the error property

A full list of events can be found here: https://www.elastic.co/guide/en/kibana/master/xpack-security-audit-logging.html#xpack-security-ecs-audit-logging

How could we make migration easier with the Upgrade Assistant?

Upgrade Assistant could check if xpack.security.audit.enabled is set, and if so add a "warning" message with the migration guidance shared above. Users could dismiss the warning if it didn't apply to them or if they've addressed it.

Are there any edge cases?

n/a

Test Data

n/a

Cross links

n/a

Metadata

Metadata

Assignees

Labels

Breaking ChangeFeature:Upgrade AssistantNeededFor:SecurityTeam:SecurityPlatform Security: Auth, Users, Roles, Spaces, Audit Logging, etc t//impact:lowAddressing this issue will have a low level of impact on the quality/strength of our product.loe:smallSmall Level of Effort

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions