Join our Newsletter — 33% off our NHI Course
Home› Guides› D3-DI Data Inventory: Recording Where Your Data Lives…
Guide Data Security

D3-DI Data Inventory: Recording Where Your Data Lives and Keeping It Current

PDF for newsletter subscribers · free to read online

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

You cannot protect, monitor or report a breach of data you do not know you hold, and most organisations hold far more copies of sensitive data, in more places, than their records show. MITRE D3FEND names the countermeasure Data Inventory (D3-DI) and defines it as identifying and recording "the schemas, formats, volumes, and locations of data stored and used on the organization's architecture." It sits under the Model tactic as a child of Asset Inventory (D3-AI), alongside Asset Vulnerability Enumeration, Configuration Inventory, Hardware Component Inventory, Network Node Inventory and Software Inventory. This page explains what a data inventory should record, how discovery tooling and owner input combine, how to keep the inventory current and how it feeds detection, hardening and privacy obligations. It is written for data security leads, security architects and privacy teams, and goes deeper than the Data Classification Guide on the inventory itself.

Key takeaways

  • Four attributes define the record. D3FEND names schemas, formats, volumes and locations; add classification, owner and the identities with access, and the inventory becomes usable for security decisions.
  • Databases and document files are the artefacts. D3FEND models D3-DI as inventorying Database and Document File, which covers structured stores, file shares, mailboxes, code repositories and credential stores.
  • Discovery tools find, owners explain. Scanners locate stores and detect sensitive data types; only owners can say why the data is there, how long it must be kept and who may use it.
  • Freshness is the hard part. Profiles must rerun when schemas or contents change, and new stores must be picked up automatically, or the inventory decays within months.
  • Access belongs in the record. Recording which service accounts, workload identities and AI agents can read each store turns the data inventory into a map of non-human identity blast radius.

D3-DI at a glance

AttributeValue
D3FEND IDD3-DI (d3f:DataInventory)
TacticModel
Parent techniqueAsset Inventory (D3-AI)
Synonyms in D3FENDData Discovery, Data Inventorying
Digital artefactsDatabase and Document File (D3FEND relation: inventories)
D3FEND referencePatent US11240273B2, "Data processing and scanning systems for generating and populating a data inventory" (OneTrust LLC)
ATT&CK relationsInferred only, through the Database and Document File artefacts (D3FEND 1.6.0, checked November 2026)
EffortMedium for cloud stores with native discovery; high for on-premises file shares and legacy databases

What a data inventory records

D3FEND's reference patent describes generating a data model for the data assets an organisation uses and mapping relationships between them, where a data asset is any system that collects, processes, contains or transfers personal data. Security use needs the same structure, extended beyond personal data. The fields below are an NHI Mgmt Group suggestion built on the four D3FEND attributes.

FieldD3FEND attributeExampleSecurity use
LocationLocationsCloud account and bucket, database instance, file share path, SaaS tenant, regionScope for monitoring, residency and incident response
Schema and data typesSchemasTable and column names; detected types such as payment card numbers or national identifiersClassification and DLP rules
FormatFormatsRelational table, Parquet, CSV export, Office documents, backupsWhich inspection tools can read it
VolumeVolumesRow count, object count, size; growth rateBreach impact estimates; anomaly baselines
Classification(addition)Public, Internal, Confidential, RestrictedHandling and control requirements
Owner and purpose(addition)Business owner, processing purposeAccountability; retention and deletion decisions
Identities with access(addition)Groups, service accounts, workload identities, AI agentsLeast privilege reviews and blast radius analysis
Retention and copies(addition)Retention period, backups, replicas, analytics copiesFinding stale and duplicate data to delete

Building it: discovery plus ownership

Discovery tools answer where data is and what it looks like. Major cloud platforms document native discovery services; examples, listed alphabetically, show the common pattern.

  • Amazon Macie (AWS): automated sensitive data discovery evaluates the Amazon S3 bucket inventory on an ongoing basis, uses sampling to select representative objects, and as the analysis progresses each day produces sensitive data findings, statistics and inventory data, an S3 buckets map and sensitivity scores per bucket. By default it covers all S3 general purpose buckets, and buckets such as logging stores can be excluded.
  • Google Cloud Sensitive Data Protection: the discovery service (data profiler) creates profiles for BigQuery, Cloud SQL, Cloud Storage, Vertex AI training data and, through connectors, Amazon S3 and Azure Blob Storage. Profiles record predicted infoTypes, sensitivity and data risk levels; by default a resource is reprofiled 30 days after its last profile if relevant changes occurred, with daily, weekly or monthly schedules available.
  • Microsoft Purview Data Map: captures technical metadata (schemas, data types, columns) through scanning, business metadata such as glossary terms, semantic metadata such as classifications, and lineage between assets, across on-premises, multicloud and SaaS sources. Incremental scans process only objects changed since the previous scan.

