> ## Documentation Index
> Fetch the complete documentation index at: https://docs.oleria.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Disable NHI

> Find NHIs matching your criteria and route each one to its owner for review, so someone decides whether it should stay active or be disabled.

The **NHI review** workflow - listed as **Disable NHI** in Workflow templates - finds NHIs matching the criteria you set and routes each one to its owner for review, so someone decides whether it should stay active or be disabled. If the owner can't be found, the review routes to an alternate reviewer instead.

> [!NOTE]
>
> Owners are maintained in Oleria. Configure [NHI ownership assignment](https://docs.oleria.com/posture/nhi-ownership-assignment-overview.md) first, so ownership - and therefore who gets notified - stays accurate.

> [!NOTE]
>
> This workflow template must be enabled for your workspace - contact [support@oleria.com](mailto:support@oleria.com) if you don't see **Disable NHI** in Workflow templates.

## How this workflow is built

**1. Trigger**

Set a schedule for the workflow to run - daily, weekly, or monthly. A weekly schedule also sets the day of the week, and a monthly schedule sets the day of the month to **First Day**, **15th**, or **Last Day**. The schedule runs in your local time zone, shown next to the time field - there's no separate time zone picker. By default, the workflow runs monthly, on **First Day**, at 09:00.

**2. Filter Records**

Select NHI types to review - **Service Account**, **Service Principal**, **Application**, **API Only User**, **Autolaunched Flow**, **Connected App**, **Connected App (Managed)**, **External Client App**, or **Exchange Resource**, choosing more than one if you want - then scope the review across all application instances or select specific ones. You can add further filters: **Credential Type**, **Dormant Days**, and **Privilege** - this is the complete set of additional filters for this step. Where the **Disable NHI** button is available for your workspace on [NHI inventory](https://docs.oleria.com/posture/nhi-inventory-overview.md), launching the workflow from it skips this step - it's scoped to the NHIs you had selected in the table (up to 100), not your filters. By default it also skips the review itself: Oleria disables the selection right away, with no approval step. Checking **Get approval to disable NHIs** in that button's confirmation dialog sends each NHI to its owner for a decision instead, the same owner review this workflow runs on a schedule.

**3. Assign reviewers**

The NHI's owner is automatically the primary reviewer, and can't be overridden. Optionally, set an alternate reviewer to fall back to if the owner can't be found. You can also set a reviewer for specific application instances - that override takes priority over the alternate reviewer for those instances, not over the owner. If an NHI has no owner and no alternate or application-instance reviewer is configured, it isn't reviewed at all.

**4. Remediation**

Choose what happens if a review isn't completed by its expiration date (7-90 days, 30 by default): **Disable NHIs**, the pre-selected default, disables the NHI's active access automatically while preserving its record and audit trail, or **Do not take any action** leaves access as-is and just logs the decision. A reviewer can also choose **Disable** or **Ignore** when they complete the review.

> [!NOTE]
>
> Remediation requires write access to be enabled for the relevant connected integrations, configured under **Workspace** -> **Integrations**.

**5. Send Notifications**

Notify the assigned reviewer - for example, by email and Slack.

## Reviewing runs

Select the workflow's **Runs** tab to see its execution history - when it ran, which NHIs it found, and each reviewer's decision. See [Workflow templates](https://docs.oleria.com/posture/workflows-overview.md#workflow-templates) for how to start one from scratch.

## Contact us

For questions, contact us at [support@oleria.com](mailto:support@oleria.com).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.