Skip to content

added user_agent to Failed Logins Events#7664

Closed
roney492 wants to merge 3 commits intogoauthentik:mainfrom
roney492:main
Closed

added user_agent to Failed Logins Events#7664
roney492 wants to merge 3 commits intogoauthentik:mainfrom
roney492:main

Conversation

@roney492
Copy link
Contributor

Including the User-Agent in failed login attempt logs improves security monitoring. It enables the identification of suspicious or potentially malicious login attempts originating from specific devices or browsers.

@roney492 roney492 requested a review from a team as a code owner November 21, 2023 16:40
@netlify
Copy link

netlify bot commented Nov 21, 2023

Deploy Preview for authentik-storybook canceled.

Name Link
🔨 Latest commit 049d2e1
🔍 Latest deploy log https://app.netlify.com/sites/authentik-storybook/deploys/655cf0b5f4493700088a87a9

@codecov
Copy link

codecov bot commented Nov 21, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (b7055c5) 92.60% compared to head (049d2e1) 52.33%.
Report is 3 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #7664       +/-   ##
===========================================
- Coverage   92.60%   52.33%   -40.27%     
===========================================
  Files         587      588        +1     
  Lines       29075    29152       +77     
===========================================
- Hits        26925    15258    -11667     
- Misses       2150    13894    +11744     
Flag Coverage Δ
e2e 50.74% <100.00%> (-0.18%) ⬇️
integration 25.92% <0.00%> (-0.07%) ⬇️
unit ?

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

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

@netlify
Copy link

netlify bot commented Nov 21, 2023

Deploy Preview for authentik ready!

Name Link
🔨 Latest commit 0286d53
🔍 Latest deploy log https://app.netlify.com/sites/authentik/deploys/655cee790d741800088a420e
😎 Deploy Preview https://deploy-preview-7664--authentik.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 96 (no change from production)
Accessibility: 90 (no change from production)
Best Practices: 100 (no change from production)
SEO: 80 (no change from production)
PWA: -
View the detailed breakdown and full score reports

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

@BeryJu
Copy link
Member

BeryJu commented Nov 22, 2023

Thanks for the PR! Including the user-agent makes sense, although imo it might as well be included in all events created from HTTP requests. For the Client IP, that is already included in events in a separate field (client_ip)

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.

3 participants