Approval Chains
An approval chain lists the signatures an action needs, one step at a time. Each step is signed by a different signer. Every signer signs the same action, for the same computers, in the same time window. Each computer reads the chains from the approvers' keyring and checks every signature before it runs anything.
Steps
| Step | Signed by |
|---|---|
| Any approver | Any person with an approver PC |
| Named person | That person, from their own approver PC |
| Group | Anyone in that user group who has an approver PC |
| AI worker | An AI worker's own key, held on the application server |
One signer fills one step. A person with two approver PCs still counts once.
Wipes and bulk destructive actions
A wipe needs 2 different people by default. So does any destructive action sent to more than 10 computers. This applies even when the People who approve a destructive action setting (DMPCApproveDestructiveCount) is 1.
- People who must approve a wipe or a bulk destructive action (
DMPCApproveBulkPeople): default 2, from 1 to 5. Set 1 to remove this rule. - A destructive action sent to more endpoints than this needs two people to approve it (
DMPCApproveBulkCount): default 10, from 1 to 25.
A team with one approver cannot wipe a computer or send a destructive action to more than 10 computers. Add a second approver, or set DMPCApproveBulkPeople to 1.
Wipe Endpoints resets a Windows computer that has the agent, through the Windows remote wipe. Keep User Data Yes keeps the user's files. The computer checks every signature itself. It refuses to wipe a server or a domain controller. It reports that the wipe has started before the reset removes the agent. A wipe cannot be undone. Mac and Linux computers refuse a wipe.
An Intune-managed computer with no agent is wiped through Intune. The application server checks the same signatures, including the 2 people, before it asks Intune.
Chain rules
Go to Endpoints Setup and open the Approval Chains tab. The grid shows each rule with its steps in order. You need endpoint administration rights to change them.
Select New Chain Rule and fill in:
- Name: what the approvers see, such as "Wipe".
- Applies To: Destructive actions, or High and Destructive actions.
- Only These Actions: endpoint commands separated by commas, such as
wipeoruninstall. Leave it blank for every action of that kind. The rule always applies to an action that runs a script in a Code block, because the script can do what any command does. - Only Above This Many Computers: 0 for any number.
- On: Off keeps the rule without using it.
Select Add Chain Step for each step, in order, and pick the rule. In Signed By, choose who signs it:
- A person or any approver: type the Person Login, or leave it blank for any approver.
- Anyone in a user group: choose the User Group.
- An AI worker: type the AI Worker Login.
Signatures above 1 needs that many different signers for the step. Name Shown to Approvers is optional.
Select Send Chains to Approvers. The approvers sign the new keyring on their PCs.
Change Chain Rule, Remove Chain Step and Remove Chain Rule change an existing rule. A rule can have at most 10 steps, and there can be at most 50 rules.
Every rule that applies to an action must be complete.
AI workers as signers
An AI worker signs only its own AI steps. It never counts as a person. It cannot fill a person or group step, sign a keyring change or approve a library script.
Go to Endpoints Setup and open the AI Workers tab. The grid shows each AI worker's key, its limits and its remit.
Select Add AI Worker and type the AI Worker Login. The login must not be an approver, must not be in the ADMIN user group and must not be your own. The key has three limits:
- Highest Tier It Signs: High or Destructive. Default High.
- Most Computers: in one action, from 1 to 500. Default 25.
- Signatures a Day: in 24 hours, from 1 to 200. Default 20.
AI Worker Limits changes them. A change to the tier or the most computers goes to the approvers to sign. A lower limit applies on the server at once.
AI Worker Remit sets what the worker may sign. The server checks it before it signs anything, and the change applies at once:
- What It Is For: a note shown in the grid.
- Only These Actions: endpoint commands separated by commas. The worker signs only actions made of these commands. Add
codeto let it sign an action that runs a script in a Code block. Leave it blank for any action its chain steps allow. - Hours: server time as from-to in whole hours, such as
8-18.22-6runs past midnight. Leave it blank for any time. - Paused: Yes - signs nothing stops the worker signing until you set it back to No. The key is kept.
A refused signature names the reason, such as "this AI worker is paused" or "it is outside this AI worker's hours".
The application server holds the key. The AI worker's login calls the API command ApprovalChainSign with a request id. ApprovalChainPending lists the requests it may sign. The server signs only inside the key's limits and remit, and only for a request still waiting in its window. A rule that applies must have an AI step for that worker. An AI worker cannot sign a request it made.
Adding the worker proposes a new keyring and shows two digits. The approvers type them when they sign the keyring that adds the key. Until they sign it, the worker's signature counts on no computer.
Revoke AI Worker stops the server signing with the key at once and deletes the key. It also proposes a new keyring. The computers drop the key when the approvers sign it.
Changing chains
The chains and both settings above are part of the approvers' keyring. The computers use a change only after the approvers sign the next keyring. The server cannot change them on its own. Each change shows in the keyring history and in the alert to every approver.
Approving
The request shows on each approver's PC as any other approval. The browser message names the chain: "Approval chain: Wipe: Approver one, then someone in Security, then AI worker Wipe checker". The action is sent when the last step is signed. Until then it waits, and the server records which steps are still empty.