Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User-agent showing 'undefined' in audit logs #9459

Closed
exalate-issue-sync bot opened this issue Jan 15, 2024 · 1 comment
Closed

User-agent showing 'undefined' in audit logs #9459

exalate-issue-sync bot opened this issue Jan 15, 2024 · 1 comment

Comments

@exalate-issue-sync
Copy link

exalate-issue-sync bot commented Jan 15, 2024

When the user-agent has been defined in the .yml file as an incorrect variable (missing the i' in gravitee) the AM UI picks this up and provides a value as 'undefined' on the UI.

Steps to reproduce

  • Define user agent and source ip variables/values in the .yml file as gravtee_consent_useragent=true (via the gateway)
  • Start AM locally
  • Create a domain, app and user
  • If you want, set up MFA enable at application and enable brute force MFA
  • Authenticate user AND/OR go through mfa with incorrect codes until brute force has been reached
  • On the AM console, look at the audit logs for events such as USER_LOGIN, MFA_VERIFY_LIMIT_EXCEED
  • Go into any of the audit log details

Actual result - The 'User Agent' is displaying an 'undefined' value

Expected result - The 'User Agent' field should be missing because the variable is spelt incorrectly in the .yml file

Environment (via docker-compose)

  • oldest 3.21.x
  • newest 4.2.x
@exalate-issue-sync exalate-issue-sync bot changed the title CLONE - No space between source ip and user agent in audit logs User agent showing as 'undefined' when varible is Jan 15, 2024
@exalate-issue-sync exalate-issue-sync bot changed the title User agent showing as 'undefined' when varible is User-agent showing as 'undefined' in audit logs Jan 15, 2024
@exalate-issue-sync exalate-issue-sync bot changed the title User-agent showing as 'undefined' in audit logs CLONE - No space between source ip and user agent in audit logs Jan 15, 2024
@sagarchauhan-qa sagarchauhan-qa changed the title CLONE - No space between source ip and user agent in audit logs User-agent showing 'undefined' in audit logs Jan 15, 2024
Copy link
Author

This issue will be fixed in versions 4.0.14, 4.2.7, 4.1.17, 3.21.21, 4.3.0

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

No branches or pull requests

0 participants