Subscribe to the Non-Human & AI Identity Journal

What is the difference between activity metrics and risk metrics in IAM?

Activity metrics show how much governance work happened, such as reviews completed or policies enforced. Risk metrics show what exposure remains, such as identities without owners, stale credentials, or privileged access that is no longer justified. For NHI programmes, risk metrics are more useful because they describe the attack surface, not the workload.

Why This Matters for Security Teams

Activity metrics and risk metrics answer different operational questions, and confusing them can hide real exposure. Activity metrics are useful for proving governance effort, such as how many access reviews were completed or how many policy exceptions were processed. Risk metrics show whether access is actually safer, which is why they matter more for NHI programmes and privileged automation. That distinction aligns with the risk-based orientation in NIST Cybersecurity Framework 2.0 and the exposure patterns documented in Top 10 NHI Issues.

For example, a team can complete every scheduled review and still leave behind stale secrets, ownerless service accounts, or privileged workload identities that no longer match any approved purpose. Activity metrics make that programme look healthy because the work was done. Risk metrics reveal whether the attack surface actually shrank. That is the more useful signal for auditors, incident responders, and identity leaders who need to understand whether access can be abused, not just whether a process ran.

In practice, many security teams discover the gap only after a compromised credential or unowned NHI has already been used for lateral movement, rather than through intentional measurement design.

How It Works in Practice

Activity metrics usually measure throughput and compliance: reviews completed, remediations assigned, policies enforced, credentials rotated, or tickets closed. Those are process measures. Risk metrics measure residual exposure: the number of NHIs without owners, dormant tokens, long-lived secrets, privileged roles with no recent use, and access paths that violate least privilege. In other words, activity metrics tell you what the team did; risk metrics tell you what remains dangerous.

For NHI governance, the best practice is to tie every activity metric to a risk reduction hypothesis. If a quarterly review completed 100 percent of accounts, the next question is whether orphaned identities dropped, whether JIT credentials replaced static tokens, and whether privilege was reduced. That is consistent with the control logic described in OWASP NHI Top 10 and the baseline identity guidance in Ultimate Guide to NHIs — Key Challenges and Risks.

  • Use activity metrics for operational management, such as review completion rate and mean time to remediate.
  • Use risk metrics for security decisions, such as unowned identities, stale secrets, and unjustified privilege.
  • Prefer metrics that show trend and exposure, not just volume, because volume can rise while risk stays flat.
  • Where possible, measure by identity class, environment, and privilege tier so hidden concentration risk is visible.

Modern guidance increasingly favours short-lived credentials and workload identity signals over static secrets, which is why a useful risk metric is not “how many tokens were issued” but “how many long-lived credentials still exist.” That approach is reinforced by the identity maturity findings in the Ultimate Guide to NHIs — Why NHI Security Matters Now and by the broader governance emphasis in the NIST Cybersecurity Framework 2.0.

These controls tend to break down in hybrid and multi-cloud environments because identity data is fragmented, ownership metadata is inconsistent, and secrets often live outside the systems that generate the reports.

Common Variations and Edge Cases

Tighter risk measurement often increases instrumentation overhead, requiring organisations to balance better exposure visibility against data quality, integration cost, and reporting complexity.

There is no universal standard for this yet. Some teams use a blended scorecard that includes both activity and risk metrics, but the risk side should still dominate if the goal is security improvement. In lower-maturity environments, activity metrics can be a starting point because they are easier to collect, but they should not be mistaken for evidence of reduced exposure.

A common edge case is executive reporting. Leaders may want simple counts because they are easy to consume, yet counts alone can be misleading. A team can rotate secrets every week and still have excessive privilege if the identity model is wrong. Another edge case is agentic or automated workloads, where the meaningful risk signal may be runtime behaviour rather than static entitlement alone. In those cases, use access intent, credential TTL, and privilege path analysis rather than only review completion rates.

The practical rule is simple: if the metric does not help answer “what can still be abused,” it is an activity metric, not a risk metric. That distinction is what keeps reporting from becoming theatre and makes Azure Key Vault privilege escalation exposure the kind of issue that gets measured before it becomes an incident.

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 address the attack and risk surface, while NIST CSF 2.0 and NIST AI RMF set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
OWASP Non-Human Identity Top 10 NHI-03 Addresses stale secrets and excessive NHI exposure, the core risk-metric concern.
NIST CSF 2.0 ID.AM-1 Asset understanding is required before activity metrics can be translated into risk metrics.
NIST AI RMF Risk-oriented measurement is essential for governing autonomous or AI-driven identity use.

Maintain a current identity inventory so metrics reflect actual exposure, not just completed tasks.