Features in Beta are available for evaluation and may change before General Availability. Contact your Netskope account team to enable this feature in your tenant.
You can now get visibility into the non-human identities (NHIs) that your AI agents and workloads use to access applications and perform actions. Next Generation Secure Web Gateway (NG-SWG) decodes JSON Web Tokens (JWTs) in API and Model Context Protocol (MCP) traffic, reads the identity information inside them, and adds it to Skope IT events. In addition, Netskope also classifies applicable transactions as ‘NHI Autonomous’ – when an agent acts on its own identity, or ‘NHI Delegated’ – when it acts on behalf of a user. You can then search and filter events by NHI and its associated metadata.
Prerequisites
Before you use NHI visibility, ensure you have:
- The feature enabled for your tenant.
- API or MCP traffic that passes through NG-SWG.
- Traffic that carries valid JWT tokens. Netskope can classify a transaction as NHI Delegated or NHI Autonomous only when the traffic contains a valid JWT token.
Viewing NHI Events in Skope IT
Once the feature is enabled, Netskope automatically decodes valid JWT tokens on the wire and classifies eligible transactions as Autonomous or Delegated and provides this data in Skope IT, so there are no NHI settings to configure. Use Skope IT to review the events that NHI visibility produces.
To view NHI events:
- In the Netskope tenant, navigate to Skope IT > Application Events.
- In Skope IT, filter events by activity type and select NHI Delegated or NHI Autonomous.
- (Optional) Search or filter events by a field in the NHI Information section, such as the primary NHI.
- Open an event and find the NHI Information section in the event details.
The section lists the NHI details that Netskope extracted from the token. For NHI Delegated events, it also shows the on-behalf-of user. The event also lists the JWT claims that Netskope read from the token, such as audience, expiry, issued at, issuer, subject, and scope.
NHI Event Fields
NHI visibility adds two activity types and a new NHI Information section to Skope IT events.
The following table describes the activity types.
Activity Type | Description |
|---|---|
NHI Autonomous | The agent or workload acts on its own identity. |
NHI Delegated | The agent or workload acts on behalf of a user. |
The following table describes the fields in the NHI Information section.
Field | Description |
|---|---|
primary_nhi | The primary non-human identity that Netskope observes in the JWT as part of the transaction |
obo_user | The on-behalf-of (OBO) user. Netskope shows this user for NHI Delegated activity. |
nhi_type | The type of the NHI, such as workload execution role. |
permissions | |
actor_chain | |
nhi_detection_reason |
NHI Profiles and Real-time Protection Policies
You can define NHI profiles that describe verifiable identities for your workloads, agents, and cloud execution roles, and use them to scope Real-time Protection (RTP) policies. NG-SWG decodes OpenID Connect (OIDC)-JWT tokens and supports Secure Production Identity Framework for Everyone (SPIFFE) IDs and source-declared identifiers, so Netskope can apply granular access and content inspection policies in real time. These policies help your secure interactions with external applications and AI tools. Audit logging and Skope IT event tracking give you visibility into the activity.
Features in Beta are available for evaluation and may change before General Availability. Contact your Netskope account team to enable this feature in your tenant.
Prerequisites for NHI Profiles
Before you define NHI profiles, ensure you have:
- The feature enabled for your tenant. The “NHI Profile” management options appear only after Netskope enables it.
- API or MCP traffic that passes through NG-SWG.
- Traffic carries valid JWT tokens.
Creating NHI Profiles
Security admins create and manage NHI profiles to define the identities that Netskope recognizes.
To create an NHI profile:
- In the Netskope tenant, navigate to Policies > Profiles > NHI Profile
- Create a NHI profile and enter a name for it.
- Select the source system, such as AWS or Custom. This is only used to identify and associate events from this NHI back to the source system for correlation. Does not impact policies
- Select the NHI type, such as Workload ID or Workload Execution Role.
- Select how Netskope identifies the NHI in Real-time traffic, such as by AWS Amazon Resource Name (ARN) or by the SPIFFE ID. This NHI must be present in the ‘sub’ claim of the JWT token. The value supports both regex patterns or an exact match for the NHI.
- Save the profile.
Supported NHI Identity Types
The platform currently extracts the following values from the’sub’ claims of the JWT tokens observed on the wire and enforces policies against the ones that match the NHI profiles.
| Identity Type | Description |
|---|---|
SPIFFE ID | A SPIFFE ID that uniquely identifies the workload/agent and is available as part of the JWT token ‘sub’ claims |
Source-declared identifier | A unique identifier (ex: AWS ARN) that agents inherit from and is available as part of the JWT token ‘sub’ claims |
Support for Proxy Authorization
By default, Netskope will look at the JWT tokens in the Application authorization sections to extract Non-human identities and apply policies.
However, for those users that can send the JWT as part of the ‘Proxy Authorization’ header, there is now a provision in the NHI profile to have that setting turned on. If this feature is configured, the platform will ignore application authorization and will rather fetch the JWT from the Proxy Authorization headers and apply real-time policies against those NHIs.
Scoping Real-time Protection Policies to NHI Profiles
You can scope a Real-time Protection policy based on NHI profiles, so the policy applies to the identities that you define.
To scope an RTP policy to an NHI profile:
- In the Netskope tenant, navigate to
- Policies > Real-time protection > Cloud app access/Web access
- Policies > Real-time protection > Agentic Access
- Policies > Real-time protection > Cloud app access/Web access
- Create an RTP policy or open an existing one.
- Add the NHI profile that you created to the policy.
- Set the remaining policy criteria, such as the category, activity, and destination.
- Set the action to Alert or Block.
- Save the policy and apply the changes.
Verifying Policy Enforcement
To confirm that a policy enforces an NHI profile, send traffic from an agent whose identity the profile matches and check the resulting events.
To verify policy enforcement:
- Set the policy action to Alert and send traffic from an agent whose token matches the NHI profile.
- Confirm that the agent gets a normal response. In Skope IT, open the resulting alert event. The event shows the NHI profile name, the policy name, and the NHI Information section.
- Change the policy action to Block and apply the changes. Send the same traffic again.
- Confirm that Netskope blocks the request. In Skope IT, the event now shows the block action for the same profile and policy.
- (Optional) Edit the profile so that it no longer matches the token, for example by changing the subject value, and apply the changes. Send the traffic again. The policy no longer applies, so the request goes through unless another policy applies to it.

