You can use the process name and parent process name of a request as match criteria in Real-time Protection and SSL Decryption policies. This page explains how to find the correct values and configure a policy with them.
Process Name and Parent Process Name appear in:
- Real-time Protection policies, under Source
- SSL Decryption policies, under Match Criteria
- Transaction Events, in the
x-cs-processandx-cs-parent-processfields
About Process and Parent Process Names
This section explains what the process name and parent process name are and why they’re useful in a policy.
- Process name: The name of the program on the end-user device that makes the request.
- Parent process name: The name of the program that launched that process.
Netskope Client sends both names with the traffic it steers. You can then define policies that match only when a specific process or parent process makes the request. For example, a policy can target curl.exe only when its parent process is powershell.exe.
Both names also appear in Transaction Events. You can use them to trace which application on a device generated a specific request.
Prerequisites
Before you configure a policy with process criteria, make sure that your environment meets these requirements.
- Traffic is steered with the Netskope Client access method. Other access methods don’t provide process information.
- The end-user device runs a supported platform and version of the Netskope Client.
| Platform | Process Name | Parent Process Name |
|---|---|---|
| Windows | 119 or later | 119 or later |
| macOS | 119 or later | 139 or later |
| Linux, Android, ChromeOS | 119 or later | Not supported |
| iOS | Not supported | Not supported |
Understanding Process Name Matching
This section explains how Netskope compares your policy value with the value reported by the Netskope Client.
Process criteria use an exact, case-insensitive match on the full name. The value in the policy must be the same name as the value in the transaction event, ignoring case. For example, Safari matches safari, but safar doesn’t. Partial matches and wildcards aren’t supported.
Netskope requires the full name because partial matches are easy to bypass. For example, a user could rename a program to include an allowed string.
Don’t enter a wildcard such as *.exe to match all processes. If you don’t add a process criterion, the policy already applies to all traffic.
A policy matches only when all of its criteria match. If you add both Process Name and Parent Process Name, the policy matches only when both values match.
The following rules also apply to process criteria:
- If a policy has a process criterion and the Netskope Client doesn’t report a process name for the traffic, the policy doesn’t match.
- Each value can be up to 255 UTF-8 characters. You can’t leave the value empty.
Never guess a process name, and don’t copy it from the end-user device, for example from Task Manager or Activity Monitor. Always copy the value from the Process or Parent Process field of a transaction event. A value that doesn’t match exactly means the policy never applies.
Finding Process Names in Transaction Events
Use Transaction Events to get the exact process name and parent process name for the traffic that you want to control.
- Generate the traffic that you want to control from a test device that runs the Netskope Client.
- Open Transaction Events in your Netskope tenant.
- Filter the events by the test device or user and by the destination.
- Open the transaction event that matches the request.
- In the Transaction Event Details window, in the Process section, copy the value of Process, Parent Process, or both.
The reported value can differ from the application name that the user sees. For example, a request from Safari on macOS shows safari in Process and launchd in Parent Process.
The process fields are also available in Transaction Events exports and in Log Streaming.
| Field Name | Name in the Netskope UI | Description |
|---|---|---|
x-cs-process | Process | Process name on the Netskope Client |
x-cs-parent-process | Parent Process | Parent process name on the Netskope Client |
x-cs-pid | Process ID | Process ID on the Netskope Client |
x-cs-ppid | Parent Process ID | Parent process ID on the Netskope Client |
The Browser field is computed from the User-Agent header, which an application can modify. To identify the application that made a request, use the Process and Parent Process fields instead.
Configuring a Real-time Protection Policy
Follow these steps to create a Real-time Protection policy that matches a process name or parent process name.
- Go to Policies > Real-time Protection.
- Click New Policy, and then select the template that best matches your goal.
- In the Source section, click Add Criteria, and then select Process Name or Parent Process Name.
- Paste the exact value that you copied from the transaction event.
- Configure the destination, activities, profile, and action for the policy.
- Enter a name for the policy, and then click Save.
Configuring an SSL Decryption Policy
Follow these steps to create an SSL Do Not Decrypt policy for traffic from a specific process or parent process.
- Go to Policies > SSL Decryption.
- Click Add Policy. The New SSL Decryption Policy page appears.
- In the Match Criteria section, click Add Criteria, and then select Process Name or Parent Process Name.
- Paste the exact value that you copied from the transaction event.
- Select Do Not Decrypt as the action.
- Enter a name for the policy, and then click Save.
Netskope continues to match Real-time Protection policies with limited context when a connection matches an SSL Do Not Decrypt policy.
Verifying the Policy
After you save the policy, confirm that it matches the expected traffic.
- Generate the same traffic again from the test device.
- Open the new transaction event for the request.
- Check the policy fields:
- For a Real-time Protection policy, check (RTP Policy) Name and (RTP Policy) Action.
- For an SSL Decryption policy, check (SSL Policy) Name and (SSL Policy) Action.
If the policy doesn’t match, compare the policy value with the Process and Parent Process fields in the event. The names must be the same, apart from case.

