CmdID / aws / aws organizations
aws organizations list-accounts-with-invalid-effective-policy
Lists all the accounts in an organization that have invalid effective policies. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--max-resultsThe maximum number of items to return in the response.--next-tokenThe parameter for receiving additional results if you receive a NextToken response in a previous request.--policy-typeThe type of policy that you want information about.