A command did not run. Either Valakes put a card in front of it, or a command from an agent is waiting for your answer.
- Read the risk card, titled “High risk”. It gives the reason and, for deletes, a count of what would be affected, such as “Blast radius: 3 files”. Check the command and the host it will run on.
- If you did not mean it, press Cancel. Cancel has the focus, so pressing Enter does not run the command. Change the command in the composer.
- If you meant it on a host that is not production, press Run anyway. It is ready at once.
- On a production host the card has the red PROD badge, and Run anyway stays disabled until you type the host name.
- A command rated Medium is raised to High on a production host, so a command that ran on a staging host can stop on a production one. A paste of more than one line on a production host is shown as numbered lines, and nothing is sent until you confirm.
- If an agent sent the command, it waits in the approval queue of the Agents panel with the exact command, the host and the directory. Choose Approve, Deny or Take over. An agent never gets Run anyway. If you do not answer, the request expires after the approval timeout in Settings, Agent API.
- To change how often Valakes asks, open Settings, Command check, and choose Off, Dangerous only (the default) or Explain all. Command check on this host in the host editor does the same for one host, and Don’t ask on this host on the card turns the card off for that host after a native confirmation. Off and Don’t ask switch the check off by your choice.
Why this happens
The command check reads the line you typed before it runs and stops the ones that can do real damage, such as rm -rf. It is mistake prevention for you and no defence against a compromised window, which is why the Command check page lists what it sees and what it does not.