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

Make PATCH to change aup signature time working for client credentials #804

Merged
merged 5 commits into from
Jul 22, 2024

Conversation

rmiccoli
Copy link
Contributor

@rmiccoli rmiccoli commented Jul 5, 2024

AUDIT logs are now:

// Client credentials flow (note that client-cred is the client id)
2024-07-15 14:10:46.479  INFO 30339 --- [nio-8080-exec-2] AUDIT                                    : {"@type":"AupSignedOnBehalfEvent","timestamp":1721045446477,"category":"AUP","principal":"client-cred","message":"Client client-cred signed the AUP on behalf of test user","signature":{"aupId":1,"username":"test","signatureTime":"2024-07-15T14:10:46.476+02:00"},"source":"AupSignatureController"}
2024-07-15 14:11:56.215  INFO 30339 --- [io-8080-exec-10] AUDIT                                    : {"@type":"AupSignatureDeletedEvent","timestamp":1721045516214,"category":"AUP","principal":"client-cred","message":"Client client-cred deleted the AUP signature of test user","signature":{"aupId":1,"username":"test","signatureTime":"2024-07-15T14:10:46.476+02:00"},"source":"AupSignatureController"}

// Other flows linked to user identity
2024-07-15 14:13:08.435  INFO 30339 --- [nio-8080-exec-3] AUDIT                                    : {"@type":"AupSignedOnBehalfEvent","timestamp":1721045588435,"category":"AUP","principal":"admin","message":"User admin signed the AUP on behalf of test_102 user","signature":{"aupId":1,"username":"test_102","signatureTime":"2024-07-15T14:13:08.434+02:00"},"source":"AupSignatureController"}
2024-07-15 14:13:20.677  INFO 30339 --- [nio-8080-exec-4] AUDIT                                    : {"@type":"AupSignatureDeletedEvent","timestamp":1721045600677,"category":"AUP","principal":"admin","message":"User admin deleted the AUP signature of test_102 user","signature":{"aupId":1,"username":"test_102","signatureTime":"2024-07-15T14:13:08.434+02:00"},"source":"AupSignatureController"}

@rmiccoli rmiccoli linked an issue Jul 5, 2024 that may be closed by this pull request
@rmiccoli rmiccoli requested a review from enricovianello July 8, 2024 09:41
Copy link
Member

@enricovianello enricovianello left a comment

Choose a reason for hiding this comment

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

I know I'm just a bit annoying :)

Copy link

@enricovianello enricovianello merged commit 8cf34d0 into develop Jul 22, 2024
5 checks passed
@enricovianello enricovianello deleted the issue-803 branch July 22, 2024 15:11
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.

Token taken with client_credentials returns error on AUP endpoint
2 participants