We would like to be able to audit the External Sharing settings for all SharePoint sites in an environment to confirm end-users aren't able to over-share data .
Add to the Drives or Sites array the External Sharing settings. Also include the "organizational level" external sharing settings.