Skip to content

Disable auditing by default #16110

@vpavic

Description

@vpavic

Out-of-the-box auditing is backed by InMemoryAuditEventRepository which I believe, as already expressed in #11605 (comment), isn't appropriate for production use due to:

  • limited storage capabilities
  • memory consumption
  • not being cluster ready

I would propose to disable this by default and make the whole AuditAutoConfiguration conditional on presence of AuditEventRepository bean, rather than it having register InMemoryAuditEventRepository itself.

This would also be somewhat consistent with the #15039.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions