Closed obijan42 closed 1 year ago
Hi, Appreciate the changes you've made, however I do not think we can accept the commit to add Organization support as it leverages protected APIs, specifically ListAccounts, which can only be called from the Organization Master account and will result in a failure if called from any other account. We guide users to minimize use of the Organization Master account and in many cases that account will not be accessible to those deploying Security Hub.
The added support is an option, which nobody is forced to use. The way the latest version works: IF you don't supply a CSV, then If the org call works, it uses that, else It complains that you didn't specify a list
So that should be backwards compatible for all cases.
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.