Netskope Global Technical Success (GTS)
Use-Case - How to block/bypass a predefined category, excluding a URL list from the category?
Netskope Cloud Version - 120
Objective
How to block/bypass a predefined category, excluding a URL list from the category?
Prerequisite
Netskope for Web/SWG license is required.
Context
Customers need to exclude specific URLs which are included in predefined categories.
Do you know?
Custom URL lists offer flexibility to supersede the predefined Netskope URL category mapping for a given URL and/or augment them by defining custom URL categories for situations in which the Netskope predefined URL category does not have a mapping for a URL (uncategorized).
Categories can be specified when you create Real-time Protection policies. Create custom categories to include predefined categories, plus include or exclude the URLs that you want to use for a Netskope Secure Web Gateway policy. To create a custom category, first add one or more URL lists, then add any predefined categories and URL lists to the custom category.
Use Case 1
Block Categories excluding a specific URL list with an RTP policy.
Configuration
For recreating the lab environment, we are taking.
Category – Generative AI, Education.
Domain -
- Step 1 - Go the Web section.
Path: Netskope Tenant UI >>> Policies >>> Web >>> URL Lookup
At URL lookup we can find the predefined category/categories how a specific URL belongs, the Steering configuration and the policies where the URL is used.
Path: Netskope Tenant UI >>> Policies >>> Web >>> URL List >>> New URL List
Create a new URL List adding the URL/URLs to exclude using exact match and adding a wildcard as shown below -
Save and apply changes with notes.
Path: Netskope Tenant UI >>> Policies >>> Web >>> Custom Categories >>> New Custom Category
Create a custom category adding the predefined category/categories where the URL we want to exclude belongs and add the URL list created before at the URL list (Excluded) section.
Save and apply changes with notes.
Note -
- Every time a change is applied, It is recommended to include “NOTES” for tracking purposes. In the provided example, an internal Task number was added for efficient tracking.
- Special Characters are not allowed in the name sections.
- Step 2 – Create a web category Policy.
Path: Netskope Tenant UI >>> Policies >>> Real-time Protection >>> New Policy >>> Web Access
Click at the Category section and select custom categories, select the category created before, set activity “browse” and action “Block”.
Save and apply changes.
This policy blocks all the browsing from education category and generative AI, excluding Grammarly website.
Use Case 2
Bypass Categories excluding a specific URL List.
Configuration
For recreating the lab environment, we are taking.
Category – Generative AI, Education.
Domain - www.grammarly.com
- Step 1 - Go to the Web section.
See Step 1 at Use Case 1
- Step 2 – Create Bypass category Exception.
Path: Netskope Tenant UI >>> Settings >>> Security Cloud Platform >>> Steering Configuration >>> Select the steering configuration you want to add the exclusion >>> Exceptions >>> New Exception >>> Category.
Select the custom category Created in the Step1
Author Comments
- If the end goal is to bypass SSL decryption then It's recommended to implement an No-SSL Decryption policy rather than including the domain/category in the steering exceptions. Visibility is crucial, and utilizing steering exceptions would result in complete loss of it. With a No-SSL Decryption policy, we can ensure that transactions are effectively recorded.
- If a website is not functioning properly when traffic is steered over Netskope, please contact the Netskope Customer Service team for assistance. It's important to avoid making any changes to steering exceptions and SSL decryption without recommendations from the Netskope Customer Service team.
Terms and Conditions
- All documented information undergoes testing and verification to ensure accuracy.
- In the future, it is possible that the default settings may be altered. If any such changes are brought to our attention, we will promptly update the documentation to reflect them.
Notes
- This article is authored by Netskope Global Technical Success (GTS).
- For any further inquiries related to this article, please contact Netskope GTS by submitting a support case with 'Case Type – How To Questions'.