function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
rayjguyrayjguy 

Capturing a log of users running reports / exporting data

Does anyone know if it's possible to capture when users run reports or otherwise extract data from the system?  We require some sort of monitoring for Data Loss Prevention.  It would be enough to log the user, the name of the report, and the parameters used to run it.  Though any other means of storing the data leaving the system would also be useful.

 

I'm thinking it's probably possible to have some JS embebed on the Report page that will detect when the "Run Report" or "Export" button is pressed and capture the user / parameters and send it to a logging web service.  But that seems a little hacky.

 

I can't see anything exposed that I could make a trigger on.  Anyone got any ideas?

 

Cheers,

Ray

dmchengdmcheng

You cannot place Javascript on the standard Reports pages.  You would have to hide the standard Reports tab for those users and build a set of Visualforce pages and controllers in its place.