Subscribe to the Non-Human & AI Identity Journal
Home Glossary Governance, Ownership & Risk Attempted versus executed calls
Governance, Ownership & Risk

Attempted versus executed calls

← Back to Glossary
By NHI Mgmt Group Updated June 27, 2026 Domain: Governance, Ownership & Risk

A logging distinction that separates what an agent tried to do from what actually ran. Attempted calls reveal intent, pressure, and blocked misuse, while executed calls reveal realized impact and compliance exposure. Together they form the control effectiveness signal for runtime governance.

Expanded Definition

Attempted versus executed calls is a runtime governance distinction that records both the intent of an agent and the effect that actually reached a target service. In NHI operations, an attempted call may be blocked by policy, denied by policy enforcement, or redirected for inspection, while an executed call changes state, consumes privileges, or creates an audit trail. The distinction matters because a single execution log can hide repeated probing, failed tool selection, or policy friction that still signals risk. NHI Management Group treats this as a control-effectiveness signal, not just a logging preference, because it shows whether guardrails are stopping misuse before impact. The concept aligns with the broader monitoring and detection emphasis in the NIST Cybersecurity Framework 2.0, where organisations need visibility into events that reveal both attempted compromise and successful action. The most common misapplication is to count only executed calls, which occurs when telemetry is collected after authorization decisions instead of before them.

Examples and Use Cases

Implementing attempted-versus-executed tracking rigorously often introduces more telemetry volume and correlation work, requiring organisations to weigh better control validation against higher storage and analysis cost.

  • An AI agent attempts to read a production secret from a vault, but policy blocks the request and only the attempted call is logged. That record shows pressure against the control plane even though no secret was returned.
  • A service account tries three tool invocations with malformed parameters before one succeeds. The failed attempts can indicate prompt injection, schema confusion, or misconfigured orchestration.
  • An agent requests access to a database endpoint, receives denial, then later succeeds after a just-in-time approval. Comparing the attempt and the execution clarifies whether the approval path behaved as intended.
  • During a review of service-account activity, defenders compare blocked calls with executed calls to spot overbroad permissions and repeated access probes, using guidance from the Ultimate Guide to NHIs and NIST Cybersecurity Framework 2.0.
  • An agent submits a request to rotate a key, but only the approval and execution events together prove whether the rotation really happened.

Why It Matters in NHI Security

Without this distinction, teams can mistake blocked abuse for successful control and overlook the pathways that are still being tested. That creates false confidence in policy enforcement, especially where agents have broad tool access, weak segregation of duties, or inconsistent logging across APIs and vaults. It also obscures the difference between noisy automation and genuine compromise, making incident response slower and less precise. The risk is material in environments where NHIs already outnumber human identities by 25x to 50x, and where only 5.7% of organisations report full visibility into their service accounts, according to the Ultimate Guide to NHIs. For governance, the security question is not just what executed, but what was tried, blocked, retried, and eventually allowed. This is where runtime evidence, incident review, and least-privilege tuning intersect with the NIST Cybersecurity Framework 2.0 and identity-centered controls. Organisations typically encounter the importance of this distinction only after a blocked agent action becomes the precursor to a later successful abuse, at which point attempted versus executed calls becomes operationally unavoidable to address.

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 Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10NHI-03Runtime logging must distinguish blocked attempts from successful NHI actions.
NIST CSF 2.0DE.CMContinuous monitoring depends on visibility into both attempted and successful events.
NIST Zero Trust (SP 800-207)PAPolicy enforcement must be observable to prove zero trust decisions are working.

Log attempted and executed NHI calls separately to validate policy enforcement and spot misuse early.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on June 27, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org