-
Notifications
You must be signed in to change notification settings - Fork 108
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
Script exits on enabled accounts #8
Comments
The script does not exit on this condition but rather does as you have suggested and first tries to add it as a member and then moves on to the next account. |
I tested where the first account in my list was already enabled. The script did not go on to the 2nd and 3rd accounts in the list. Thoughts? |
Ensure you have one account,email per line in your file also make sure there are no control characters. |
After retesting several times, functionality seems to be as expected. Not sure what happened on the first run. Thanks. |
If the script reads in an account that already has security hub enabled, it will automatically exit. Ideally, it should skip to the next line/account in the csv until the list is exhausted.
The text was updated successfully, but these errors were encountered: