Its pre-dates this script and has a few more features and error handling conditions, also works in parallel across many accounts, and sets up users for next steps post guard duty enablement for configuring remediation policies. Its config file can also be auto generated instead of manually listing out accounts, etc.
Worth adding to the readme as another tool for handling this.
https://github.com/capitalone/cloud-custodian/tree/master/tools/c7n_guardian
Its pre-dates this script and has a few more features and error handling conditions, also works in parallel across many accounts, and sets up users for next steps post guard duty enablement for configuring remediation policies. Its config file can also be auto generated instead of manually listing out accounts, etc.