Join our Newsletter — 33% off our NHI Course
Home› Guides› Service Dependency Mapping for Security: Finding Hidden Blast…
Guide Resilience & Recovery

Service Dependency Mapping for Security: Finding Hidden Blast Radius Through Shared Identities and Platforms

PDF for newsletter subscribers · free to read online

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

The services that can take everything down at once are rarely on the dependency diagram: the identity provider, DNS, the secrets manager, the CI/CD platform, the certificate authority and the logging pipeline. Business continuity maps tend to stop at applications, servers and suppliers. Security incidents, though, spread along shared identities and shared platforms, and a compromise of one of them reaches every service that trusts it. This guide shows how to build a service dependency map that includes those shared layers, how to discover dependencies from data rather than workshops, and how to use the map to size blast radius for both outages and compromises. It is for resilience leads, enterprise and security architects, and platform teams, and it goes beyond the record-keeping covered in our Asset Inventory and CMDB Security Guide.

Key takeaways

  • Map trust as well as traffic. A dependency exists when a service calls another, and also when it accepts tokens, secrets, certificates or code from it.
  • Shared platforms are the highest-fan-in nodes. Identity, DNS, secrets, CI/CD, PKI and logging usually support every important service, so they set the real blast radius.
  • Discover from data, confirm with owners. Traces, flow logs, sign-in logs and secret access logs show dependencies that workshops miss.
  • Ask two questions per node. What stops if it is unavailable, and what can an attacker reach if it is compromised; the answers differ.
  • Keep the map alive. A dependency map built once for an audit is wrong within a quarter; refresh it from the same data sources on a schedule.

What a security-grade dependency map adds

Business impact analysis and the CMDB answer "what supports this service". A security-grade map also answers "what does this service trust". The UK NCSC Cyber Assessment Framework, principle A3 Asset management, asks organisations to understand everything required to deliver and support their systems, including service dependencies, and lists dependencies between assets that are not understood as an indicator of weakness. The table shows the dependency types to capture.

Dependency typeExampleOutage effectCompromise effect
Runtime callCheckout calls the payment APICheckout fails or degradesAttacker in checkout can call payment with its identity
Authentication trustApplications accept tokens from the workforce identity providerUsers and admins cannot sign inForged or stolen tokens are accepted everywhere that trusts the issuer
Secret supplyServices read database passwords from the secrets managerServices fail on restart or rotationAll secrets readable by the compromised identity are exposed
Code and configuration supplyCI/CD deploys to production; GitOps controller applies manifestsNo deployments or fixesAttacker can ship code or configuration to every target
Name resolutionInternal and public DNSService discovery fails broadlyTraffic redirection, certificate issuance abuse
Certificate trustInternal CA issues mTLS and server certificatesExpired or unissued certificates break connectionsAttacker can impersonate any service the CA vouches for
Observability and security toolingLogging pipeline, EDR, SIEMLoss of visibilityAttacker can blind detection, or abuse agents with high privilege
Third-party SaaSSupport desk, CRM, collaborationBusiness process stopsData and integration tokens exposed

The shared platforms that set blast radius

For each shared platform, record which services depend on it, through which identity, and what that identity can do. These are the nodes most often missing from continuity plans.

  • Identity providers and directories: workforce and customer identity, Active Directory, cloud IAM. Map every application and workload that trusts each issuer, and the federation trusts between them. See the Identity Attack Paths Guide for the compromise view and Emergency Identity Operations When the Primary IdP Is Unavailable for the outage view.
  • Secrets managers and key services: map which workloads read which paths, and which pipelines can write them. See the Secrets Management Guide.
  • CI/CD and GitOps: map the deployment targets each pipeline identity can reach. The CircleCI Breach 2023 is the clearest lesson: customers were told to treat every secret stored on the platform as exposed, and those with a map of which services those secrets unlocked could rotate in order of impact instead of guessing.
  • DNS: internal resolvers, public zones and the registrar account. See the DNS Security Guide.
  • PKI: each issuing CA and the services that trust it. See the Enterprise PKI Design and CA Hierarchy Guide.
  • Logging, EDR and management agents: agents that run with high privilege on every host are themselves a shared dependency. Supplier-side concentration is covered in the Third-Party Concentration Risk Guide.

Discovering dependencies from data

Workshops find the dependencies people remember. Data finds the rest. Combine sources, then ask service owners to confirm and explain.

SourceDependencies it revealsLimits
Distributed tracing (for example the OpenTelemetry Collector service graph connector)Service-to-service, messaging and database calls as client and server edges, with request and failure countsOnly instrumented services; the connector creates virtual nodes for uninstrumented peers named in span attributes; it is marked alpha
Network flow logs and service mesh telemetryWho talks to whom, on which portsNo business meaning; noisy
Identity provider sign-in and token logsWhich applications and workloads authenticate against which issuerShows use, not the trust configuration
Secrets manager and KMS access logsWhich identities read which secrets and keysNeeds identity-to-service mapping
CI/CD configuration and deployment logsWhich pipelines deploy where, with which credentialsSpread across tools and repositories
Infrastructure as code and cloud configurationDeclared dependencies, IAM trust policies, network pathsDeclared, not observed
DNS query logsNames each host resolves, including external SaaSResolver coverage varies
Owner interviews and BIAManual workarounds, people and supplier dependencies, recovery prioritiesMemory and optimism; see the Business Impact Analysis Template

The OpenTelemetry service graph connector, for example, pairs client and server spans (and producer and consumer, and database client spans) into edges and emits metrics such as traces_service_graph_request_total and traces_service_graph_request_failed_total. That gives you an observed call graph you can join with identity and secret data.

Building the map

  1. Pick the scope: start with your five to ten most important business services, as ranked by your BIA.
  2. Define the model: nodes are services, shared platforms, identities and suppliers; edges are typed (calls, authenticates-with, reads-secret-from, deployed-by, resolves-via, trusts-CA, logs-to). A graph database or a simple edge table both work.
  3. Load observed edges from the sources above, keyed by stable identifiers (service name, workload identity, application ID).
  4. Add trust edges from configuration: identity provider application registrations, federation trusts, IAM role trust policies, CA trust stores.
  5. Confirm with owners: each service owner reviews their node, removes false edges and adds manual ones (people, suppliers, offline processes).
  6. Compute fan-in: count how many important services depend, directly or transitively, on each node. The top ten are your shared-fate list.
  7. Store and refresh: link nodes to CMDB records and refresh observed edges [monthly] (our recommendation), with owner review [twice a year].

Using the map: blast radius analysis

For each high fan-in node, answer both questions and record the result with the node.

  • Availability blast radius: which important services stop, how fast, and whether a fallback exists. Feed this into contingency planning and recovery order.
  • Compromise blast radius: which services, data and identities an attacker controlling this node could reach. For an identity provider, that is every application that accepts its tokens; for a CI/CD platform, every deployment target and every secret it holds.
  • Recovery dependencies: what you need to recover this node. A common finding is circular: the identity provider is needed to sign in to the console that restores the identity provider.
  • Response order: the map tells incident responders which credentials to rotate first after a shared platform compromise, and which services to check for misuse.

Decision guidance

FindingOptionTrade-off
One identity issuer trusted by everythingSeparate administrative identity plane, break-glass paths, tieringMore to operate; protects recovery
One CI/CD identity deploys to all environmentsPer-environment deployment identities and approval gatesMore pipeline configuration
Single secrets manager path readable by many servicesPer-service paths and policiesMigration effort per service
Recovery depends on the failed platformOut-of-band recovery access and offline runbooksMust be tested to stay valid
Small organisation, few servicesSpreadsheet edge table from IdP, secrets and CI/CD exportsManual refresh; good enough to start

Detection and measurement

  • New edges to shared platforms: a new application registered in the identity provider, a new identity reading production secrets, or a new deployment target, each without a change record.
  • Unexpected use of high fan-in identities: CI/CD or secrets manager identities used from new locations.
  • Drift between observed and recorded edges: observed dependencies not in the map are an inventory finding.

Metrics:

  • Percentage of important services with an owner-confirmed dependency map.
  • Percentage of map edges sourced from observed data rather than interviews.
  • Number of shared platforms with a documented compromise blast radius and a rotation order.
  • Number of circular recovery dependencies open.
  • Age of the oldest refresh across mapped services.

Framework mapping

ActivityNIST SP 800-53 Rev 5NIST CSF 2.0ATT&CK technique the map helps contain
Inventory of components and dependenciesCM-8ID.AM-03T1199 Trusted Relationship
Criticality and fan-in rankingRA-9, CP-2(8)ID.AM-05T1606.002 SAML Tokens
Contingency and recovery orderCP-2PR.IR-03T1484.002 Trust Modification
Supplier and SaaS dependenciesSA-9GV.SC-04T1195.002 Compromise Software Supply Chain
Risk assessment using the mapRA-3ID.AM-05T1199 Trusted Relationship

NIST IR 8179, Criticality Analysis Process Model (final, April 2018), describes a structured way to rank systems and components by importance and the harm their loss would cause, which fits the fan-in ranking step.

Common failure patterns

  • Maps that stop at the application tier: identity, DNS, secrets and CI/CD appear as "infrastructure" and are never analysed as dependencies.
  • Availability-only thinking: the map is used for disaster recovery, never to ask what a compromise would reach.
  • Workshop-only discovery: owners forget batch jobs, shared service accounts and SaaS integrations that data would show.
  • Circular recovery: the restore runbook needs the platform being restored.
  • Static diagrams: drawn once for an audit and stale within months.
  • No rotation order: after a shared platform compromise, teams rotate secrets alphabetically instead of by impact.

Practitioner checklist

  • Choose the top business services and map their runtime, trust, secret, deployment, DNS, PKI and logging dependencies.
  • Load observed edges from tracing, flow, identity, secrets and CI/CD logs.
  • Add trust edges from identity provider registrations, federation and IAM trust policies.
  • Have each service owner confirm their node and add manual dependencies.
  • Rank nodes by fan-in and name the shared-fate list.
  • Record availability and compromise blast radius, plus a credential rotation order, for each shared platform.
  • Find and break circular recovery dependencies, and test out-of-band recovery.
  • Refresh observed edges on a schedule and alert on new edges to shared platforms.

Standards and references

Related NHI Mgmt Group resources: Asset Inventory and CMDB Security Guide, Third-Party Concentration Risk Guide, Identity Attack Paths Guide, Database Links and Linked Servers.

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

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 11 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

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick the PDF box to continue.