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

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

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
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

sonarcloud bot commented Jul 15, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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