Join our Newsletter — 33% off our NHI Course
Home› Guides› API Gateway Audit Checklist: 12 Health Check Metrics…
Template Web & API Security

API Gateway Audit Checklist: 12 Health Check Metrics with Thresholds

← All guides
By NHI Mgmt Group, edited by Lalit Choda Updated 13 November 2026 12 min read
On this page

An API gateway enforces only what it is configured to enforce on the routes it actually fronts, and both drift: new routes go live without authentication or rate limits, old versions keep serving traffic after their retirement date and client keys outlive the integrations that needed them. This health check is a recurring, measurable review of a live API gateway, whether deployed as a managed cloud service, a self-hosted gateway or an ingress layer in front of microservices. It turns the questions an API platform lead or auditor would ask into twelve metrics with formulas, thresholds and evidence, so each quarter can be compared with the last. It is written for API platform owners, application security leads, internal audit and the CISO's office.

This page measures; it does not explain how to configure the gateway. For authentication patterns, token validation and rate limit design, read the API Gateway Security Guide; for the gateway's own admin roles, keys and logs, use Securing the API gateway itself; return to them for every finding this review raises.

What this health check covers

The review covers every gateway instance and environment that serves production traffic, the routes and API versions it publishes, the clients and credentials registered on it, the policies attached to each route and the logs it produces. Backend services are in scope only where the check asks whether traffic reaches them through the gateway.

  • Who runs it: the API platform owner collects the figures; the application security lead reviews them; API product owners accept findings for their routes; the CISO or delegate signs off red items.
  • How it differs from the security guide: the guide sets targets such as zero unauthenticated routes. This check gives each target a formula, a data source and a threshold, adds coverage and lifecycle measures, and records the result each quarter.
  • Standards basis: the metrics track the risks in the OWASP API Security Top 10 2023 that a gateway can see, notably API2 Broken Authentication, API4 Unrestricted Resource Consumption, API8 Security Misconfiguration and API9 Improper Inventory Management, and the runtime controls in NIST SP 800-228.
  • Common search terms it answers: "API gateway audit checklist", "API security KPIs", "API inventory metrics" and "how to find deprecated API versions still in use".

Key takeaways

  • Start with the inventory. Reconcile gateway routes with the API inventory before calculating anything else; unknown routes have no owner and no review.
  • Measure what goes around the gateway. A gateway protects only the traffic that passes through it; compare edge traffic with gateway traffic every quarter.
  • Policy coverage is per route. Authentication, schema validation and rate limiting each need a coverage figure across all non-public routes.
  • Clients are non-human identities. API keys and client credentials need age, usage and ownership figures like any other machine credential.
  • Thresholds are a starting point. The green, amber and red bands are NHI Mgmt Group recommendations; agree your own and keep them stable.

How to use this template

Copy the metrics table and the findings log into your own tracker, then run this API gateway health check at the cadence set out below. Collect each figure from the data sources described, score it against the green, amber and red thresholds, and record every amber or red result as a finding with an owner and a due date. Keep each completed review so you can compare results quarter on quarter: the trend matters as much as any single score.

Cadence and sign-off

ReviewFrequencyOwnerApproverEvidence kept
New route policy checkOn every release (automated in the deployment pipeline)API platform ownerApplication security leadPipeline policy check results per route
Client and key reviewMonthlyAPI platform ownerAPI product ownersClient and key export (metadata only), age, last use, owner
Full metrics review (this page)QuarterlyAPI platform ownerCISO or delegateMetrics table with figures, raw exports, findings log
Version retirement reviewQuarterlyAPI product ownersHead of engineeringDeprecated versions, retirement dates, remaining traffic by client
Independent sample testAnnuallyInternal audit or second line riskAudit committeeSample of routes re-tested for authentication, rate limits and logging
Event-driven reviewAfter a gateway migration, major upgrade or API incidentApplication security leadCISO or delegateBefore and after figures for metrics 01 to 05

Fix one measurement date per quarter and take every figure as at that date. Gateway administrators should not be the only people signing off figures about the gateway's own coverage; this follows the separation of duties principle in NIST SP 800-53 Rev. 5 AC-5.

Metrics

NHI Mgmt Group recommended thresholds; adjust to your risk appetite. The formulas are recommended methods too: record the numerator, denominator and data source once and reuse them every quarter. "Route" means a published method and path (or operation) on a production gateway; "public route" means one on the documented list of endpoints approved to run without authentication.

IDMetricFormulaData source typeGreenAmberRed
API-01Route inventory reconciliationProduction gateway routes matched to an API inventory entry with a named owner ÷ all production gateway routesGateway configuration export, API inventory or catalogue98% or more90% to below 98%Below 90%
API-02Gateway traffic coverageExternal API requests that passed through the gateway ÷ external API requests seen at the edge load balancer, CDN or firewall for API hostnamesGateway access logs compared with edge or load balancer logs99% or more95% to below 99%Below 95%
API-03Authentication coverageNon-public routes with an authentication policy attached and enforcing ÷ all non-public routesGateway configuration export (policies per route)100%None (no amber band)Below 100%
API-04Token validation completenessRoutes accepting tokens that check signature, issuer, audience and expiry ÷ routes accepting tokensGateway authentication policy configuration100%95% to below 100% with exception recordBelow 95%
API-05Rate limit and quota coverageRoutes with a per-client rate limit or quota ÷ all routes (public and non-public)Gateway policy configuration, usage plan export95% or more80% to below 95%Below 80%
API-06Request schema validation enforcedRoutes validating requests against the published specification in blocking mode ÷ routes with a published specificationGateway validation policy configuration, API specification repository80% or more50% to below 80%Below 50%
API-07Deprecated versions still servingCount of API versions past their published retirement date that received any production request in the last 30 days; report requests and clients per versionGateway access logs grouped by version, API inventory lifecycle field01 to 2 with an agreed client migration dateAny without a migration date
API-08Client credential ageActive API keys and client secrets older than the rotation period in your standard ÷ all active API keys and client secretsGateway or authorisation server client and key export (metadata only)Below 5%5% to 20%Above 20%
API-09Dormant clientsRegistered clients or keys with no request in 90 days that are still enabled ÷ all enabled clientsClient export joined to gateway access logs by client identifierBelow 5%5% to 15%Above 15%
API-10Encrypted backend connectionsRoutes whose gateway to backend connection uses TLS with certificate validation (or mutual TLS where required) ÷ all routesGateway upstream or backend configuration100%95% to below 100% inside one trust zone, with exceptionBelow 95%
API-11Request log completenessProduction requests logged with client identifier, route, status code and policy decision, and received in the SIEM within 15 minutes ÷ production requestsGateway access logs, SIEM ingestion metrics99.5% or more98% to below 99.5%Below 98%, or any gap over 24 hours
API-12Gateway software currencyGateway nodes, plugins and policy extensions with no security update outstanding for more than 30 days ÷ all components (for managed services, count customer-managed plugins and self-hosted data plane nodes)Gateway version inventory, security advisory feed100%95% to below 100%Below 95%, or any component with a known exploited vulnerability

Report the absolute count beside every percentage. A single red item on a route that handles personal or payment data makes the line red whatever the percentage says.

Self-protection figures for the gateway itself (number of administrators, signing key rotation, approval on configuration changes) sit in Securing the API gateway itself. Add them to this scorecard as a single line, "Gateway self-protection", rated by the worst of those figures, rather than repeating them here.

How to collect the data

Export raw rows rather than dashboard percentages, keep the exports with the findings log and record the query used, so the next quarter is calculated the same way.

  1. Freeze the date: agree the measurement date and export the gateway configuration from every production environment within one working day of it. If configuration is held as code, use the deployed commit, not the main branch.
  2. Reconcile the inventory first: match each route to the API inventory or catalogue and list unmatched routes and inventory entries with no live route. NIST SP 800-228 and OWASP API9 both treat inventory as the foundation; see OWASP API Top 10 API9 Improper Inventory Management Guide.
  3. Compare edge and gateway traffic: take a week of edge load balancer, CDN or firewall logs for API hostnames and compare request counts and paths with the gateway access logs. Paths that appear only at the edge reach a backend without the gateway.
  4. Read policies per route: from the configuration export, list for each route the authentication policy, token checks, rate limit or quota, schema validation mode and backend TLS setting. API-03 to API-06 and API-10 come from this one extract.
  5. Export clients and keys: client identifier, owner, created date, last rotated date and enabled flag; never export key values. Join to access logs to find clients with no requests in 90 days. See How to audit API gateway keys and usage plans.
  6. Group traffic by version: group 30 days of access logs by API version and client, and compare with retirement dates in the inventory for API-07.
  7. Check logging: sample 100 requests and confirm each log record carries client, route, status and decision; pull hourly ingestion figures from the SIEM.
  8. Sample the reds: for every red metric, test five to ten routes or clients directly in a non-production copy or with an authorised test client to confirm the figure is real.

Red flags that need action now

  • Any non-public production route with no authentication policy, or with authentication in a log-only mode.
  • Token validation that skips the audience or issuer check on any route accepting tokens from more than one issuer.
  • Backend paths reachable from the internet without passing through the gateway.
  • A deprecated API version still serving production traffic with no owner or migration date.
  • Any route that returns personal data with no per-client rate limit, the pattern behind bulk scraping of records (OWASP API4 and API6).
  • Enabled API keys whose owning team or partner has left, or keys older than one year on routes with write access.
  • A gap of more than 24 hours in gateway logs reaching the SIEM, or access logs missing the client identifier.
  • Unexpected configuration or policy changes on production routes outside a release. Treat them as a possible compromise and check the gateway's own controls in Securing the API gateway itself.

Findings log

Keep one running log across quarters so repeat findings are visible. Escalate a finding that stays red for two consecutive quarters to the CISO, and one that repeats three times to the risk register.

IDFindingMetricSeverityOwnerDue dateStatus
HC-API-01[n] production routes not in the API inventoryAPI-01[Red / Amber][API platform owner][Date][Open / In progress / Closed]
HC-API-02[n] non-public routes without enforcing authenticationAPI-03[Severity][API product owner][Date][Status]
HC-API-03Version [v] past retirement serving [n] clientsAPI-07[Severity][API product owner][Date][Status]
HC-API-04[n] enabled clients with no requests in 90 daysAPI-09[Severity][API platform owner][Date][Status]
HC-API-05[Finding][Metric ID][Severity][Owner][Date][Status]

Remediation map

Finding typeWhere to fix it
Unauthenticated routes, incomplete token validationAPI Gateway Security Guide: authentication patterns and token validation settings
Missing rate limits and quotasRate Limiting and API Abuse Guide
Routes outside the inventory, deprecated versions still liveOWASP API Top 10 API9 Improper Inventory Management Guide
Traffic reaching backends around the gateway, unencrypted backend hopsAPI Gateway Security Guide: what a gateway should enforce; mTLS Guide
Old, dormant or ownerless API keys and clientsAPI Key Management Guide
Schema validation not enforced, misconfigurationOWASP API Top 10 API8 Security Misconfiguration Guide
Gateway admin, signing keys and configuration integritySecuring the API gateway itself
Incomplete logsSecure Logging Vocabulary and Application Security Events Guide

References

Related NHI Mgmt Group resources: API Gateway Security Guide, API Security Guide, API Key Management Guide, Rate Limiting and API Abuse Guide.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Researched and written by the NHI Mgmt Group editorial team using AI tools, under the editorial direction of Lalit Choda. Facts are drawn from the sources listed on this page and checked by our automated quality process. Last updated 13 November 2026. Spotted an error? Use our contact page.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM and Agentic AI security. nhimg.org