Creating Sharepoint Alerts for File Sharing with External User Accounts

In Sharepoint Online, is it possible to create an alert when someone shares a file with an external user? Or, if it is too specific, an alert to simply use the Share feature to share with any user?