Skip to content

log failed authentication attempts for audit trail? #6447

Open
@brainwane

Description

@brainwane

Should we log and display failed authentication attempts? Especially with the new API tokens, it would likely be useful to see failed attempts (and reasons why they failed) in the user security log.

But the concern with logging failed authentication attempts is that an attacker could use them to spam the event log, drowning out legitimately malicious events with junk (or causing security fatigue for the target user). We could mitigate that somewhat by being choosy with which failures we log, e.g., correct password but failed 2FA.

(condensed from conversation between @di and @woodruffw ; followup to #5863)

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestneeds discussiona product management/policy issue maintainers and users should discuss

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions