Fix approval
The RCA’s suggested steps never run by themselves. To run them, someone prepares a fix plan. An administrator who did not prepare or edit it approves it under a change ticket. AVACOM then runs the commands in order and records every result. Everything happens on the incident’s Root cause tab, under Fix plan.

rm step was left to a person.The steps
Section titled “The steps”-
Prepare. Under the RCA, press Prepare fix. The plan lists the RCA’s steps in order, with status waiting for approval. Preparing needs the
execute:workflowspermission. -
Adjust, if needed. While the plan waits for approval, press Change on a step to edit its command or its host, then Save. Leave the command empty to make it a step for a person. A changed step is marked changed; hover to see what the AI suggested. Each change is recorded with who made it.
-
Approve or reject. An administrator reads the plan, enters the Change ticket the work falls under (optional; up to 100 letters, digits and
. _ / -, starting with a letter or digit) and a Comment, then presses Approve and run or Reject. The ticket is recorded with the approval. The note above the buttons says how many commands will run and who may not approve:Approving runs 1 command exactly as shown, in order, on the hosts shown; the run waits at each step for a person and stops at the first command that fails. Someone other than the preparer and editors must approve.
-
Follow the run. The plan refreshes by itself. Commands run one after the other. At a step for a person the run waits: whoever did it enters What was done (optional) and presses Mark done, continue. The run stops at the first command that fails, and the later steps do not run.
-
Stop, if needed. While a run is under way, an administrator can press Stop the fix.
Four eyes
Section titled “Four eyes”The approver must be someone other than the person who prepared the plan and anyone who changed a step. AVACOM refuses an approval from them with “Someone who neither prepared the fix nor changed its steps must approve it.”
The approval also names the version of the plan the approver saw. If someone changed a step after the approver loaded the page, the approval is refused (“The steps changed since you loaded them…”) and the approver must look again. What is approved is exactly what was shown.
Which steps run, and which wait for a person
Section titled “Which steps run, and which wait for a person”A step runs as a command only when all of these hold:
- it has a command and a host;
- an SSH provider for that host has Allow approved fixes turned on (see Hosts for approved fixes);
- the command is one simple command. AVACOM does not run commands that chain, pipe, redirect or substitute
(
; & | < > $`\), and it does not run programs that can delete data, stop machines, change accounts or fetch code. Examples arerm,dd,mkfs,shutdown,kill,useradd,iptables,curl,ssh,bashorpython. It also refusessystemctlother than start, restart, reload, status, is-active, is-failed, show or list-units,find -delete, a recursivechmodorchown, and SQL that drops, deletes, alters or grants.
Every other step is for a person: hover over the badge to see why. The plan shows each step’s host and how it runs, for example db-core-01 · SSH (db-core-01 as fixer@db-core-01.bank.local), or simulated (nothing runs).
Commands run with a time limit of five minutes each. Their exit code and output (up to 8,000 characters) are stored on the step.
Status
Section titled “Status”| Plan status | Meaning |
|---|---|
| waiting for approval | Prepared; steps can still be changed |
| approved, starting | Approved; the run is about to start |
| running | A command is running |
| waiting for a person | The run waits at a step for a person |
| done | Every step finished |
| stopped: a step failed | A command failed; the later steps did not run |
| rejected | An administrator rejected it |
| stopped by an administrator | Someone pressed Stop the fix |
If nothing has happened for a while, the plan warns “Nothing has happened for a while: the run may have been interrupted”. Check the hosts, then stop the fix and prepare a new one.
The record
Section titled “The record”Every decision and step goes to the incident’s Activity tab. When the MSN provider has an audit key, each one
also goes to MSN, in the avacom-changes stream, and a command runs only after MSN has received its “started”
event. Without an audit key, the plan says “The audit trail is only the incident activity: give the MSN provider an
audit key to record fixes in MSN.” See MSN as a source.
Simulated runs
Section titled “Simulated runs”On a demo server with dummy data, AVACOM_FIX_SIMULATE=true pretends to run commands on hosts that have no SSH
provider. The plan then says Simulated: nothing runs on any host, and results are not real. Production refuses
to start with this setting.
Who can do what
Section titled “Who can do what”| Action | Permission | Roles |
|---|---|---|
| See the plan | read:incident |
admin, NOC |
| Prepare, change a step, mark a step done | execute:workflows |
admin, NOC, workflowrunner |
| Approve, reject, stop | execute:fixes |
admin only |
See Roles.