-
Notifications
You must be signed in to change notification settings - Fork 303
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
General
: Add SAML2 audit features
#9233
Conversation
WalkthroughThe recent changes enhance the Artemis application by introducing a new constant for the SAML2 profile, improving configuration management and maintainability. Key updates include modifying SAML2 authentication handling to incorporate detailed auditing capabilities and adapting multiple classes to utilize the new constant. Additionally, the audit event repository has been updated to conditionally process events based on the active profile, which collectively contributes to a more robust and flexible SAML2 integration. Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code changes make sense. (Testing later when I find time for it.)
Just to be sure: The screenshot in the description still shows a base64-encoded+encrypted username. Was this just an intermediate version during testing or are there duplicate events now, once with encoded username and once without?
The problem is that I could try to filter them similar to |
nvm. I have an idea .. :D |
src/main/java/de/tum/in/www1/artemis/repository/CustomAuditEventRepository.java
Outdated
Show resolved
Hide resolved
# Conflicts: # src/main/java/de/tum/cit/aet/artemis/core/repository/CustomAuditEventRepository.java # src/main/java/de/tum/cit/aet/artemis/core/service/connectors/SAML2Service.java # src/test/java/de/tum/cit/aet/artemis/AbstractSpringIntegrationGitlabCIGitlabSamlTest.java
ffcaab1
@BaumiCoder @Strohgelaender @SimonEntholzer could you also re-approve (if I didn't make an error during merge :D ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Re-approve code
General
: SAML2 Audit featuresGeneral
: Add SAML2 audit features
Checklist
General
Server
Motivation and Context
The audit log does not contain the human-readable login information if you log in via SAML2. See #9228
Description
Adds SAML2 Events to Audit Log
Steps for Testing
Prerequisites:
You should find all related information now readable without duplicates in the AuditLog.
Testserver States
Note
These badges show the state of the test servers.
Green = Currently available, Red = Currently locked
Click on the badges to get to the test servers.
Review Progress
Performance Review
Code Review
Manual Tests
Summary by CodeRabbit
Summary by CodeRabbit
New Features
Bug Fixes
Documentation