Netskope Help

Real-time Protection Policies

The policy framework allows admins to match against CCL and custom tags, supports multiple DLP profiles, supports an action per DLP profile, and set Traffic Action when a profile does not match.

To watch a video about the new Real-time Protection policy workflow, click play.

 

To get started, go to: Policies > Real-time Protection.

This pages shows:

  • Name of each policy.

  • The source (traffic criteria) for the policy.

  • The apps each policy monitors.

  • The profile applied to each policy.

  • The current action applied to each policy.

  • The number of alerts triggered for each policy in the last 30 days.

For a more detailed view of each policy, click the name of the policy.

Policy details provide information about:

  • Traffic Criteria: Traffic Criteria are sorted into 'Source' and 'Destination.' Netskope will show the most appropriate criteria based on your policy template selection.

  • Profile and Action: The action is performed when the traffic criteria and profile are both matched.

Additional menu options for editing a policy

You can edit the policy by clicking the three dots to the far right of the policy name. A menu opens that enables you to edit, view alerts, move policies, revert, disable, clone, and delete policies.

RTpolicyPageMenu.png
Searching for a policy

You can search for a specific policy by typing the name in the search box. The policies that match closely to your search text are filtered in the Policies list. Optionally, you can select the Show Matched Policies Only checkbox which further filters your policy list to display only the policies that precisely match your search text.

The Real-time Protection Policies page also allows you to use search filters to find policies for specific users, apps, and websites.

RTpolicyPageFilters.png

To use the search filters, click the filter icon to apply one or more of these filters:

  • User Name: Find policies that detect specific users.

  • Profile Type: Find policies with DLP, Threat Protection, IPS, or no associated profile.

  • DLP Profile Name: Find policies that use certain DLP rules, like PCI, PII, PHI or any DLP profile.

  • Action: Find policies that take a certain action, like block or encrypt.

  • Network Location: Look up and filter by a specific or multiple network location(s).

  • Source Country: Look up and filter by a specific or multiple source country(ies).

  • OS: Find policies that detect specific operating systems.

  • Browsers: Find policies that detect specific browsers.

  • Access Method: Find policies that detect specific types of access, like explicit or reverse proxy, GRE, or IPSec.

  • Device Classification: Find policies that detect managed or unmanaged devices.

  • Application: Look up and filter by a specific application.

  • Activities: Find policies that track specific activities like downloads and uploads.

  • Destination Country: Look up and filter by one or more destination country(ies).

  • User Group: Find policies that detect specific user groups.

  • Application: Find policies that detect a specific cloud application.

  • Category: Find policies that detect specific cloud application and website categories.

The Real-time Protection Policies list page by default displays 150 rows. To change your view, select the option from the bottom right of the page (options include: 25, 50, 100, 150).

You can view the list page in compact table view (default) or detail table view. From the detail table view, you can customize the columns or restore the default view. To access the Customize Columns window, click the gear in the upper right corner of the table.

RTpolicyPageTableOptions.png
Create a Real-time Protection Policy

Policies are defined using a set of variables. These variables define the criteria for detecting policy violations.

For descriptions for each of the variables used, refer to Real-time Protection Policy Variables.

To create a Real-time Protection policy:

Note

When you see a text box during the policy workflow, click in the text box to view your additional options or to edit your selection(s). These options dynamically display based on your initial template choice. Many criteria are set to ‘Any’ by default. This means the policy engine will not match against the criteria.

When available, click Add Criteria to see what other match criteria are supported. Add more criteria to your policy to make it more specific.

Optionally, click the 'X' to the far right of the text box to remove a criteria.

  1. On the Real-time Protection Policies page, click New Policy. When creating a new policy, select a template that most resembles your goal. You can choose a DLP or Threat Protection, or an access control type policy template: Cloud App Access, Web Access, or Private App Access. No matter the choice, you can edit as you work through the policy creation workflow. Choosing a template means some fields are auto-populated for efficiency.

    InlinePolicyType.png
  2. Select the Source. Click in the text box to select users, user groups, or organizational units. Traffic Criteria is sorted as 'Source' and 'Destination.' The system will show the most appropriate criteria based on your policy template selection. Many criteria are set to 'Any' by default. This means the policy engine will not match against the criteria.

  3. Optionally, click Add Criteria to see what other match criteria are supported. Add more criteria to your policy to make it more specific.

    AddCriteriaHTTPHeader.png
  4. For Destination, click in the text box to switch among App (Public or Private), Category, and Instance. These options allow you to write a specific policy against a few applications or instances, or a generic policy against entire categories of applications and websites.

    CloudAppPolicyDestinations.png
  5. Optionally, select Activities and Constraints. After selecting an app, you can further narrow your policy by selecting specific activities and constraints.

    Note

    As part of file activity, a user can add a comment to a file in Microsoft Office 365 OneDrive. In OneDrive account, hover over a file and click See details > Activity. In Netskope, this activity translates to a post. Microsoft allows commenting for non-Microsoft Office file types only like .zip, .pdf, .txt, .png, .pem, and more. Netskope reports post activity for such file types. However, Microsoft does not allow commenting for .docx, xlsx, and .pptx file types. Due to this limitation from Microsoft, Netskope does not report post activity for such file types.

    PolicyActivityOptions.png
  6. You can add more Destination criteria. The system will show the most appropriate criteria based on Application, Category, App Instance, or Private App selection.

    PolicyDestinationOptions.png
  7. Select a Profile and Action. Click in the text box to view your other options. To perform additional content inspection on the traffic, add a profile. The action you specify in this step is performed when the traffic criteria and profile are both matched.

    DLPpolicyProfileTypes.png
  8. Select the action you would like to take, like Alert, Block, Quarantine, Forward to Proxy, and so on. Some actions allow you to choose a default template for the notification sent to the user when the policy detects a violation.

    DLPpolicyProfileActions.png
  9. Optionally, you may see the 'Set action for each profile' checkbox. This option is visible based on your initial template selection. This is an optional feature to help you consolidate policies. If you have multiple DLP profiles in one policy, you can set an action for each profile.

    DLPpolicyProfileDiffActions.png
  10. Optionally, you may see the 'Add Traffic Action' button. This action allows you to consolidate a DLP policy and an access control (Cloud App Access, Web Access, or Private App Access) policy that have the same traffic criteria. When the traffic criteria matches but the DLP profile does not, the traffic action will be taken.

    DLPpolicyAddTrafficAction.png
  11. Optionally, you can edit or remove your Profile & Action. Click the pencil icon or the three dots to the far right of the profile name.

    DLPpolicyProfileEditActions.png
  12. Enter a name and a description.

    Important

    When creating policy names, only use alphanumeric characters and symbols such as "_" underscore, "-" dash, and "[ or ]" square brackets. You cannot use the greater than ">" and less than "<" symbols in policy names. 

  13. Select an Email Notification. Select the notification frequency. Choose None if you don't want an email notification about the policy violation and the resulting action. When you choose 'Every,' you can select the frequency of the email notifications from the dropdown list – 30 Mins, 60 Mins, 6 Hours, 24 Hours. Or, choose to notify 'After each event.'

    Select the User, Admin, or Users to be notified. You can use the default email template or create a new template. Optionally, you can specify the an email address that will appear as the sender in the email notification. Wen finished, click Done to save your email notification setting and exit the window.

    CloudAppPolicyEmails.png
  14. Optionally, you can enable a time based policy schedule. See the Time Based Policies topic for details. If you do not see this option, contact Support to enable it in your account.

    TBPpolicyScheduleMain.png

    If a policy schedule is configured, you will see a clockClockIcon.png icon beside the policy name in the Policy list page.

    If a time range has expired, you will see a grayed out GrayedClockIcon.pngclock icon and policy name. The policy is still enabled but it requires your attention. In both cases, you can hover over the clock icon for details.

  15. Click Save in the upper right corner to save your new policy. You should see it in the Policy list page.

Real-time Protection Policy Variables

The following variables can be defined for an Real-time Protection policy. You can use a variety of variables in a policy. If a variable is not used in the policy, it is defined as Any.

Variable

Description

Users

Users created manually in the UI or Active directory users that are automatically populated from the enterprise AD server.

User Groups

These are the Active Directory (AD) groups that are automatically populated to the Netskope cloud from the Enterprise AD server. Specifying user groups in a policy requires installing the Netskope AD adapter on a server that is part of your domain in order to export the AD user group names.

Organizational Unit

This information is obtained from the exported AD groups. Specifying organizational units in a policy requires installing the Netskope AD adapter on a server that is part of your domain in order to export the AD organizational unit names.

Cloud Apps + Web

Cloud app variables include:

  • Applications: Choose an individual app, like Dropbox.

  • Categories: Choose a type of app or web, like cloud storage. For more information, see Category Definitions.

  • App Instances: Choose an app instance to include in a policy. Multiple SaaS app instances can exist at the same time (like an corporate app instance versus a personal app instance). Existing app instance labels appear in the dropdown list. For more information about creating app instances, refer to Create an App Instance.

Cloud Confidence Index Level (CCI Level)

A CCI Level can be applied when certain app categories, like Application Suite, are chosen. CCI measures the enterprise readiness of the cloud apps taking into consideration their security, auditability, and business continuity. Each app is assigned a score of 0-100, and based on the score, placed into one of five cloud confidence levels: Excellent, High, Medium, Low, or Poor. CCI can be used as a matching criteria in the policy. For example, you can choose to not let users share content in cloud storage apps rated Medium or below.

DLP Profile

A data loss prevention (DLP) profile detects violations like PCI (which identifies credit card information). DLP profiles and rules can be configured in Policies > DLP.

Threat Protection Profile

A threat protection profile detects malware files and malicious sites. Threat protection profiles can be configured in Settings > Threat Protection.

Activities

