TL;DR: API WAFs only protect APIs that are known, onboarded, and continuously mapped, while undiscovered interfaces receive no inspection, rate limiting, or monitoring, according to LEVO's analysis. The governance lesson is that API discovery must be treated as an ongoing control because static inventories quickly diverge from production reality.
At a glance
What this is: This analysis argues that API WAF coverage is only as complete as the discovery process behind it, and undiscovered APIs receive no inspection, rate limiting, or monitoring.
Why it matters: It matters because IAM-adjacent governance, access controls, and runtime monitoring all fail when the application surface is incomplete, leaving hidden interfaces outside security policy.
By the numbers:
- Lack of credential rotation is cited as the top cause of NHI-related attacks by 45% of organisations, reinforcing how control drift creates exposure.
👉 Read LEVO's analysis of API WAF blind spots and discovery drift
Context
API WAF effectiveness depends on a complete view of the attack surface, but modern delivery models make that view hard to maintain. When APIs are created through CI/CD, microservices, partner integrations, feature flags, and runtime configuration changes, static discovery methods quickly fall behind production reality.
That creates an access-control problem as much as a web security problem. If an API is not discovered, it is not inventoried, onboarded, or governed, which means policy enforcement never reaches it. This is a familiar failure pattern in identity security too, where unseen assets become unmanaged assets.
The article's starting position is typical of modern enterprise environments: visibility is assumed where only partial runtime observation exists.
Key questions
Q: What breaks when API discovery is incomplete?
A: When discovery is incomplete, security teams miss shadow APIs, forgotten integrations, and endpoints that no longer have an obvious owner. Those gaps prevent consistent authentication, logging, rate limiting, and offboarding, which creates an easy path for attackers to find overlooked access points. An API estate cannot be governed if it cannot be inventoried.
Q: Why do undiscovered APIs create outsized risk in application security programs?
A: Undiscovered APIs create risk because teams cannot test, monitor, or govern what they do not know exists. That leads to gaps in vulnerability coverage, inaccurate reporting, and delayed remediation. In practice, shadow APIs often come from internal projects, integrations, or inherited services, and they can bypass normal security workflows until they are exposed.
Q: How should security teams verify that WAF coverage is actually complete?
A: Start with external discovery, not policy documents. Build a live inventory of internet-facing assets, map each one to an active WAF policy, and confirm a named owner for exceptions. Coverage is only real when the asset, the policy, and the operational responsibility all line up.
Q: Should organisations prioritise API discovery before deeper vulnerability testing?
A: Yes, when the estate is incomplete or fast-changing. If you cannot reliably identify all exposed APIs, deeper testing will understate risk because it will miss services that are live, reachable, and potentially sensitive but absent from the original scan plan.
Technical breakdown
Why static API discovery misses live attack surface
Static discovery depends on design-time artefacts such as OpenAPI files, documentation, gateways, and manual review. That model works only when the deployed system changes slowly and every interface passes through the same governance path. In modern environments, APIs emerge through internal tooling, feature flags, partner-specific routes, and ephemeral deployment patterns. The result is not merely incomplete documentation. It is a mismatch between the system that security believes exists and the system that actually serves traffic.
Practical implication: move from one-time discovery to runtime detection so the protected surface reflects actual production exposure.
How API WAF scope is actually enforced
An API WAF does not independently infer what should be protected. It enforces policies against paths, services, schemas, and request patterns that have already been onboarded. That means schema validation, rate limits, authentication assumptions, and monitoring controls are all bound to discovered objects. Undiscovered APIs are not failed protections. They are non-targets. This is why a WAF can look healthy while still leaving a meaningful portion of the live surface outside inspection.
Practical implication: verify WAF scope against runtime traffic, not against the list of APIs security teams think they have.
Why discovery drift becomes an enforcement gap
Discovery drift occurs when the inventory stays static while the environment changes. New APIs appear, internal services become externally reachable, and old interfaces persist after teams assume they are retired. The enforcement gap widens quietly because nothing in the WAF itself signals that coverage is shrinking. That makes discovery a governance dependency, not a preparatory task. Without continuous validation, security controls remain technically correct but operationally incomplete.
Practical implication: treat discovery drift as a control failure and monitor for surfaces that change without corresponding inventory updates.
Threat narrative
Attacker objective: The attacker aims to reach an ungoverned API path that sits outside inspection and can be abused without security controls noticing.
- Entry occurs when an API is introduced or exposed through a path that never enters formal discovery, such as a partner route, internal service, or feature-flagged endpoint.
- Escalation follows because the undiscovered API receives no schema validation, rate limiting, or inspection, allowing abuse at normal service speed without triggering WAF controls.
- Impact comes when hidden endpoints are used for data access, request flooding, or lateral expansion across trusted internal services.
NHI Mgmt Group analysis
API discovery debt is the real control gap here. The article shows that WAFs do not fail first at enforcement, they fail at scope definition. When discovery lags production, protection is applied only to the subset of interfaces already known to governance. That is structurally similar to identity blind spots in NHI programmes, where controls break down once assets exist outside the inventory. Practitioners should treat discovery debt as a first-class security risk, not an operational inconvenience.
Invisible APIs create invisible access control risk. In identity programmes, a resource outside the policy model is effectively unmanaged. The same principle applies here: if an API is not discovered, it cannot be enrolled in rate limiting, authentication review, logging, or behavioural monitoring. This is why runtime observation matters more than documentation hygiene. Security teams should measure whether policy coverage tracks runtime exposure, not whether the architecture diagram looks complete.
Continuous discovery is now a governance requirement, not a tooling feature. Modern delivery pipelines introduce APIs too quickly for periodic review to be reliable. That makes continuous detection, inventory, and monitoring the only defensible model for API governance. The practitioner takeaway is to align API security with live system behaviour, not release cadence.
Levo's framing sharpens a useful concept: discovery-driven control scope. The control boundary is determined by what has been observed and onboarded, not by what teams intended to deploy. This is a valuable lens for both application security and identity governance because it exposes how often control effectiveness depends on upstream visibility. Teams should audit whether their operational controls can survive inventory drift.
What this signals
A discovery-led control model is becoming the baseline for both application security and identity governance. Once runtime reality diverges from inventory, every downstream control, from logging to enforcement, inherits that error. Teams that already struggle with shadow assets in IAM should assume the same pattern exists in API security and plan for continuous observation rather than periodic review.
Discovery drift: the gap between what teams believe is exposed and what is actually live will keep widening as delivery pipelines accelerate. The practical response is to tie onboarding, monitoring, and enforcement to runtime evidence, then verify that hidden surfaces are not being created by feature flags, partner routes, or protocol-specific behaviour.
For practitioners
- Implement runtime API detection Use live traffic observation to surface endpoints, queries, and methods that documentation and gateways miss. Feed those findings into a continuously updated inventory so protection is based on what actually exists.
- Reconcile WAF scope against production reality Compare protected paths and services with runtime-discovered APIs on a fixed cadence. Flag any interface receiving traffic without matching inspection, logging, or rate limiting.
- Treat discovery drift as a control exception Create a formal workflow for APIs that appear outside approved onboarding paths, including security review, ownership assignment, and enforcement enrollment before broad exposure continues.
- Extend monitoring to protocol-specific surfaces Include GraphQL query execution patterns and gRPC service methods in discovery and monitoring plans, not just HTTP paths that traditional tools can enumerate.
Key takeaways
- API WAFs only work when the discovery process behind them stays current with production reality.
- Unknown APIs are not partially protected APIs, they are ungoverned interfaces outside inspection, logging, and rate limiting.
- Continuous discovery and runtime inventory are the controls that make API protection meaningful at enterprise scale.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
MITRE ATT&CK address the attack and risk surface, while NIST CSF 2.0, NIST SP 800-53 Rev 5 and CIS Controls v8 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST CSF 2.0 | PR.AC-4 | Access enforcement depends on complete API visibility and scope definition. |
| NIST SP 800-53 Rev 5 | SI-4 | Monitoring controls must cover undiscovered endpoints and protocol-specific surfaces. |
| CIS Controls v8 | CIS-5 , Account Management | Governance depends on knowing which services and identities own each interface. |
| MITRE ATT&CK | TA0007 , Discovery; TA0006 , Credential Access | API blind spots enable hidden discovery and abuse paths once controls miss exposed services. |
Map runtime-discovered exposure to ATT&CK discovery and credential access techniques to prioritise detection.
Key terms
- API Coverage: API coverage describes how much of an application’s user, entitlement, and activity data is available through programmable interfaces. In SaaS management, limited API coverage constrains automation and forces teams to use manual or hybrid controls for parts of the application estate.
- Shadow API: An API endpoint that exists in production but is not fully known, reviewed, or governed by the security programme. Shadow APIs often emerge through fast delivery, copy-paste development, or overlooked internal routes, and they create untracked exposure because they sit outside inventory, policy, and ownership processes.
- Discovery drift: Discovery drift is the gap that opens when live infrastructure, asset records, and ownership data move out of sync. It creates uncertainty about what exists, who owns it, and which controls apply, which in turn weakens zero trust enforcement and lifecycle governance.
- Log Inventory: A log inventory is a structured catalog of log sources, their owners, ingestion methods, formats, and supporting documentation. It tells a team what data exists, where it comes from, and how it is parsed. For AI workflows, it provides the context needed to avoid guessing about fields or coverage.
What's in the full article
LEVO's full analysis covers the operational detail this post intentionally leaves for the source:
- How API detection, inventory, and monitoring are chained together in a practical enforcement model.
- Which protocol-specific surfaces, including GraphQL and gRPC, create the hardest discovery gaps.
- How runtime observation changes WAF scope assignment across internal, partner, and externally reachable APIs.
- Why continuous validation is needed to keep enforcement aligned with live traffic as systems change.
Deepen your knowledge
The NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, machine identity security, and secrets management. It helps security practitioners build the control discipline needed for inventory, ownership, and lifecycle governance across modern environments.
Published by the NHIMG editorial team on September 3, 2026.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org