--- title: "Create a File Server repository definition" slug: "create-a-file-server-repository-definition" tags: ["Product Usage", "SaaS"] updated: 2026-09-01T09:28:14Z published: 2026-09-01T09:28:14Z canonical: "docs.trellix.com/create-a-file-server-repository-definition" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Create a File Server repository definition Configure a File Server repository for scanning. You can use regex in Perl syntax when specifying include or exclude parameters for folders, rather than using a specific full path. - For include entries, specify the path prefix, such as \\server or \\server\share\folder. The regular expression must be an exact match of the path suffix. - For exclude entries, folders that match the path are skipped entirely from the scan. 1. In ePO - SaaS, go to **Menu** → **Data Protection** → **DLP Policy Manager**. 2. Click the **Definitions** tab. 3. In the left pane, under **Repositories**, select the type of repository. 4. Select **Actions** → **New Item**. 5. Enter a name, select the credentials to use, and configure at least one **Include** definition. 6. (File Server repositories) Configure at least one **Include** entry. 1. Select the **Prefix Type**. 2. In the **Prefix** field, enter the UNC path, single IP address, or IP address range. > [!NOTE] > Note > > The UNC path can be the fully qualified domain name (FQDN) (\\myserver1.mydomain.com) or the local computer name (\\myserver1). You can add both versions to a single definition. Multiple entries are parsed as logical OR. 3. (Optional) Enter a regular expression for matching folders to scan. 4. Click **Add**. 7. (Optional) Configure **Exclude** parameters to exclude folders from being scanned. 8. Click **Save**.