Network detection tells you that something connected and exchanged traffic. Identity-based discovery tells you which non-human identity was used, what it could access, and who is accountable for it. The second model is stronger for governance because it supports ownership, privilege review, and remediation.
Why This Matters for Security Teams
Network detection is useful, but it stops at the perimeter of observation: it can show that an AI agent connected, called an API, or moved data. It cannot reliably tell you whether the action was authorised, which NHI was involved, or which owner must answer for it. That gap matters because autonomous systems do not behave like human users with stable access patterns. The right question is not only “what traffic happened?” but “what identity acted, under what policy, and with what privilege?”
That distinction is already visible in agentic environments. Current guidance from NIST AI Risk Management Framework and the OWASP Top 10 for Agentic Applications 2026 treats governance, accountability, and runtime control as core requirements, not optional extras. That is especially important when agents can chain tools, reuse tokens, or cross boundaries faster than a human operator can intervene. NHI-specific research from Ultimate Guide to NHIs shows that only 5.7% of organisations have full visibility into service accounts, which makes identity-based discovery a much stronger control than packet-level inference.
In practice, many security teams only discover agent misuse after access logs, billing records, or downstream data exposure already show the damage.
How It Works in Practice
Identity-based discovery starts with workload identity, not traffic inspection. An AI agent should present a cryptographic identity, such as an OIDC token or a SPIFFE-style workload identity, so policy systems can answer three questions at runtime: what the agent is, what it is trying to do, and whether that action is allowed right now. That is a better fit than static RBAC alone, because agents are goal-driven and may take different paths to reach the same outcome. For that reason, intent-based authorisation and policy-as-code are becoming the practical model for agent governance.
In a mature setup, discovery should correlate identity, privilege, and action. That means mapping the agent to its owning team, linking it to its secrets, and recording which tools it can reach. It also means issuing OWASP NHI Top 10 style controls around short-lived credentials, revocation, and least privilege, then validating those controls against the runtime context. NHI governance guidance in the Ultimate Guide to NHIs is especially relevant here because NHIs outnumber humans by 25x to 50x in modern enterprises, which makes manual review unrealistic at scale.
- Use JIT credentials for each task rather than long-lived static secrets.
- Bind agent identity to the workload, not only to a network source or IP range.
- Evaluate access decisions at request time using context, task intent, and current risk.
- Log the owner, the policy decision, and the downstream systems touched by the agent.
This model aligns well with CSA MAESTRO agentic AI threat modeling framework and the NIST SP 800-207 Zero Trust Architecture, both of which emphasise continuous evaluation instead of implicit trust. These controls tend to break down when agents run across loosely governed toolchains with shared secrets and no stable identity binding, because attribution becomes partial and revocation becomes too slow.
Common Variations and Edge Cases
Tighter identity controls often increase operational overhead, so organisations need to balance stronger accountability against deployment speed and developer friction. There is no universal standard for this yet, especially where multi-agent systems, delegated tool use, or vendor-hosted agents are involved. Best practice is evolving, but the direction is clear: treat every agent as a workload with an owner, a policy boundary, and a short-lived credential path.
Some environments still rely on network detection as a first-pass signal, especially for legacy systems or where identity telemetry is incomplete. That can be useful for triage, but it is not enough for governance. If an agent uses shared API keys, passes through a proxy, or operates inside a managed platform that obscures the originating workload, identity-based discovery must be supplemented with stronger secret hygiene and explicit delegation records. The AI Agents: The New Attack Surface report notes that 80% of organisations report agent behaviour beyond intended scope, which is exactly where network-only visibility starts to fail.
For teams moving from discovery to control, the practical goal is not perfect certainty. It is enough fidelity to answer who controlled the agent, what it could touch, and how quickly the access can be removed. That is why identity-based discovery is the stronger model for agentic systems, especially when paired with NIST AI Risk Management Framework and agent-focused threat modelling.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Agentic AI Top 10 and CSA MAESTRO address the attack and risk surface, while NIST AI RMF set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | A2 | Agentic systems need runtime access controls and misuse detection. |
| CSA MAESTRO | T1 | MAESTRO covers threat modeling for autonomous agent behaviour and identity trust. |
| NIST AI RMF | GOVERN | AI RMF governance aligns with ownership and accountability for autonomous agents. |
Assign accountability, monitor behaviour, and review agent decisions under a formal governance process.
Related resources from NHI Mgmt Group
- What is the difference between workload identity and API keys for AI agents?
- What is the difference between managed identities and hardcoded secrets for AI agents?
- What is the difference between human identity governance and AI agent governance?
- What is the difference between logging actions and logging intent for AI agents?
Deepen Your Knowledge
Reviewed and updated by the NHIMG editorial team on May 17, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org