-
Notifications
You must be signed in to change notification settings - Fork 9
AUT-4506: Add target action to ACCOUNT_MANAGEMENT_AUTHENTICATE audit event #7262
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
base: main
Are you sure you want to change the base?
Conversation
300711b
to
5282a4f
Compare
...unt-management-api/src/main/java/uk/gov/di/accountmanagement/lambda/AuthenticateHandler.java
Outdated
Show resolved
Hide resolved
...unt-management-api/src/main/java/uk/gov/di/accountmanagement/lambda/AuthenticateHandler.java
Outdated
Show resolved
Hide resolved
enum: | ||
- UPDATE_EMAIL | ||
- UPDATE_PASSWORD | ||
- DELETE_ACCOUNT |
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.
missing UPDATE_MFA here?
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.
Decided to remove UPDATE_MFA as there was some pushback from data concerning the type of update. We can add it later when we've refined the desired schema more
9ac7b52
to
5e63133
Compare
- Optional targetAction field added. To be used in the AUTH_ACCOUNT_MANAGEMENT_AUTHENTICATE audit event for a target_action extension. - Added missing request body information for /authenticate spec - Bumped openapi spec minor version
- Data requested this extension so that they can identify drop out rate between authenticating and performing the intended action. - The field is optional to maintain backwards compatability.
The high entropy value was being flagged by checkov in GHA
|
Add missing 400, 401, and 403 response examples to /authenticate endpoint to support comprehensive mock server testing scenarios.
Add missing 400, 401, and 403 response examples to /authenticate endpoint to support mock server testing scenarios.
What
Adds a 'target_action' pair to the AUTH_ACCOUNT_MANAGEMENT_AUTHENTICATE audit event. This was requested by data so that they can measure drop off rate for users authenticating and then performing account management actions.
Also adds an 'action_source' extension in anticipation of account components work.
How to review
Checklist