{"id":2148,"date":"2022-01-13T13:37:50","date_gmt":"2022-01-13T13:37:50","guid":{"rendered":"https:\/\/gatlabs.com\/knowledge\/?post_type=docs&#038;p=2148"},"modified":"2022-02-22T13:32:20","modified_gmt":"2022-02-22T13:32:20","password":"","slug":"google-drive-files-that-contain-email-addresses","status":"publish","type":"docs","link":"https:\/\/gatlabs.com\/knowledge\/tech-tips\/google-drive-files-that-contain-email-addresses\/","title":{"rendered":"Google Drive files that Contain Email Addresses"},"content":{"rendered":"<h3>Introduction<\/h3>\n<p>Using GAT+ Alert rules, an Admin can get notified if <a href=\"https:\/\/www.google.com\/drive\/\" target=\"_blank\" rel=\"noopener noreferrer\">Google Drive<\/a> documents when shared <strong>outside<\/strong> of your domain, contain text with email addresses.<\/p>\n<p>This is one example of using the regex feature inside of Alert Rules.<\/p>\n<div class=\"ose-youtube ose-uid-251b3f7bbf1ac51bbb7c64badd141edc ose-embedpress-responsive\" style=\"width:900px; height:600px; max-height:600px; max-width:100%; display:inline-block;\" data-embed-type=\"Youtube\"><iframe allowFullScreen=\"true\" title=\"GAT+: How to Alert or Remove Google Drive Files that Contain Email Addresses\" width=\"900\" height=\"600\" src=\"https:\/\/www.youtube.com\/embed\/DnJchRW_o8Q?feature=oembed&color=red&rel=0&controls=1&start=&end=&fs=0&iv_load_policy=0&autoplay=0&mute=0&modestbranding=0&cc_load_policy=1&playsinline=1\" frameborder=\"0\" allow=\"accelerometer; encrypted-media;accelerometer;autoplay;clipboard-write;gyroscope;picture-in-picture clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/div>\n<h2>Create the alert<\/h2>\n<p>Navigate to <strong>GAT+ \u2192 Configuration \u2192<a href=\"https:\/\/gatlabs.com\/?s=alert\" target=\"_blank\" rel=\"noopener noreferrer\">Alert<\/a> rules \u2192 + button<\/strong><\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-43873\" src=\"https:\/\/gatlabs.com\/wp-content\/uploads\/2020\/03\/screenshot-uk.generalaudittool.com-2021.04.01-17_45_27.png\" alt=\"\" width=\"643\" height=\"563\" \/><\/p>\n<p>A new pop-up window will be displayed.<\/p>\n<ul>\n<li><strong>Name<\/strong> &#8211; enter the name for the rule.<\/li>\n<li><strong>Enabled<\/strong> &#8211; use the checkmark to enable or disable the alert.<\/li>\n<li><strong>Type<\/strong> &#8211; select the type of alert to Drive.<\/li>\n<li><strong>Scope<\/strong> &#8211; select the scope of users where the rule will be active for.<\/li>\n<li><strong>Recipient<\/strong> &#8211; enter the email of the recipient, this can be a user or group email or leave as blank, all alerts generated will be <strong>shown under Alerts tab by default<\/strong>.<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-43874\" src=\"https:\/\/gatlabs.com\/wp-content\/uploads\/2020\/03\/screenshot-uk.generalaudittool.com-2021.04.01-18_00_45.png\" alt=\"\" width=\"986\" height=\"934\" \/><\/p>\n<h3>Set regex<\/h3>\n<ul>\n<li>Alert if the regex matches a newly shared out file (doc, presentation, pdf, txt files)\n<ul>\n<li>Click on the &#8220;<strong>Custom<\/strong>&#8221; option\n<ul>\n<li>Enter a name for the custom alert<\/li>\n<\/ul>\n<\/li>\n<li>An empty field will be displayed\n<ul>\n<li>Enter the REGEX needed<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>The Regex example below: <strong>You can set regex example for any words\u00a0<\/strong><\/p>\n<blockquote><p><strong>(\\W|)(@gmail.com)|(@yahoo.com)|(@outlook.com).*?(\\W$)<\/strong><\/p><\/blockquote>\n<h4>Additional options<\/h4>\n<p>There are two options that can be selected.<\/p>\n<ul>\n<li><strong>Notify user<\/strong> &#8211; Send notification to the end-users who did the sharing<\/li>\n<li><strong>Remove shares<\/strong> &#8211; Use to remove the shares automatically, once the alert is triggered<\/li>\n<\/ul>\n<p>Click on the &#8220;<strong>Save<\/strong>&#8221; button to save the rule<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-43880\" src=\"https:\/\/gatlabs.com\/wp-content\/uploads\/2020\/03\/screenshot-uk.generalaudittool.com-2021.04.02-12_11_57.png\" alt=\"\" width=\"1097\" height=\"399\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>The rule will be saved and later can be <strong>viewed, edited, or removed<\/strong> from the options under <strong>Actions.\u00a0<\/strong><\/p>\n<p>When a google document is <strong>shared out<\/strong> and if it contains an email address (based on the regex) in its content an <strong>alert<\/strong> <strong>will be triggered<\/strong>.<\/p>\n<blockquote><p><strong>Note:<\/strong> there extra contributors (external users) and Sharing Flag is <strong>Shared Out\u00a0<\/strong><\/p><\/blockquote>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-43881\" src=\"https:\/\/gatlabs.com\/wp-content\/uploads\/2020\/03\/screenshot-uk.generalaudittool.com-2021.04.02-15_09_23.png\" alt=\"\" width=\"1343\" height=\"298\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3>Result<\/h3>\n<p>The alert will be shown under <strong>GAT+ \u2192 Audit &amp; Management \u2192 Alerts\u00a0<\/strong><\/p>\n<p>On the alert itself click on the &#8220;eye&#8221; icon under Actions. Pop-up will be displayed with additional details.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-43882\" src=\"https:\/\/gatlabs.com\/wp-content\/uploads\/2020\/03\/screenshot-uk.generalaudittool.com-2021.04.02-15_17_27.png\" alt=\"\" width=\"1214\" height=\"877\" \/><\/p>\n<p>If the additional options are selected.<\/p>\n<ul>\n<li>The users will be <strong>notified<\/strong><\/li>\n<li>The Shared <strong>will be removed<\/strong> &#8211; automatically once the Alert is triggered<\/li>\n<\/ul>\n<blockquote><p><strong>Note: <\/strong>the &#8220;shares&#8221; (contributors) and the Sharing Flag &#8211; Shred out &#8211; have <strong>been removed\u00a0<\/strong><\/p><\/blockquote>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-43883\" src=\"https:\/\/gatlabs.com\/wp-content\/uploads\/2020\/03\/screenshot-uk.generalaudittool.com-2021.04.02-15_21_54.png\" alt=\"\" width=\"1302\" height=\"282\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Using GAT+ Alert rules, an Admin can get notified if Google Drive documents when shared outside of your domain, contain text with email addresses. This is one example of using the regex feature inside of Alert Rules. Create the alert Navigate to GAT+ \u2192 Configuration \u2192Alert rules \u2192 + button A new pop-up window [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[37],"glossaries":[],"doc_tag":[24],"class_list":["post-2148","docs","type-docs","status-publish","hentry","doc_category-dlp-data-loss-prevention","doc_tag-gat"],"year_month":"2026-04","word_count":373,"total_views":"2136","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"Enrique Gomez","author_nicename":"egomez","author_url":"https:\/\/gatlabs.com\/knowledge\/author\/egomez\/"},"doc_category_info":[{"term_name":"DLP (Data Loss Prevention)","term_url":"https:\/\/gatlabs.com\/knowledge\/tech-tips-category\/dlp-data-loss-prevention\/"}],"doc_tag_info":[{"term_name":"GAT+","term_url":"https:\/\/gatlabs.com\/knowledge\/tech-tips-tag\/gat\/"}],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Google Drive files that Contain Email Addresses - GAT Knowledge Base<\/title>\n<meta name=\"description\" content=\"Using GAT+ Alert rules, an Admin can get notified if Google Drive documents when shared outside of your domain, contain text with email addresses.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/gatlabs.com\/knowledge\/docs\/google-drive-files-that-contain-email-addresses\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Google Drive files that Contain Email Addresses\" \/>\n<meta property=\"og:description\" content=\"Using GAT+ Alert rules, an Admin can get notified if Google Drive documents when shared outside of your domain, contain text with email addresses.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/gatlabs.com\/knowledge\/docs\/google-drive-files-that-contain-email-addresses\/\" \/>\n<meta property=\"og:site_name\" content=\"GAT Knowledge Base\" \/>\n<meta property=\"article:modified_time\" content=\"2022-02-22T13:32:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/gatlabs.com\/wp-content\/uploads\/2020\/03\/screenshot-uk.generalaudittool.com-2021.04.01-17_45_27.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/docs\\\/google-drive-files-that-contain-email-addresses\\\/\",\"url\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/docs\\\/google-drive-files-that-contain-email-addresses\\\/\",\"name\":\"Google Drive files that Contain Email Addresses - GAT Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/docs\\\/google-drive-files-that-contain-email-addresses\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/docs\\\/google-drive-files-that-contain-email-addresses\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/gatlabs.com\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/screenshot-uk.generalaudittool.com-2021.04.01-17_45_27.png\",\"datePublished\":\"2022-01-13T13:37:50+00:00\",\"dateModified\":\"2022-02-22T13:32:20+00:00\",\"description\":\"Using GAT+ Alert rules, an Admin can get notified if Google Drive documents when shared outside of your domain, contain text with email addresses.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/docs\\\/google-drive-files-that-contain-email-addresses\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/docs\\\/google-drive-files-that-contain-email-addresses\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/docs\\\/google-drive-files-that-contain-email-addresses\\\/#primaryimage\",\"url\":\"https:\\\/\\\/gatlabs.com\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/screenshot-uk.generalaudittool.com-2021.04.01-17_45_27.png\",\"contentUrl\":\"https:\\\/\\\/gatlabs.com\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/screenshot-uk.generalaudittool.com-2021.04.01-17_45_27.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/docs\\\/google-drive-files-that-contain-email-addresses\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tech Tips\",\"item\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/tech-tips\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Google Drive files that Contain Email Addresses\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/#website\",\"url\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/\",\"name\":\"GAT Knowledge Base\",\"description\":\"Your source of all things GAT\",\"publisher\":{\"@id\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/#organization\",\"name\":\"GAT Labs Knowledge Base\",\"url\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/Group-1159.svg\",\"contentUrl\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/Group-1159.svg\",\"width\":361,\"height\":97,\"caption\":\"GAT Labs Knowledge Base\"},\"image\":{\"@id\":\"https:\\\/\\\/gatlabs.com\\\/knowledge\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Google Drive files that Contain Email Addresses - GAT Knowledge Base","description":"Using GAT+ Alert rules, an Admin can get notified if Google Drive documents when shared outside of your domain, contain text with email addresses.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/gatlabs.com\/knowledge\/docs\/google-drive-files-that-contain-email-addresses\/","og_locale":"en_GB","og_type":"article","og_title":"Google Drive files that Contain Email Addresses","og_description":"Using GAT+ Alert rules, an Admin can get notified if Google Drive documents when shared outside of your domain, contain text with email addresses.","og_url":"https:\/\/gatlabs.com\/knowledge\/docs\/google-drive-files-that-contain-email-addresses\/","og_site_name":"GAT Knowledge Base","article_modified_time":"2022-02-22T13:32:20+00:00","og_image":[{"url":"https:\/\/gatlabs.com\/wp-content\/uploads\/2020\/03\/screenshot-uk.generalaudittool.com-2021.04.01-17_45_27.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Estimated reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/gatlabs.com\/knowledge\/docs\/google-drive-files-that-contain-email-addresses\/","url":"https:\/\/gatlabs.com\/knowledge\/docs\/google-drive-files-that-contain-email-addresses\/","name":"Google Drive files that Contain Email Addresses - GAT Knowledge Base","isPartOf":{"@id":"https:\/\/gatlabs.com\/knowledge\/#website"},"primaryImageOfPage":{"@id":"https:\/\/gatlabs.com\/knowledge\/docs\/google-drive-files-that-contain-email-addresses\/#primaryimage"},"image":{"@id":"https:\/\/gatlabs.com\/knowledge\/docs\/google-drive-files-that-contain-email-addresses\/#primaryimage"},"thumbnailUrl":"https:\/\/gatlabs.com\/wp-content\/uploads\/2020\/03\/screenshot-uk.generalaudittool.com-2021.04.01-17_45_27.png","datePublished":"2022-01-13T13:37:50+00:00","dateModified":"2022-02-22T13:32:20+00:00","description":"Using GAT+ Alert rules, an Admin can get notified if Google Drive documents when shared outside of your domain, contain text with email addresses.","breadcrumb":{"@id":"https:\/\/gatlabs.com\/knowledge\/docs\/google-drive-files-that-contain-email-addresses\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/gatlabs.com\/knowledge\/docs\/google-drive-files-that-contain-email-addresses\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/gatlabs.com\/knowledge\/docs\/google-drive-files-that-contain-email-addresses\/#primaryimage","url":"https:\/\/gatlabs.com\/wp-content\/uploads\/2020\/03\/screenshot-uk.generalaudittool.com-2021.04.01-17_45_27.png","contentUrl":"https:\/\/gatlabs.com\/wp-content\/uploads\/2020\/03\/screenshot-uk.generalaudittool.com-2021.04.01-17_45_27.png"},{"@type":"BreadcrumbList","@id":"https:\/\/gatlabs.com\/knowledge\/docs\/google-drive-files-that-contain-email-addresses\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/gatlabs.com\/knowledge\/"},{"@type":"ListItem","position":2,"name":"Tech Tips","item":"https:\/\/gatlabs.com\/knowledge\/tech-tips\/"},{"@type":"ListItem","position":3,"name":"Google Drive files that Contain Email Addresses"}]},{"@type":"WebSite","@id":"https:\/\/gatlabs.com\/knowledge\/#website","url":"https:\/\/gatlabs.com\/knowledge\/","name":"GAT Knowledge Base","description":"Your source of all things GAT","publisher":{"@id":"https:\/\/gatlabs.com\/knowledge\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/gatlabs.com\/knowledge\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/gatlabs.com\/knowledge\/#organization","name":"GAT Labs Knowledge Base","url":"https:\/\/gatlabs.com\/knowledge\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/gatlabs.com\/knowledge\/#\/schema\/logo\/image\/","url":"https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2021\/11\/Group-1159.svg","contentUrl":"https:\/\/gatlabs.com\/knowledge\/wp-content\/uploads\/2021\/11\/Group-1159.svg","width":361,"height":97,"caption":"GAT Labs Knowledge Base"},"image":{"@id":"https:\/\/gatlabs.com\/knowledge\/#\/schema\/logo\/image\/"}}]}},"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/gatlabs.com\/knowledge\/wp-json\/wp\/v2\/docs\/2148","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gatlabs.com\/knowledge\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/gatlabs.com\/knowledge\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/gatlabs.com\/knowledge\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/gatlabs.com\/knowledge\/wp-json\/wp\/v2\/comments?post=2148"}],"version-history":[{"count":6,"href":"https:\/\/gatlabs.com\/knowledge\/wp-json\/wp\/v2\/docs\/2148\/revisions"}],"predecessor-version":[{"id":3052,"href":"https:\/\/gatlabs.com\/knowledge\/wp-json\/wp\/v2\/docs\/2148\/revisions\/3052"}],"wp:attachment":[{"href":"https:\/\/gatlabs.com\/knowledge\/wp-json\/wp\/v2\/media?parent=2148"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/gatlabs.com\/knowledge\/wp-json\/wp\/v2\/doc_category?post=2148"},{"taxonomy":"glossaries","embeddable":true,"href":"https:\/\/gatlabs.com\/knowledge\/wp-json\/wp\/v2\/glossaries?post=2148"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/gatlabs.com\/knowledge\/wp-json\/wp\/v2\/doc_tag?post=2148"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}