Data security posture management and data classification products extend the same approach across providers; the Data Security Posture Management (DSPM) guide covers that category. Ownership, purpose and retention cannot be scanned: they come from owners, from records of processing and from the data classification process.

Implementation steps

  1. Agree the record and the classification scheme. Fix the fields above and the classification levels before scanning, so findings land in a consistent structure. A Data Classification Policy Template is a practical start.
  2. Enumerate stores from the asset inventory. Pull databases, storage accounts, buckets, file servers and SaaS tenants from the CMDB and cloud account inventories. Stores not in the asset inventory are the first finding.
  3. Run discovery in report-only mode. Enable native or third-party scanning on a pilot set of accounts, exclude logging and backup stores where cost demands, and review findings with owners before any automated remediation.
  4. Assign owners and confirm purpose. Every store with Confidential or Restricted data gets a named owner, a purpose and a retention period. Stores nobody claims are candidates for archive or deletion through change control.
  5. Attach access. Record which human groups and which non-human identities can read and write each sensitive store, from cloud IAM policies, database grants and share permissions.
  6. Automate freshness. Schedule reprofiling, alert on new stores created without tags, and feed new stores to the scanner automatically from account creation pipelines.
  7. Roll back safely. Scanning reads data and uses compute and quota; if a scan affects a production database, pause it, scope it to replicas or snapshots, and reschedule outside peak hours.

Where identity fits

Data inventories traditionally record human access groups. The identities that actually touch most data stores are non-human: ETL service accounts, application database logins, backup agents, analytics workloads and, increasingly, AI agents and retrieval pipelines with read access to document stores. Recording them per store answers the question an incident responder asks first when a credential leaks: what could this identity read. The NHI Discovery Across Cloud, SaaS, CI/CD and On-Premises Environments guide covers building the identity side of that join.

ATT&CK techniques D3FEND relates to D3-DI

Relationship type: inferred only. D3FEND lists no direct ATT&CK mapping for D3-DI. Its knowledge base infers relations through the Database and Document File artefacts and their sub-types (D3FEND treats the Windows Registry and password databases as databases, and email and Office files as documents), and labels them "inferred and experimental" (D3FEND 1.6.0, checked November 2026). Each ID below was checked against ATT&CK v20.

ATT&CK tactic (v20)Techniques D3FEND relatesPractical relevance to a data inventory
CollectionT1114.001 Local Email Collection; T1213.003 Code RepositoriesMailbox archives and code repositories are data stores; inventory them with their sensitive content
Credential AccessT1003.002 Security Account Manager; T1003.004 LSA Secrets; T1003.008 /etc/passwd and /etc/shadow; T1555.001 Keychain; T1555.002 Securityd Memory; T1555.003 Credentials from Web Browsers; T1552.002 Credentials in RegistryCredential stores are databases in D3FEND terms; an inventory that flags stores holding credentials points hardening at them
Initial AccessT1566.001 Spearphishing Attachment; T1566.002 Spearphishing LinkWeak: relation via document files, not via inventory practice
Persistence and Privilege EscalationT1137.003 Outlook Forms; T1137.006 Add-ins; T1543.003 Windows Service; T1546.012 Image File Execution Options Injection; T1546.015 Component Object Model Hijacking; T1548.004 Elevated Execution with PromptWeak: relation via registry and Office files
Defense Impairment and StealthT1112 Modify Registry; T1207 Rogue Domain Controller; T1218.005 Mshta; T1218.014 MMC; T1564.003 Hidden Window; T1564.005 Hidden File System; T1564.007 VBA StompingWeak: relation via registry and document artefacts
DiscoveryT1012 Query Registry; T1614.001 System Language DiscoveryWeak: relation via the registry artefact

Read these rows as artefact overlap, not coverage. A data inventory does not detect any of these techniques. Its realistic contribution is the Collection and Credential Access rows: knowing where sensitive data and credential stores sit, so monitoring and hardening are aimed at them. For the most relevant technique, see the T1114 Email Collection Defensive Guide.

How it feeds other countermeasures

  • Data loss prevention and egress monitoring: classification and location tell DLP which stores and paths matter.
  • Access reviews: per-store identity lists focus entitlement reviews on stores holding Restricted data.
  • Data flow modelling: the inventory supplies the data types each flow carries in D3-DEM Data Exchange Mapping.
  • Breach response: volumes and data types answer how many records and which categories were exposed, which drives notification decisions. See the Data Breach Notification Checklist.
  • Privacy records: GDPR Article 30(1) requires records of processing that include the categories of data subjects and personal data, recipients, transfers to third countries, envisaged erasure time limits where possible, and a general description of security measures where possible. A data inventory is the evidence base for those records.

How to verify it works

MetricExample target (NHI Mgmt Group suggestion, not a standard)What it shows
Data stores in the asset inventory covered by discoveryAbove 95% of cloud stores; rising for on-premisesCoverage
Stores holding Confidential or Restricted data with a named owner100%Accountability
Median age of the latest profile for sensitive storesWithin the agreed reprofiling periodFreshness
New stores discovered without tags or ownerFalling quarter on quarterProvisioning controls are working
Sensitive stores with a complete list of non-human identities with accessRising quarter on quarterIdentity linkage

A simple test: seed a test bucket or share with synthetic sensitive records (generated values, never real data), and confirm the store appears in the inventory with the right classification within the expected scan cycle.

Limits and failure patterns

  • Scanning only the cloud: native services make cloud discovery easy, so file servers, endpoints, backups and SaaS exports are left out, and those are often where old bulk exports sit.
  • Sampling treated as complete: sampled discovery estimates sensitivity per store; it does not prove that an unflagged object is clean. Use full scans for high-risk stores.
  • Classification without owners: a store flagged as sensitive but owned by nobody cannot be remediated, retained correctly or deleted.
  • Copies outside the inventory: analytics extracts, test environments seeded from production and AI retrieval indexes hold copies of sensitive data under different names. Track derived copies back to their source.
  • Credential stores missed: configuration files, CI variables and repositories hold secrets as well as data; D3FEND's own artefact relations include credential stores, and leaving them out of the inventory leaves them out of hardening.
  • Scanner identity over-privileged: the discovery service account can read every sensitive store by design. Protect it like a privileged identity, monitor its use and restrict who can change scan scope.

Framework mapping

FrameworkReferenceRelevance
NIST CSF 2.0ID.AM-07"Inventories of data and corresponding metadata for designated data types are maintained"
NIST CSF 2.0ID.AM-08Systems, hardware, software, services and data are managed throughout their life cycles
NIST SP 800-53 Rev 5CM-12 Information LocationIdentify and document where information is processed and stored, who has access, and changes to location
NIST SP 800-53 Rev 5PM-5(1) Inventory of Personally Identifiable InformationInventory of systems, applications and projects that process PII
CIS Controls v8.1Safeguard 3.2 Establish and Maintain a Data InventoryData inventory based on the data management process
ISO/IEC 27001:2022 Annex AA.5.9 Inventory of information and other associated assets; A.5.12 Classification of informationInventory and classification controls
GDPRArticle 30 Records of processing activitiesRecords that a data inventory supports
MITRE D3FENDD3-AI, D3-DIParent and technique
  • Asset Inventory (D3-AI): the parent. See the MITRE D3FEND Asset Inventory Implementation Guide.
  • Configuration Inventory (D3-CI) and Software Inventory (D3-SWI): sibling inventories that record how the systems holding data are configured and what runs on them.
  • Data Exchange Mapping (D3-DEM): models where data moves once you know where it lives.

Practitioner checklist

  • Define the inventory record with location, schema, format, volume, classification, owner, access and retention.
  • Start from the asset inventory and treat stores missing from it as findings.
  • Enable native discovery on every cloud account and set a reprofiling schedule.
  • Extend discovery to file servers, backups, mailboxes, code repositories and SaaS exports.
  • Give every sensitive store a named owner, a purpose and a retention period.
  • Record the non-human identities and AI agents with access to each sensitive store.
  • Protect and monitor the discovery service identity as a privileged account.
  • Test detection quarterly with synthetic sensitive data and record the result.

Standards and references

Related NHI Mgmt Group resources: Data Classification Guide · Data Mapping and ROPA Guide · Data Security Posture Management (DSPM) · Asset Inventory and CMDB Security Guide · MITRE D3FEND Guide

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 12 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.