Join our Newsletter — 33% off our NHI Course

What is the difference between a graph data model and a traditional table-based view for identity investigations?

A graph data model represents identities and assets as connected entities, making relationships visible across systems. A traditional table-based view lists records in rows and columns, which is useful for single-system reporting but weaker for tracing linked accounts, permissions, and dependencies. For identity investigations, graph structure makes it easier to spot orphaned access and cross-platform inconsistencies.

Why Graphs Change Identity Investigation Work

Identity investigations are often less about isolated records and more about seeing how access, privilege, and dependency connect across directories, applications, cloud accounts, and service accounts. A table-based view is still useful for reporting and audit extracts, but it tends to flatten relationships into separate rows, which makes cross-system patterns harder to follow. Graph models preserve those links so investigators can trace ownership, inheritance, and indirect access with less manual stitching.

That difference matters because identity problems are frequently relational: a permission looks harmless in one table until it is combined with a dormant account, a shared credential, or a downstream role assignment. NHIMG research notes that only 5.7% of organisations have full visibility into their service accounts, which is a strong reminder that the real challenge is often connection visibility rather than record volume. In practice, teams usually discover the missing relationship only after they have already started reconciling exports from multiple systems.

How Graphs and Tables Behave in Practice

A traditional table-based view answers questions like “what records exist?” and “what attributes does this account have?” very well. It is efficient for filtering, sorting, and producing human-readable reports. But when the investigative question becomes “how is this identity connected to that system, role, or entitlement?”, the table starts to work against the analyst because each relationship is implicit and usually spread across separate datasets. Graphs make the relationship itself first-class, so an investigator can follow an account to its group, from that group to a permission, and from that permission to the target asset.

That structural difference changes both speed and confidence. Graphs are especially valuable when the subject includes inherited access, nested groups, cross-cloud entitlements, shared service identities, or ownership ambiguity. Table views can still support the same case, but they usually require repeated joins, exports, and manual correlation. For identity work, the graph is not a replacement for every report; it is the better lens when the question is about dependency and reachability rather than a static snapshot of state. The OWASP Non-Human Identity Top 10 is useful background when those relationships involve machine identities, because it frames why hidden access paths and overprivilege become investigative problems.

  • Use tables for enumeration, reconciliation, and control reporting.
  • Use graphs for lineage, transitive access, blast-radius mapping, and anomaly hunting.
  • Use both together when you need a clean source-of-truth record plus a relationship map.

The Ultimate Guide to NHIs is a practical reference when the graph must include service accounts, API keys, tokens, and other non-human identities. These controls tend to break down when identity data is fragmented across tools and no single system preserves both ownership and relationship context.

Common Edge Cases in Identity Investigations

Tighter relationship modelling often increases data engineering overhead, so organisations have to balance investigative clarity against ingestion and normalisation cost. A graph is not automatically better if the source data is poor, stale, or missing ownership fields, because a detailed but inaccurate graph can create false confidence. Best practice is evolving toward using graphs as an investigative layer while keeping tables for authoritative reporting and exportable evidence.

There are also cases where a table remains the better starting point. If the question is limited to a single platform, a single entitlement type, or a simple audit sample, a table is faster and easier to validate. Graphs add the most value when the investigation spans multiple systems or when indirect access matters more than the raw record count. For NHI-heavy environments, this distinction becomes sharper because one identity can fan out across many workloads, secrets, and trust relationships. The NHIMG Key Research and Survey Results section is especially useful when you need to explain why visibility gaps are usually systemic rather than local.

Risk and Threat Considerations

Identity investigations become materially weaker when teams rely only on table views for environments where access is inherited, distributed, or machine-driven. The main risk is not that tables are wrong, but that they hide the path by which an identity can reach sensitive assets, especially when service accounts, API keys, or nested entitlements are involved.

Failure mechanism: row-based reporting obscures transitive relationships, so orphaned access, privilege creep, and shared identity reuse can remain undetected until a review or incident forces manual correlation. Adversaries and insiders benefit from that gap because indirect access is easier to miss than a directly assigned privilege.

Impact: investigators may underestimate blast radius, miss cross-platform privilege inheritance, or fail to identify the true owner of an exposed identity. That can delay containment, complicate revocation, and leave dormant access paths available for abuse.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10 and MITRE ATT&CK address the attack and risk surface, while CIS Controls v8 and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
OWASP Non-Human Identity Top 10 NHI-01 — Secrets and Credential Management Identity investigations often trace machine credentials and exposed access paths.
NHI-02 — Identity Inventory and Ownership Graphs improve ownership tracing and reveal orphaned non-human identities.
Recommendation — Map service-account and secret relationships to find hidden privilege paths. Build a complete NHI inventory and assign an accountable owner for each identity.
CIS Controls v8 5 — Account Management The question centers on understanding and reconciling identity records and entitlements.
6 — Access Control Management Graph-based analysis helps surface excessive or inherited access across systems.
Recommendation — Inventory accounts and entitlement relationships to support accurate investigation and review. Review effective access paths, not just assigned roles, before approving privilege changes.
MITRE ATT&CK T1078 — Valid Accounts Investigations often seek reused or abused accounts that blend into legitimate access.
Recommendation — Hunt for valid-account abuse when access persists across multiple systems or identities.
NIST CSF 2.0 ID.AM — Asset Management Identity graphs support better inventory of identities, relationships, and dependencies.
Recommendation — Maintain an accurate identity and dependency inventory to support investigation and response.

Practitioner Guidance

What to prioritise: Treat the graph as the investigative model when the question involves reachability, ownership, inheritance, or cross-system identity linkage. Keep the table view as the reporting model, but do not expect it to reveal hidden access paths without heavy manual joins.

What to verify: Confirm that every node and edge in the graph is backed by a trustworthy source, a refresh interval, and an ownership signal. If those three are missing, the graph may still be visually useful, but it is not yet reliable enough for privileged access decisions.

Practitioner takeaway: The real advantage of a graph is not prettier visualisation; it is that it turns identity relationships into evidence, which is what investigators need when access spans systems and the important question is how privilege connects, not just where it appears.