Skip to content

[FR] Add audit log #9996

Open

Description

@matmair

Please verify that this feature request has NOT been suggested before.

  • I checked and didn't find a similar feature request

Problem statement

If a user receives a 401 error, it is hard to track why and also only available in the web server logs.

Suggested solution

Create a native audit log feature that tracks permission errors and login / signup / mfa actions into a table for later audit or forwarding to other systems (e.g. a SIEM).

Describe alternatives you've considered

Web server parsing; there is not all information available in there though

Examples of other systems

Nextcloud, Arena

Do you want to develop this?

  • I want to develop this.

Activity

  1. added
    enhancement
    security
    on Jul 9, 2025
  2. github-actions commented on Sep 8, 2025

    @github-actions
    Contributor

    This issue seems stale. Please react to show this is still important.

  3. added
    inactive
    on Sep 8, 2025
  4. matmair commented on Sep 8, 2025

    @matmair
    MemberAuthor

    Still active but rather low prio

  5. removed
    inactive
    on Sep 9, 2025
  6. added this to the 2.0.0 milestone on Oct 18, 2025
  7. jacobfelknor commented on Jan 19, 2026

    @jacobfelknor
    Contributor

    Have you considered django-auditlog for this purpose? I'm not sure that it will cover all your bases, but I've used it in other projects where I cared about the history of a thing.

    I'm not sure how well it fits with your vision of generalizing stock tracking as mentioned in #7023 (comment) , but it may be worth a look

  8. matmair commented on Jan 20, 2026

    @matmair
    MemberAuthor

    I am aware of it but some things that I deem important for a audit log (tamper-proofness being the most important) are missing.

  9. modified the milestones: 2.0.0, 1.4.0 on Apr 2, 2026
  10. added a commit that references this issue on Apr 2, 2026
  11. modified the milestones: 1.4.0, 2.0.0 on Apr 25, 2026
  12. modified the milestones: 2.0.0, 1.7.0 on Oct 22, 2026
  13. modified the milestones: 1.7.0, 1.8.0 on Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementsecurity

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions