---
title: Alert on Google Drive Shares to Specific Email Address
description: "### Introduction Using GAT+ Alert Rules, a Workspace Super Admin can get notified if **Google Drive** documents are shared outside your domain. The alert will be triggered when a file is sent to**specific target emails** or has **specific sharing permissions**.…"
url: "https://gatlabs.com/knowledge/tech-tips/alert-on-google-drive-shares-to-specific-email-address/"
updated: "2025-05-27"
category: DLP (Data Loss Prevention)
tags:
  - GAT+
---

# Alert on Google Drive Shares to Specific Email Address

### Introduction

Using GAT+ Alert Rules, a Workspace Super Admin can get notified if **Google Drive** documents are shared outside your domain. The alert will be triggered when a file is sent to**specific target emails** or has **specific sharing permissions**.

As an example, if a file is Shared out to specific or any **Gmail** or**Yahoo** or **any specified domains**, or also have set **sharing permission** to **Public** or **Public with a link.**

### To set up an alert

Open **GAT+** and navigate to **Alert rules**

![](https://gatlabs.com/knowledge/wp-content/uploads/2021/12/GAT.png)

Click on the **+ sign, **pick and add a name for the rule.

Select and **enable **the rule.

In **Type **select **Drive **pick and select the **Scope **of the users you want to check for.

In **recipients** add the users who will be notified once the rule is broken. This can be a user or group email.

![](https://gatlabs.com/wp-content/uploads/2020/04/screenshot-gs.generalaudittool.com-2020.04.01-14_00_58.png)

Select **Alert if 'share to' address matches specified pattern**

![](https://gatlabs.com/knowledge/wp-content/uploads/2022/01/Shared-to-alert.png)

In **Targets**add **Sharing permissions** you want to **prevent or be notified for.**

You can use a wildcard character ***** that will be interpreted as any number of characters.

**Example: **

- ***@domain.com** - Anyone with domain.com (external domain to yours)
- **john@domain.com** - the share with this user will be reported
- ***@gmail.com** will remove sharing to emails in that domain
- **yahoo.com** will remove sharing to domain

Click on **Notify user - **so you can send the users who share those documents a custom message.

Add a message and {FILE_LIST} at the end so the name and file are included once the alert is triggered.

If you select **Remove share** the shares stated in the **Target list **will be removed

Select to **Save **the rule.

When the alert is triggered will be reported in the **Alerts **tab under Audit and management

![](https://gatlabs.com/wp-content/uploads/2020/04/screenshot-gs.generalaudittool.com-2020.04.02-11_39_17.png)

Click on the **eye icon **under Actions to view details for the rule.

Under **Details** - Shared to target violations: will have the link to the File and metadata for it.

Click on the file and view **General** metadata info and**Events**.

![](https://gatlabs.com/wp-content/uploads/2020/04/screenshot-gs.generalaudittool.com-2020.04.02-11_44_26.png)

Under **Events, you can see the sharing**where the Gmail, Yahoo, and other rules we set up have been **removed**

The removal of the shares can also be seen in the **Admin log**

![](https://gatlabs.com/wp-content/uploads/2020/04/screenshot-gs.generalaudittool.com-2020.04.02-11_48_18.png)

An email will be received by the users who **broke**the rule- **share out** a file to (Gmail, Yahoo, or Public), with a custom message added by the admin

![](https://gatlabs.com/wp-content/uploads/2020/04/2020-04-02-15_53_32-Window.png)

 

 

 
