Overview

  • Greenlist restrictions permit Glean to only crawl and index specified content (specific include).
  • Redlist restrictions permit Glean to crawl and index everything except the specified content (specific exclude).
Restriction TypeGreenlistRedlistDetails
Time-based RestrictionsRestrict crawling to include/exclude content created/modified/viewed after a certain date.
User-based RestrictionsRestrict crawling to include/exclude content created/modified/viewed by specific users or a specific group (plus public content).
Content-based RestrictionsRestrict crawling to include/exclude specific content, documents, messages, or objects (see below).

Supported Restrictions

RestrictionGreenlistRedlistDetails
DateRestrict crawling to only content created/modified/viewed after a specific date, e.g. YYYY-MM-DD
GroupRestrict crawling to only content created/modified/viewed by users in a Google Group, e.g. glean-users@company.com
User (Owner)Restrict crawling to exclude content owned by specific users, e.g. user@company.com,user2@company.com
Content (Shared Drive)Restrict crawling to shared drives only, or exclude specific shared drives by name/prefix.
Content (Folder)Restrict crawling to include/exclude content within specific folder IDs.
Content (File)Restrict crawling to include public files only.

Applying Restrictions

MethodSupportedDetails
Admin UIRestrictions can be applied in the Admin UI under the connector configuration.
Glean SupportRestrictions can be applied by Glean Support on request.

Not all restrictions can be applied in the Admin UI. Please contact Glean support to apply the restriction if it is missing from the UI.


Locating Folder IDs

To specify certain folders to exclude in Google Drive, you’ll need to get the folder ID.

Go to the folder in Google Drive. In the URL bar, select everything after drive.google.com/drive/folders/. This is the folder ID.

You can copy and paste this folder ID into Glean.

Locating Shared Drive IDs

Shared drives are special folders in Google Drive. Because they are folders, the process for finding the shared drive ID is the same as it is for a folder.

Go to the shared drive in Google Drive. In the URL bar, select everything after drive.google.com/drive/folders/. This is the shared drive ID.

Copy & paste the Shared Drive ID into Glean.