Skip to content

web: add additional context to event log messages#23670

Open
Benricheson101 wants to merge 3 commits into
goauthentik:mainfrom
Benricheson101:feat/descriptive-event-logs
Open

web: add additional context to event log messages#23670
Benricheson101 wants to merge 3 commits into
goauthentik:mainfrom
Benricheson101:feat/descriptive-event-logs

Conversation

@Benricheson101

Copy link
Copy Markdown

Details

Updates event log messages to be more descriptive

image

What does this PR change?

Adds context to event log messages

  • Model created
  • Model updated
  • Model deleted
  • Login failed

The Model messages just add the model type to the title. "Login failed" events add a new context.reason field in their API response containing the reason the login failed.

Why is this change needed?

It's hard to tell what's being modified or the reason for login failures from a glance. This adds it front and center so it's easier for admins to see what was changed or why a login failed without expanding each logged event.

How was this tested?

Updating existing tests to test new API fields.

Linked issues

closes #23193

Checklist

  • The project has been linted, built, and tested (make all)
  • The documentation has been updated and formatted (make docs)

@Benricheson101 Benricheson101 requested review from a team as code owners July 4, 2026 16:49
@netlify

netlify Bot commented Jul 4, 2026

Copy link
Copy Markdown

Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit 3285b4e
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/6a49399af35ab50008f40363
😎 Deploy Preview https://deploy-preview-23670--authentik-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Jul 4, 2026

Copy link
Copy Markdown

Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit 3285b4e
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/6a49399a16307d00083d87c2
😎 Deploy Preview https://deploy-preview-23670--authentik-integrations.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Jul 4, 2026

Copy link
Copy Markdown

Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 3285b4e
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6a49399a981f400009697786
😎 Deploy Preview https://deploy-preview-23670--authentik-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov

codecov Bot commented Jul 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.19%. Comparing base (b453cee) to head (3285b4e).
⚠️ Report is 90 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #23670      +/-   ##
==========================================
+ Coverage   93.15%   93.19%   +0.04%     
==========================================
  Files        1037     1039       +2     
  Lines       60658    60901     +243     
  Branches      400      424      +24     
==========================================
+ Hits        56506    56757     +251     
+ Misses       4152     4144       -8     
Flag Coverage Δ
conformance 36.29% <22.85%> (-0.01%) ⬇️
e2e 41.50% <22.85%> (+0.64%) ⬆️
integration 32.24% <22.85%> (-0.52%) ⬇️
rust 0.00% <ø> (ø)
unit 92.30% <100.00%> (-0.04%) ⬇️
unit-migrate 92.33% <100.00%> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Events logs should be more descriptive

1 participant