Adding Custom Categories


Adding Custom Categories

Watch a video about how to add custom categories

Zscaler Shift allows the creation of custom categories for use in policies.

No matter what content filter type you choose or which security features you enable for a given policy, there may be some domains that you want to whitelist and always allow for users and other domains that you want to blacklist and always block for users. Custom categories enable you to do this.

To whitelist or blacklist domains while configuring policies, you must first create a custom category and then add the domains you want to control to your custom category. Domains you want to whitelist or blacklist should not be in the same custom category. The custom categories you create will appear as options you can select when you configure the Always Allow Categories or Always Block Categories in policies.

Since it is a DNS service, Shift only resolves domain names.

To create a custom category:

  1. From the Administration menu, click Categories, then the Custom Categories tab.
  2. On the upper-right corner of the page, click New Custom Category.
  3. In the New Custom Category window, enter a Name for the custom category, and optionally, a Description.
  4. Click Save.

    You must first save the category before adding any domains.

  5. After saving, click again on the Custom Categories tab.
  6. For the custom category you have just created, click the Edit icon.
  7. Under Add/Edit Domains to Custom Category, you can either add domains manually or upload a CSV to add multiple domains at once. When adding domains, take note of the guidelines for entering domains.
    • To add domains individually:
      1. Click the Edit icon.
      2. Click the eye icon next to Edit Domain.
      3. In the Add a Domain field, type the domain you want to add to this custom category and click Add. If you want to add multiple domains, separate the domains with commas.
      4. Close the Edit Domain window and click Save.
    • To add domains with a CSV file:
      1. Click the Edit icon.
      2. Click Select File under Upload Domains File (CSV).
      3. Navigate to and then upload your CSV file. Shift accepts only CSV files. 
        A preview will appear in the Domains File Preview window after you upload the file. Click Change if you want to upload a different CSV file or click Remove to remove it. 
        • Click Save.
    • Click Save.

    • The text is not case-sensitive.
    • The domain must not contain the protocol schema. Type www.example.com instead of http://www.example.com.
    • You can use wildcard characters "[*][.]" (an asterisk and a period) on the left side of a stated domain. If you enter *.safemarch.com, any domain which includes .safemarch.com will match. In addition, when using leading periods, the most exact match is used. For example, if you add ".example.com" to a blacklist and "name.example.com" to a whitelist, only "name.example.com" would be allowed.
    • Wildcard characters addressing the right side of a stated domain are always assumed. Thus the entry "www.safemarch.com" will also apply to "safemarch.com:10443," "safemarch.com/index.htm," and "safemarch.com/work/mail?=next". Wildcard matches are not done for trailing periods. They are treated as DNS zone separators.