Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Google Workspace kullanıcıları, komut dosyalarını çalıştırdıklarında veya eklentiler ya da web uygulamaları gibi uygulamaları kullandıklarında kapsam olarak bilinen veri düzeylerine erişim izni verir. Bu sayfada, kullanıcıların Google Workspace hesaplarında erişim izni verdiği kapsamları nasıl izleyebileceğiniz veya iptal edebileceğiniz açıklanmaktadır.
Kapsama göre OAuth erişim izni etkinliklerini izleme
Kullanıcıların belirli bir kapsam veya kapsamlara erişim izni verdiği etkinlikleri görüntülemek için aşağıdaki adımları uygulayın:
Google Yönetici Konsolu'nda Menü
menu>Güvenlik>Güvenlik merkezi>İnceleme aracı'na gidin.
Ara'yı tıklayın. Belirttiğiniz kapsamlar için izin verme etkinliklerinin listesi gösterilir.
OAuth erişim izinlerini iptal etme
Önemli: Bir kapsamın erişimini iptal ettikten sonra kullanıcılar erişimi yeniden verebilir. Kullanıcıların erişim izni vermesini istemediğiniz kapsamlar için uyarılar ayarlamanızı öneririz. Böylece gerektiğinde erişimi iptal edebilirsiniz. OAuth erişim izinleri için uyarı oluşturma başlıklı makaleye bakın.
Bir kapsama erişimi iptal etmek için Kapsama göre OAuth izni etkinliklerini izleme adımlarını uygulayın, ardından iptal etmek istediğiniz etkinlikleri seçip Kullanıcılar için erişim jetonlarını iptal et'i tıklayın.
Arama sonuçlarının en üstünde Etkinlik kuralı oluştur'u tıklayın.
Kural adı alanına uyarı için bir ad girin.
Sonraki: Koşulları Görüntüle'yi tıklayın. Koşullar, arama parametrelerinden otomatik olarak doldurulur. Gerekirse bunları düzenleyebilir, ardından Sonraki: İşlem Ekle'yi tıklayabilirsiniz.
1. eşik bölümünde, kural için bir zaman aralığı ve eşik seçin ve Uyarı merkezine gönder kutusunu işaretleyin.
E-posta alıcısı ekle'yi tıklayın ve uyarıları alması gereken e-posta adreslerini girin. Bitti'yi tıklayın.
Sonraki: İncele'yi tıklayın.
Ayrıntıları inceleyin ve Kural Oluştur'u tıklayın.
Yüksek riskli OAuth kapsamlarına erişimi kısıtlama
Çoğu Google Workspace hizmetine erişimi kısıtlayabilirsiniz. Gmail ve Google Drive için yüksek riskli OAuth kapsamlarına erişimi kısıtlayabilir, ancak kullanıcıların yüksek riskli olarak sınıflandırılmayan OAuth kapsamlarına erişim vermesine izin verebilirsiniz. Bir uygulama kısıtlanmış yüksek riskli bir OAuth kapsamına erişim isteğinde bulunursa ve uygulamaya özellikle güvenmediyseniz kullanıcılar uygulamayı yetkilendiremez.
[null,null,["Son güncelleme tarihi: 2025-08-31 UTC."],[[["\u003cp\u003eThis guide explains how Google Workspace admins with specific account types (Enterprise, Education Standard, or Education Plus) can monitor and control the data access users grant to Apps Script.\u003c/p\u003e\n"],["\u003cp\u003eAdmins can monitor OAuth grant events by searching for specific scopes within the Google Admin console's Investigation tool and subsequently revoke those grants if necessary.\u003c/p\u003e\n"],["\u003cp\u003eYou can set up alerts to be notified when users grant access to certain OAuth scopes, allowing for proactive management of data permissions.\u003c/p\u003e\n"],["\u003cp\u003eGoogle Workspace allows for restricting access to high-risk OAuth scopes for enhanced security, especially for Gmail and Google Drive, while still enabling access to lower-risk scopes.\u003c/p\u003e\n"],["\u003cp\u003eAdmins have the ability to create activity rules and manage them to define the conditions under which alerts are triggered and to whom they are sent.\u003c/p\u003e\n"]]],[],null,["# Monitor & restrict data access\n\n| **Note:** You must have an Enterprise, Education Standard, or Education Plus Google Workspace account to monitor and restrict the data access that users grant to Apps Script.\n\nGoogle Workspace users grant access to levels of data, known as scopes, when\nthey run scripts or use apps like add-ons or web apps. This page explains how\nyou can monitor or revoke the scopes that users grant access to within their\nGoogle Workspace account.\n\nMonitor OAuth grant events by scope\n-----------------------------------\n\nTo view events where users grant access to a specific scope or scopes, take the\nfollowing steps:\n\n1. In the Google Admin console, go to Menu\n menu\n \\\u003e **Security**\n \\\u003e **Security center**\n \\\u003e **Investigation tool**.\n\n [Go to Investigation tool](https://admin.google.com/ac/sc/investigation)\n2. Click **Data Source** and select **OAuth log events**.\n\n3. Click **Add condition** \\\u003e **Attribute**\n and select **Event**.\n\n4. Click **Event** and select **Grant**.\n\n5. Click **Add condition** \\\u003e **Attribute**\n and select **Scope**.\n\n6. For **Scope** , enter the scope you want to monitor. For a list of scopes,\n refer to [OAuth 2.0 Scopes for Google APIs](https://developers.google.com/identity/protocols/oauth2/scopes).\n\n7. Click **Search**. A list of grant events displays for the scopes you\n specified.\n\nRevoke OAuth grants\n-------------------\n\n**Important** : After you revoke access to a scope, users can re-grant access. We\nrecommend that you set up alerts for scopes that you don't want users to grant\naccess to so that you can revoke access as needed. Refer to [Create an alert\nfor OAuth grants](#create_an_alert_for_oauth_grants).\n\nTo revoke access to a scope, follow the steps for [Monitor OAuth grant events by\nscope](#monitor_oauth_grant_events_by_scope), then select the events you want to revoke and click **Revoke access\ntokens for users**.\n\nCreate an alert for OAuth grants\n--------------------------------\n\nTo receive an alert when someone grants access to a specific scope, follow the\nsteps for [Monitor OAuth grant events by scope](#monitor_oauth_grant_events_by_scope),\nthen take the following steps:\n\n1. At the top of the search, click **Create activity rule**.\n2. For **Rule name**, enter a name for the alert.\n3. Click **Next: View Conditions** . The conditions automatically populate from the search parameters. You can edit them if needed, then click **Next: Add Actions**.\n4. In **Threshold 1** , select a time frame and threshold for the rule and check the **Send to alert center** box.\n5. Click **Add email recipients** and enter the email addresses that should receive alerts. Click **Done**.\n6. Click **Next: Review**.\n7. Review the details and click **Create Rule**\n\nFor more information, refer to [Create and manage activity rules](https://support.google.com/a/answer/9275024).\n\nRestrict access to high-risk OAuth scopes\n-----------------------------------------\n\nYou can restrict access to most Google Workspace services. For Gmail\nand Google Drive, you can restrict access to high-risk OAuth\nscopes while allowing users to give access to OAuth scopes that aren't\nclassified as high-risk. If an app requests access to a restricted high-risk\nOAuth scope, and you haven't specifically trusted the app, users can't authorize\nit.\n\nTo restrict access to high-risk OAuth scopes, refer to [Restrict or unrestrict\nGoogle services](https://support.google.com/a/answer/7281227#restrictaccess&zippy=%2Cmanage-access-to-google-services-restricted-or-unrestricted%2Cmanage-access-to-apps-trusted-limited-or-blocked%2Cstep-restrict-or-unrestrict-google-services)."]]