AI Fix Plans
A fix plan is a short list of fixes for one problem, on named computers. Each line is a fix from the list built into xAssets. A plan never holds script text. Nothing in a plan runs until a person submits it and the approvers sign every line.
A plan is about one subject: a service desk ticket, a security finding, a drift finding or a compliance control.
Fixes a Plan Can Use
| Fix | Read back with |
|---|---|
| Start a service, by name | Service Status must show it running |
| Restart a service, by name | Service Status must show it running |
| Update the antivirus signatures | The run's result |
| Run a quick antivirus scan | The run's result |
| Install the Windows updates waiting for the computer, with no restart | The run's result |
| Restart the computer, after a 5 minute warning to the person using it | Last Restart must be after the run |
| Set a hardening setting to its secure value | The run's result |
A plan holds up to 6 lines and up to 25 computers. A line never stops or restarts protected security software.
None of these fixes is undone by xAssets. A service can be stopped again by hand. A hardening setting is left at its secure value, because the old value would lower security. One update can be removed with Uninstall an Update.
Fix Plans on a Ticket
On a ticket, Fix Plan asks the AI for a plan. The button is shown only when the AI is available.
- Open the ticket and select Fix Plan.
- xAssets first checks the ticket's computers. When it has no readings from the last 60 minutes, it starts the device checks and says "Checking the device first. The plan is proposed when the readings are in." The page asks again by itself when they are in.
- The AI reads the ticket and the readings. It picks fixes from the list above for the ticket's computers. xAssets rebuilds and checks every line. A line that fails a check is kept as refused, with its reason, and is never sent.
- The ticket gets a post, "Fix plan 1 drafted by AI". It holds the plan in plain words and the AI's reasons, marked as the AI's.
- The Fix Plan window shows the plan. Under Lines to keep, clear a line to leave it out. Under Computers, select the computers it runs on. Only the ticket's computers with an agent online are offered.
- Under Then, choose Submit for approval, Save changes only or Discard the plan, then confirm the window.
A change to the lines or the computers makes a new version of the plan. The approvers sign exactly the version that is sent.
When the AI finds nothing it can fix, the post says why. The problem may need a person, or a part of the computer may be broken.
Select Fix Plan again at any time to see where the plan has got to.
Approval and the Run
Submit for approval runs Run AI Fix Plan on Endpoints with the plan and its computers. Submitting needs the Endpoint.Operate permission. The plan makes the run High, so it waits for the approvers. This holds even when every line is a Routine fix.
Each approver sees the plan in plain words on their own computer and signs every line of it. See Approvers and the Keyring. The AI never submits, approves or runs a plan.
Each computer checks the script before it runs anything. It refuses the script in these cases:
- A line is not a line of the signed plan, or the lines are in a different order.
- The script has any other line, or a code block.
- The run goes to a computer the plan does not name.
- A hardening value is not on the setting's secure side.
- A line touches protected security software.
The server makes the same checks first. It does not ask the approvers to sign a plan that a computer would refuse.
Read-Back
After the run, xAssets reads each computer back and judges each line from the reading. The AI takes no part in this. After a restart, xAssets waits 10 minutes before it reads the computer back.
| Status | Meaning |
|---|---|
| Draft | Proposed. Nothing has run |
| Submitted | Waiting for the approvers |
| Running | Approved and sent |
| Verifying | Run. xAssets is reading the computers back |
| Verified | Every line on every computer is as the plan wanted |
| Partly verified | Some lines are as the plan wanted |
| Not verified | No line is shown to have worked |
| Denied | An approver denied it. Nothing ran |
| Expired | The approval request ran out of time, or the plan was not sent within 24 hours. Nothing ran |
| Not sent | It could not be sent. Nothing ran |
Each step is a post on the ticket: submitted, approved and sent, then the result with the readings.
Plans Drafted by Themselves
The scheduled service desk job drafts some plans without being asked. The Fix plans drafted by themselves: ticket, drift, compliance, finding (comma separated) or none setting (DMPCFixPlanAutoDraft) lists the subjects. It is in the Endpoint class of Admin > Settings. The default is ticket,drift,compliance.
| Subject | How the plan is drafted |
|---|---|
ticket |
The AI drafts a plan when a ticket's automatic device checks come in |
drift |
A Baseline drift finding, or a baseline check that found a setting changed. No AI. Each setting still not as the baseline wants is set to the baseline's value |
compliance |
A compliance control whose evidence is hardening settings. No AI. The plan covers the computers where one of its settings differs from their baseline |
finding |
The AI drafts a plan from the finding's text. Not in the default |
Drift and compliance plans only tighten a computer. The server checks that every value is on the secure side, and every computer checks again. A setting a standing approval has already put back is left out of the plan.
xAssets drafts at most 20 plans an hour by itself. A drafted plan is still a Draft. A person submits it and the approvers sign it, as for a ticket. Drift and finding plans run only on the finding's computer, and only when it has a Windows agent.
For a finding outside the default, a person with Endpoint.Operate can ask the AI for a plan through the xAssets API (FixPlanPropose). Each step of a plan for a finding or a compliance control is kept in the computer's endpoint events.