# Identity lifecycle

The riskiest identities are often ones nobody is looking after: a leaver whose
account is still on, a service account left running after its project ended, a
privileged account with no owner. Lifecycle gives each identity a clear state so
these cases stand out, instead of hiding among accounts that are simply quiet.

Mesh shows where each identity is in its life: being set up, in use, switched off,
or gone. This page describes the states, how they are set, and the lifecycle risk
signals.

## States

| State | Meaning |
|---|---|
| **Provisioning** | Set up but not yet in use, such as an HR pre-hire. |
| **Active** | In use or usable. |
| **Disabled** | Switched off at the source, or employment ended. |
| **Suspended** | Temporarily inactive and expected back, such as leave. |
| **Locked** | Locked by the source, for example a lockout. It may unlock without anyone deciding. |
| **Pending deletion** | Scheduled for removal at the source. |
| **Deleted** | Removed at the source. |
| **Indeterminate** | No source reports a state. Mesh does not treat this as **Active**. |

A source's own status maps to these: active, stale and dormant read as **Active**;
disabled, terminated and deceased as **Disabled**; pending as **Provisioning**;
on leave and suspended as **Suspended**. By default, an account is stale after 90 days without
sign-in and dormant after 365 days, and both still read as **Active**.

A sign-in does not revive an identity that a source or HR system has switched off.
It updates the last sign-in time only. The last sign-in time never moves backwards.

## People and non-human identities

A person's state combines their accounts, and the most active account wins. A
non-human identity shows a state only when its source reports one, otherwise
**Indeterminate**. History is not available for non-human identities.

## Lifecycle view

The **Lifecycle** view in the [identity dossier](../user-guide/identity-dossier.md)
and on non-human identity details shows tiles for **Open**, **Stale**, **Cannot evaluate**, **Not
applicable (kept)** and **Hard alert**, and sections for **Accounts**, **Owners**
and history (**Timeline**, **Usage** and **Leaver links**). A lifecycle risk list
covers **People** and **Non-human identities**.

![The Lifecycle view of an identity, with tiles for open, stale, cannot evaluate, not applicable and hard alert findings, and the signals below them](/img/concepts/identity-lifecycle/lifecycle-view.png)

## Signals

All signals are off by default and do nothing until turned on.

| Signal | What it flags |
|---|---|
| **Unowned but privileged** | A privileged identity with no owner. A hard alert. |
| **Zombie privilege** | Privilege held by an identity that is switched off. |
| **Shadow persistence** | Access that outlives the identity it belonged to. |
| **Leaver deprovisioning** | A leaver whose accounts are still active. |
| **Orphan score** | How likely an identity has no active owner, for people and for non-human identities, shown as N / 100. |
| **Unused account**, **Dormant privilege**, **Activity flatline** | Accounts and privileges with little or no recent use. |
| **Credential rotation** | Credentials not rotated on schedule. |
| **Orphan status**, **Attestation debt** | Ownerless identities and overdue reviews. |

A finding can read **Stale · not current**, **Cannot evaluate** or **Not
applicable (kept)**.

## Limits

Hire and termination dates from Workday and TriNet appear in the profile but do not
drive lifecycle signals.
