Have a group of users who would like to receive access reports (download, view, etc.) for content they own under a set of folders. This set of folders isn't super dynamic, so in theory we could maintain a static list, but would love to make this fully automated.
My initial thought was to have the users add a special tag to a folder they want to include in the report. Then I could search all enterprise events for items affecting items which live under a tagged folder and spit it out into a CSV file.
Maybe I can search for all tagged folders, gather the folder id's then loop through my enterprise events looking for any item with an ancestor folder that matches?