What can be asked for
GET /nhi/api/v1/remediation/summary returns proposableKinds, the kinds this deployment accepts. As shipped it is ["quarantine_identity"]. A finding’s recommended action can still name any of the nine kinds: it says what to do, not what NHI Security will do.
A refused proposal answers 422 with the reason and a sentence saying where to make the change, and writes a remediation.proposed audit record with result failure, naming the kind and the reason. No action row is created, so there is nothing to approve or cancel.
Changed on 2026-10-29. Before this release the five provider-facing kinds could be proposed and approved and then stopped at
no_executor_for_provider for ever, and assign_owner, create_ticket and notify_owner could be “executed” to succeeded with the note “Recorded in this platform” while nothing happened. Proposals of those kinds are now refused at the door. An action of one of the three that was proposed before the upgrade stays where it is: executing it is refused with not_implemented, and it is never reported as done. See the upgrade notes.The lifecycle
proposed → awaiting_approval → approved → executing → succeeded or failed, with rejected (a reviewer said no), cancelled (the requester withdrew it), dry_run_complete and rolled_back (a reversible action undone after success). Nothing leaves a terminal state; re-proposing creates a new action with its own approval.
Proposing takes
kind, targetKind (identity or credential), the matching targetIdentityId or targetCredentialId, and optionally the findingId it answers and a justification. Deciding takes {"approve": true} or false, an optional note, and (for a provider-facing action) the connectorId that would carry it out. Approval never executes anything: execution is its own, separately permissioned call.
Like every NHI Security route except the gate, these take your TRUSTIVAN session in the console rather than a bearer token.
Separation of duties
The person who proposed an action cannot approve it. That is refused in the domain, in the repository and by a database constraint, and there is no setting that relaxes it.Execution is off by default
REMEDIATION_EXECUTION_ENABLED (default false, in every deployment) is the operator’s switch for provider-facing execution. It does not gate quarantine_identity, which never reaches a provider and is the containment step that must always work. With no provider executor shipped, the switch has nothing to turn on today: the provider-facing kinds are refused at proposal whatever it says. GET /nhi/api/v1/remediation/summary reports executionEnabled beside proposableKinds.
What is recorded
Every step (proposed, refused at proposal, approved, rejected, dry-run, executed, failed, cancelled, rolled back) writes an audit record with the acting person, the action and its outcome, on NHI Security’s hash-chained audit trail. Read a remediation’s history atGET /nhi/api/v1/audit/records?subjectType=remediation_action; the digests that make the chain verifiable come with an evidence export from GET /nhi/api/v1/audit/evidence. A failed execution is recorded as failed with what was reached; no separate alert is raised. See Governance and audit.