You can monitor the actions people take on Apps Script projects and how many people use Apps Script per day in the Google Admin console.
View Apps Script audit logs
You can view the actions people take on Apps Script projects with Drive log events reporting in the Admin console. Take the following steps:
- Open your Admin console at admin.google.com.
- Click Menu > Reporting > Audit and investigation > Drive log events. If Reporting doesn't appear, click Show more.
- Click Filter > Add a filter > Document type.
- In the Document type section, select Google Script and click Apply.
- Click Search.
View how many people use Apps Script
To view the number of people in your organization using Apps Script each day and how many Apps Script projects people use per day, take the following steps:
- Open your Admin console at admin.google.com.
- Click Menu > Reporting > Reports > Apps Reports > Apps Script. If Reporting doesn't appear, click Show more.
- To export the data, click Download .
The charts show data for the last 6 months and include all script executions–meaning any time a script runs.
Control access to external domains
By default, scripts can send or fetch data using any URL with URL Fetch Service. As an administrator, you can control which external domains your users can access through Apps Script. Refer to Allow only certain external connections for Apps Script and Sheets.
Turn off Apps Script
As an administrator, you can turn Apps Script on or off for people in your organization. Refer to Turn Apps Script on or off for users
Turn off a specific Apps Script project
You can turn off an individual Apps Script project by deleting its associated Cloud project. After you shut down a Cloud project, all executions of the script project stop. Refer to Shutting down (deleting) projects.
To delete a Cloud project, you must have delete permissions on the project. To give delete permissions for projects in your organization, refer to Assign delete permission for all Cloud projects in an organization.