Google-drive – How to produce a list of all external users, and documents shared with them

google-drivegoogle-workspace

I'd like to audit our Google Drive, to review a list of all our documents shared to users external to our account. Ideally I'd like to see a list of external users, perhaps with a count of shared documents, then be able to drill down into a list of documents shared with that user.

There's an old post about this, however the Marketplace product appears to no longer exist.

Does anyone have any suggestions about how I might go about this?

Could the Google Drive API be an option?