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
Improve owner email handling #2843
Conversation
Add more logging output for debugging purposes
If an org is using SSO of some kind, the username might already be an email address. Also updated the example.yml
Thanks! All makes senses and sounds great. |
Awesome thanks @kapilt hoping to see this merged! |
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.
looks good, re changes, reducing the log verbosity of the output, and focusing log output on items with informational value to a reader, alot of it feels like branch dev logging that just needs cleanup .
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.
lgtm, thanks
Currently, the only way to lookup an owner email address is via an OwnerContact tag or via LDAP.
This might be overkill in 2 scenarios:
target_is_email
method to determine if an event-owner is already an email address, and if it is, use that address as the ownerorg_domain
which will be appended to theaws_username
with@
for the owner contact.