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

Add log messages #334

Merged
merged 3 commits into from
Jan 28, 2025
Merged

Add log messages #334

merged 3 commits into from
Jan 28, 2025

Conversation

adombeck
Copy link
Contributor

@adombeck adombeck commented Jan 24, 2025

Adds some log messages, see commit messages for details.

UDENG-5876

@adombeck adombeck requested a review from a team as a code owner January 24, 2025 14:42
@adombeck adombeck requested review from didrocks and removed request for didrocks January 24, 2025 14:42
@adombeck
Copy link
Contributor Author

adombeck commented Jan 24, 2025

@didrocks @3v1n0 I would like to include this in the release, so I would be appreciate a quick review from one of you :)

internal/broker/broker.go Outdated Show resolved Hide resolved
@adombeck adombeck requested a review from 3v1n0 January 28, 2025 00:04
Copy link
Member

@didrocks didrocks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like we downgrade the log level, but otherwise, good!

internal/broker/broker.go Outdated Show resolved Hide resolved
internal/dbusservice/methods.go Outdated Show resolved Hide resolved
To 1. allow the user/admin to figure out why authentication is denied,
and 2. log failed login attempts, which is security critical (security
logging failure is in the OWASP top 10, see
https://owasp.org/Top10/A09_2021-Security_Logging_and_Monitoring_Failures).
To have more complete logs of failed login attempts.
Print the IsAuthenticated result for debugging.
@adombeck adombeck merged commit a0f3051 into main Jan 28, 2025
3 of 4 checks passed
@adombeck adombeck deleted the add-log-messages branch January 28, 2025 14:48
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