Running an approved operation
Running an approved operation
Declare an operation on the agent, allowlist it, request it and get it approved.
DevOps & SRE Intelligence add-on, $149 a month plus $5 per connected server; part of the 7-day free trial Open in TR-AI5 min
- 1Declare it on the serverAdd TR_OP_RESTART_NGINX="cmd:sudo systemctl restart nginx" to the agent’s environment and restart the agent. Only the name reaches TR-AI.
- 2Allowlist itOperations → Allowlist: choose the server and the declared name, the level, how to verify it (e.g. Service status must show “active (running)”) and an optional rollback.
- 3Request itRequest an operation, with the reason. The policy decision is recorded on the request; a blocked request never runs.
- 4Approve itSomeone else with the approval permission for that environment approves it. The agent runs it on its next round.
- 5Check the resultSucceeded means exit code 0; verified means the check confirmed it. If verification fails, the rollback is requested for approval.
Tips & tricks
- Use Emergency stop to pause every operation at once.
- Names like DELETE_…, DROP_…, TERMINATE_… or DISABLE_FIREWALL are refused: Level 4 operations are never run.