GAT+ allows an admin to set up a rule for Google drive files and remove the Sharing permissions.
Remove the following external shares “Public” OR “Public with link” if the file hasn’t been accessed for X number of days.
In GAT+ open Drive audit search for the files, you want to set the rules. You can apply any of the multiple search parameters to find what you need.
Once you find the files click on the checkmark beside the files or select them in bulk, by clicking beside Titles to select them all.
Select and click on the Files operations button.
Select Remove permissions this will open a new window, click on the option Remove only the following External Shares
Note: permissions public, public with link is the same as everyone and everyone with link
Select the option Remove only the following External Shares
In Shares to remove – add the sharing permissions such as public, everyone with link, or valid email domains.
Under Only accessed enter a number of days from when the file was last accessed. Files with last recorded last access date will be affected.
Click on “Run” to apply the rule for the selected files. This way of removing permission can also be added as a scheduled report.
In Drive audit apply a filter for files shared externally as an option that does not contain Shared drive or Shared in files.
Set this as scheduled report by picking occurrence and selecting apply & schedule.
Under Configuration open Scheduled reports find the report we applied above and under Actions select Job Action edit (+) sign.
A window will pop-up, select Remove only following External Shares pick up the shares you want to remove and set the time Only accessed X days ago only files with the last recorded last access date will be affected.
With the report above, every month all files shared out ( depending on the searches you have done) every month a report will be generated, and the external shares (everyone, public with link, etc) will be removed from all those files IF the files last recorded last access date is more than the time set.