[JIRA] (JDUO-61) Log transactional information ahead of redirect to Duo
Philip Smart (Jira)
jira at shibboleth.atlassian.net
Mon Nov 14 16:53:03 UTC 2022
Philip Smart ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=5afecdc1eb3ffa0c596652c4 ) *commented* on JDUO-61 ( https://shibboleth.atlassian.net/browse/JDUO-61?atlOrigin=eyJpIjoiNzA3YzRkM2ZiOTQxNDlmNDk5NWU2N2M1NGU4OWM2NzEiLCJwIjoiaiJ9 )
Re: Log transactional information ahead of redirect to Duo ( https://shibboleth.atlassian.net/browse/JDUO-61?atlOrigin=eyJpIjoiNzA3YzRkM2ZiOTQxNDlmNDk5NWU2N2M1NGU4OWM2NzEiLCJwIjoiaiJ9 )
I have added INFO level (human consumable) logging before and after the Duo redirect:
Starting Duo 2FA for client 'CLIENTID', user 'user', and unique request state '1882824744bb6287d92fc9ad3a4adccc'
Finished Duo 2FA for client 'CLIENTID', user 'user', and unique request state '1882824744bb6287d92fc9ad3a4adccc'
I have also added some Pre-Duo and Post-Duo audit context extractors. The default maps contain extractors for DUO_USER , Request State (OAuth param), Response State (OAuth param), TXID, REASON, and FACTOR. For example, using a simple format:
Pre-request
[Shibboleth-Audit.SSO:280] - 127.0.0.1|2022-11-14T16:37:01.775766Z|2022-11-14T16:37:04.805773Z|jdoe|a50883425fa1969d4c7f799a129812cc|||||
Post-response and JWT validation
Shibboleth-Audit.SSO:280] - 127.0.0.1|2022-11-14T16:37:01.775766Z|2022-11-14T16:37:10.782215Z|jdoe|a50883425fa1969d4c7f799a129812cc|a50883425fa1969d4c7f799a129812cc|51211a78-12b2-49e1-bd87-94aea2fba65d||user_approved|WebAuthn Security Key
Writing the audit log should possibly be disabled by default — so it is not an unexpected consequence of a plugin update – enabled by a property (on the activation condition of the bean).
The ‘name’ of the auth_device appears to be the ID of the authenticating device. So I will add an extractor for that.
( https://shibboleth.atlassian.net/browse/JDUO-61#add-comment?atlOrigin=eyJpIjoiNzA3YzRkM2ZiOTQxNDlmNDk5NWU2N2M1NGU4OWM2NzEiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/JDUO-61#add-comment?atlOrigin=eyJpIjoiNzA3YzRkM2ZiOTQxNDlmNDk5NWU2N2M1NGU4OWM2NzEiLCJwIjoiaiJ9 )
Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100210- sha1:583150f )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20221114/91602386/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-83243c30-0e8c-43aa-a8ef-dd78d85d1c68
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20221114/91602386/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-e70cdbb2-a15f-421c-968c-af63950a5bd1
Type: image/png
Size: 457 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20221114/91602386/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-ee71601e-f8f5-41f3-84bd-73d1fb9bc1ac
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20221114/91602386/attachment-0005.png>
More information about the commits
mailing list