-
Notifications
You must be signed in to change notification settings - Fork 4
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
Use new ldap export #17
base: master
Are you sure you want to change the base?
Conversation
…loud_users_driver/y18n-4.0.1' into use_new_ldap_export
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.
I noted in SE-1879 that we should open a PR to remove elim-owner@ once we get that worked out.
if 'Not Authorized to access this resource/api' in str(error): | ||
# We want to know about it, but still want to continue | ||
# for users that we can't disable (admins) | ||
logger.error("Unable to disable user: {}".format(email)) |
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.
I'm only producing a log entry for this error, but we may want to change this to be more obvious so we can setup cloudwatch alerts and know when our script hits these errors, as they require some sort of manual intervention.
CIS_S3_BUCKET_NAME: cache.ldap.sso.mozilla.com | ||
CIS_LDAP_JSON_FILE: ldap_users.json.xz | ||
LDAP_ASSUME_ROLE_ARN: arn:aws:iam::320464205386:role/cis-gsuite-users-driver | ||
iam: |
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.
The newer version of serverless changed how some of these fields are stored, which is why I had to indent all these lines.
No description provided.