Expose more data via the Project Events Atlas API: database user addition
The project events API (described at https://docs.atlas.mongodb.com/reference/api/events-projects-get-one/)
returns less fields that presented in the UI.
For example, after adding a database user via API, I would like to wait for the database user actually added before attempting to use the user. In the web UI, I see 2 events with all the information I need - "MongoDB user added" and "Deployment configuration published".
When querying the project events API, I see both events (event types MONGODBUSERADDED and AUTOMATIONCONFIGPUBLISHED_AUDIT), but there are no additional fields with the new database user.
Thanks for reaching out.
I am interested in the deploymentDiff.diffs field of AUTOMATION_CONFIG_PUBLISHED_AUDIT, that contains the database user being added or removed.
Thank you in advance,
Thanks for pointing this annoying gap out. Out of curiosity, is there a specific field/type of data you'd want added that would add the most value for you for the user added event?
We have iteratively added fields to certain high value even types and can continue to do so for high value gaps.