Skip to content
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

Closed
apalooza1 opened this issue Mar 15, 2019 · 4 comments
Closed

Script exits on enabled accounts #8

apalooza1 opened this issue Mar 15, 2019 · 4 comments

Comments

@apalooza1
Copy link

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.

@ryanholland
Copy link
Contributor

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.

@apalooza1
Copy link
Author

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?

@ryanholland
Copy link
Contributor

Ensure you have one account,email per line in your file also make sure there are no control characters.

@apalooza1
Copy link
Author

After retesting several times, functionality seems to be as expected. Not sure what happened on the first run. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants