When a shared service fails or is compromised, the first question is what else breaks, and most organisations answer it from memory. D3-SVCDM Service Dependency Mapping is the MITRE D3FEND technique that replaces memory with a model: D3FEND defines it as determining "the services on which each given service relies." It sits in the Model tactic under System Mapping, maps the Service Dependency artefact, and lists Distributed Tracing as a synonym. This page sets out what D3FEND expects from the technique, how to type and verify dependencies, how the map feeds supply chain and incident decisions, and where the data sources mislead. It is written for architects, SRE and platform teams and the security staff who use their maps. For the full discovery method and blast radius analysis, see the Service Dependency Mapping for Security guide.
Key takeaways
- D3FEND frames it as architecture work. The knowledge base describes collecting and modelling architectural information about services and their consumers, then mapping the dependencies between them.
- Observed is not the same as intended. D3FEND's first consideration is that design artefacts and subject matter experts may be needed to decide whether a dependency is intended or essential.
- Critical services come first. D3FEND says dependencies of systems supporting critical activities should be prioritised for supply chain risk analysis.
- Tracing finds the call graph, not the whole map. Distributed tracing discovers dependencies in cloud and microservice estates, but only where services are instrumented, and infrastructure services such as DNS and directory lookups rarely appear.
- No ATT&CK mapping exists. D3FEND lists no offensive technique relations for D3-SVCDM; its value is in the Detect, Isolate and Restore work that the map makes possible.
D3-SVCDM at a glance
| Field | D3-SVCDM Service Dependency Mapping |
|---|---|
| D3FEND ID | D3-SVCDM |
| Tactic | Model |
| Parent technique | System Mapping (siblings: System Dependency Mapping, Data Exchange Mapping, System Vulnerability Assessment) |
| Digital artefact | Maps Service Dependency: D3FEND defines it as a service having an activity, agent or another service which relies on it in order to be functional |
| Synonym | Distributed Tracing |
| D3FEND references | IBM Tivoli Application Dependency Discovery Manager 7.3.0 (dependencies between resources); OMG Unified Architecture Framework (UAF); Catia UAF plugin |
| ATT&CK relations | None listed by D3FEND (checked November 2026) |
| Typical output | Typed, directed graph of provider and consumer services with owner, criticality, evidence source and last-confirmed date |
What the model should contain
A dependency is directional: a consumer relies on a provider. The D3FEND reference from IBM's dependency discovery documentation is a useful vocabulary for typing edges, because each type needs different evidence and has different failure consequences.
| Dependency type (IBM TADDM terms) | Example | Why the type matters for security |
|---|---|---|
| Transactional | An application server opening a JDBC connection to a database | Carries data and usually a credential; the provider is the server, the consumer is the client issuing requests |
| Service (infrastructure) | Name resolution through DNS, directory lookups through LDAP, file shares over NFS | Shared by almost everything, so a single failure or compromise has the widest reach |
| IP | Two hosts known to communicate when the specific application cannot be identified | A placeholder edge: it needs follow-up before it supports decisions |
| System | An application server and the computer system hosting it | Links the service map to asset and vulnerability data |
| Application to application | One business application relying on another | The level that business impact and recovery plans use |
For each edge, record at least (our recommendation): consumer, provider, type, protocol or interface, the identity the consumer uses to call the provider, evidence source (trace, flow, configuration, interview), whether the owner confirmed it as intended and essential, and the date. Architecture frameworks give a formal home for this: the OMG Unified Architecture Framework, version 1.3 published April 2026, includes a Services viewpoint and aligns with ISO/IEC/IEEE 42010.
Where identity fits
Almost every service-to-service edge is authenticated by a non-human identity: a service account, an API key, an OAuth client or a workload identity. Recording that identity on the edge is what turns a dependency map into a credential blast radius map, and it shows which secrets must be rotated when a provider is compromised. See the Service Account Inventory Template and the Workload Identity Federation Guide.
Discovery methods compared
| Method | Strength | Blind spot |
|---|---|---|
| Distributed tracing (OpenTelemetry, W3C Trace Context) | Observed request paths across services, linked by trace and parent span identifiers | Uninstrumented services, batch jobs, infrastructure lookups; sampling can hide rare but critical calls |
| Dependency discovery tools | Connection and configuration data from hosts, typed into dependency classes | Needs privileged discovery credentials; may only resolve to host level (the IP type above) |
| Network flows and service mesh telemetry | Complete record of who talked to whom | No business meaning; shared ports and proxies merge services |
| Configuration and infrastructure as code | Declared intent, including failover targets used only in emergencies | Declared is not observed; stale entries persist |
| Architecture models and owner review | Intended and essential status, people and supplier dependencies | Memory and optimism; needs observed data to challenge it |
OpenTelemetry describes a trace as a set of spans sharing a trace ID and forming a hierarchy through parent IDs, with spans that can come from different processes, services and data centres. Following parent and child spans across service boundaries is what yields the observed call graph. The context travels in the W3C Trace Context headers traceparent and tracestate (W3C Recommendation, Trace Context Level 1).
How to build it
- Pick the critical services. Start with the services that support critical activities, as D3FEND advises, using the business impact analysis ranking. See the Business Impact Analysis Template.
- Collect observed edges. Combine traces, flows and discovery output for those services, keyed by stable service names that match the CMDB and the asset inventory.
- Type and direct every edge. Classify each as transactional, infrastructure service, host or application level, with consumer and provider clearly set.
- Review with owners and architects. Mark each edge intended and essential, intended but optional, or unexpected. Unexpected edges go to security triage, not straight into the map.
- Attach identities and suppliers. Record the calling identity per edge and flag providers operated by third parties for supply chain review.
- Compute shared fate. Count how many critical services depend, directly or through other services, on each provider. The top of that list is where hardening and monitoring go first.
- Keep it current. Refresh observed edges on a schedule, require dependency updates in change and release processes, and alert when a critical service gains a new provider.
Pilot on one business service end to end before scaling, and keep the first version read-only: the map informs decisions while the team learns how far observed data and owner beliefs differ.
What the map feeds
- Supply chain risk: providers run by suppliers become the input to criticality analysis. NIST IR 8179 describes a structured method for prioritising programmes, systems and components by their importance and the impact of their loss. See the Cloud Concentration Risk and Exit Strategy Guide.
- Detection: a confirmed dependency baseline lets the SOC treat a new caller of a sensitive provider as an anomaly worth review.
- Isolation and containment: responders can see what breaks if a provider is cut off, and choose between isolating it and rotating the credentials on its inbound edges.
- Recovery: restore order follows the dependency graph: providers before consumers.
- System level siblings: service edges sit on top of host and system relations; see D3-SYSDM System Dependency Mapping and D3-DEM Data Exchange Mapping.
How to verify it works
- Failure tabletop: pick a provider, predict the affected services from the map, then compare with the last real outage or a controlled test.
- Trace comparison: compare a week of observed edges with the confirmed map; every new edge is either a missing entry or an unexpected caller.
- Credential walk: for one provider, list the identities on its inbound edges and confirm each exists and has an owner in the NHI inventory. See NHI Inventory Reconciliation.
| Metric (example measures, not a standard) | What it shows |
|---|---|
| Share of critical services with an owner-confirmed dependency map | Coverage where it matters |
| Observed edges not in the confirmed map, and their age | Drift and unexpected callers |
| Share of edges with a recorded calling identity | Readiness for credential-based containment |
| Share of critical services instrumented for tracing | Reach of automated discovery |
| Outage or incident impacts the map failed to predict | Real-world accuracy |
Common failure patterns
- Trace graph taken as the whole truth: infrastructure dependencies such as DNS, directory and certificate services seldom appear as spans, yet they have the widest blast radius.
- Sampling hides rare paths: failover, month-end and break-glass calls run rarely and may never be sampled.
- No owner review: without the intended and essential test D3FEND calls for, an attacker's new connection is recorded as a normal dependency.
- Trace headers crossing trust boundaries: W3C Trace Context warns that propagated context can correlate requests and reveal the caller's monitoring tooling, and that honouring the sampled flag from untrusted callers can be abused. Restart traces at trust boundaries and keep sensitive data out of
tracestate. - Over-privileged discovery: dependency discovery that logs into every host needs credentials as powerful as an administrator's; scope them tightly and store them in a secrets manager.
- Map without identities: when a provider is breached, a map that lists services but not the credentials between them cannot tell responders what to rotate.
Framework mapping
| Framework | Reference | Relationship to D3-SVCDM |
|---|---|---|
| NIST CSF 2.0 | ID.AM-02 | Inventories of software, services and systems are maintained |
| NIST CSF 2.0 | ID.AM-04 | Inventories of services provided by suppliers are maintained |
| NIST CSF 2.0 | GV.SC-04 | Suppliers are known and prioritised by criticality |
| NIST SP 800-53 Rev 5 | RA-9 Criticality Analysis | Identifying critical components, which needs the dependency graph |
| NIST SP 800-53 Rev 5 | CP-2(8) Identify Critical Assets | Contingency planning for the assets that critical functions rely on |
| NIST SP 800-53 Rev 5 | SA-9 External System Services | Provider services run by third parties |
Practitioner checklist
- Rank services by business impact and map the critical ones first.
- Combine traces, flows, discovery and configuration; never rely on one source.
- Type and direct every edge, using a fixed vocabulary.
- Have owners confirm each edge as intended and essential, and send unexpected edges to security triage.
- Record the calling non-human identity on every edge.
- Flag supplier-operated providers for criticality and supply chain review.
- Restart trace context at trust boundaries and keep sensitive data out of trace headers.
- Test the map against outages and tabletop exercises at least once a year (example cadence).
Standards and references
- MITRE D3FEND: Service Dependency Mapping (D3-SVCDM)
- IBM: TADDM 7.3.0 Dependencies between resources
- OMG: Unified Architecture Framework (UAF)
- W3C: Trace Context Level 1
- OpenTelemetry: Traces
- NIST: IR 8179 Criticality Analysis Process Model
- NIST: Cybersecurity Framework 2.0
Related NHI Mgmt Group resources: D3FEND System Mapping Implementation Guide · Service Dependency Mapping for Security · D3-SYSDM System Dependency Mapping · Asset Inventory and CMDB Security Guide · MITRE D3FEND Guide