The Netskope content analytics engine performs deep packet inspection to detect a specific cloud app and also to extract the relevant information about the activities performed with that app. It can detect if the user downloads a file, uploads a file, shares a file, and also detects the file name, and so on. Today the Netskope engine can detect 41,000+ apps and can track 80+ activities.

Constraints

What the user is allowed to do for that specific activity (like allowed to share only within the organization). Constraints are shown only for the activities that support each constraint. Constraint profiles are defined in Policies > Profiles > Constraints. Refer to Profiles for details on configuring constraints profiles.

Additional Attributes

These optional variables detect the following:

  • Access Method: The access type, like client, mobile, GRE, IPSec, and so on.

  • Browser: The browser type, like Chrome, Internet Explorer, and so on.

  • Device Classification: Managed or unmanaged devices based on the classifications created in Settings > Manage > Device Classification. This option is only applicable for access methods: Client, Mobile Profile, Revere Proxy.

  • File Size: The size of files, like files larger or smaller than 2 MB (whatever your specify).

  • File Type: The file types, like spreadsheets, text files, and so on.

  • Source Countries: The countries from where queries originate from.

  • Destination Countries: The countries to where queries are sent.

  • OS: Operating system types, like Mac, Linux, Windows, Android, iOS, and so on.

  • Source Network: The network address, range, or any network, including user IP address or egress IP address.

  • User Type: The user, to a user, or from a user.

  • Video Category: Displays only when YouTube is the selected app. You can configure policies for video categories as defined by YouTube. This enables you to selectively allow access, or not, to certain types of content within YouTube.

Action

Action taken when a violation is detected:

  • Alert: Inspects the session and performs deep analytics but no action is taken. It will generate an alert under the Alert tab.

  • Allow: All activities will be permitted on managed devices.

  • Block: Blocks the specified app session if all criteria are matched. For example, if the policy is configured to block only a download activity for cloud storage, only the download will be blocked. All other activities will be permitted. You can specify a default block page or a custom block page to be displayed when a block action is taken. Block Template options include the following but you may see other templates in your set up that are unique to your account:

    • Default Template: Default template for Block and User Alert which is available when the account is set up.

    • No Notification (Mute): No notifications are displayed when this option is selected. Additionally, this option is available for all categories, apps, and instances.

    • Block Template with URL: URL the user is redirected to automatically or after clicking the Stop Button. Admins can add this URL while designing the template. In addition, admins can add variable tags for the redirect URL(s).

    • Block with Justification Box: Justification box option provides a text box within the notification window where the user can enter a justification message.

    • Block with UA Action: User Alert action is configured with an option the user selects to "Proceed" or "Block" the activity.

      Tip

      Except the Default Template and No Notification (Mute) options noted above, all other other templates are created and maintained by account admins.

  • Idle Timeout: Enter the amount of minutes to trigger a session timeout.

  • Bypass: Bypasses the detection when the criteria are matched. For example, if you want to bypass all activities from being detected except for login and logout, then choose all the activities except Login Successful and Logout, and then set the action as Bypass.

  • User Alert: When a user alert action is chosen, you can specify a default user alert page or custom page to be displayed to the user as defined in the policy. The user justification page for a user alert action will have Proceed and Stop Action buttons. The Proceed button will allow the activity and generates an activity event with the user's justification reason, whereas the Stop Action just blocks the activity. The user's justification reason for the activity is cached for 30 minutes.

  • Quarantine: If a user uploads a document that has a DLP violation, you can quarantine the file, which moves the file to a quarantine folder for you to review and take appropriate action. You can then choose to allow the file to be uploaded or block the file from being uploaded. This option is available only when DLP is included in a policy. Also the action can be taken only for the upload activity.

  • Encryption: You can encrypt files in the named instances of cloud apps that are sanctioned if it matches certain policy criteria. Encryption is available only when an app instance of a cloud app is chosen. To learn how to create an app instance, refer to Create an App Instance. The encryption action can be applied to an upload activity. If any other activity is chosen, like download, encryption will not show under the list of actions.

Create an App Instance

Some cloud apps have multiple instances of an app active at the same time, like an enterprise Google Drive instance for an organization vs. a personal Google Drive instance.

The Netskope analytics engine tracks the instance ID for cloud apps. You can create an app instance label based on the instance ID, and then use the app instance label in a policy to detect specific instances of a SaaS app.

To create an app instance label:

  1. Log in to the Netskope tenant UI.

  2. Navigate to SkopeIT > EVENTS > Application Events or Alerts.

  3. In the Application Events table, identify the application for which you intend to create an app instance. Then click the ViewIcon.png icon at the beginning of the row entry.

    CreateAppInst_Plus.png

    The Application Event Details panel opens on the right side of the page.

  4. Under the APPLICATION section, click the + icon beside the application name.

    The Create Application Instance dialog box opens.

  5. In the Name field, enter a label to append to the application name to distinguish between instances. The label must be alphanumeric (A-Z, 0-9).

  6. Click Submit.

The label is what appears in the App Instance dropdown list when creating a Real-time Protection policy.