Manage machines
How to look after a machine once it exists: setting it to protected or unprotected, setting a missing OS, renaming, choosing its environment, keeping notes and its history, reinstalling to take a newer build, configuring what it watches, uninstalling es-python from the host, deleting a machine, and downloading the list.
Where the controls are
Each machine's row on the Machines page has three buttons and a menu. Install gets an install command (and is also how you reinstall), Configure opens the machine's detection settings, Notes opens its note and history, and the ⋮ button opens the actions menu with Rename, Delete and, on es-python machines, Add another Python (see Another Python on the same computer) and Uninstall.
Each row also has a Protected / Unprotected switch: see Protected and unprotected.
Install only appears when the machine can be installed: an es-python machine needs its OS set first, and a machine whose product is not enabled on your account has no Install button.
Protected and unprotected
Every machine has a switch that shows whether it is Protected or Unprotected. Protected means it runs as configured. Click it to set the machine to Unprotected: EyalSec stops watching it, and nothing it runs is billed. Click it again to protect it. The switch is on the machine's row, in the inspector on the Map, and on the Python runs page.
Unprotected, the machine's Python keeps running your programs, but nothing is checked, blocked or reported, and no run is billed. A program that is already running stops being watched within 30 seconds; anything it sends in that time is discarded. Protected again, it runs as configured from its next start or refresh, and its runs are billed from then on (see Billing).
Nothing is installed or removed on the host either way, and the machine keeps its settings, events and history. Each switch is written to the machine's history.
A machine marked Subscription ended was set to unprotected when its subscription ended, and is protected again once a subscription is paid.
A machine marked Until payment is unprotected while the account is paused or nothing pays for it yet, and Spend limit reached while the month is at your spend limit. Its switch stays as you set it, so it is protected again as soon as that is settled on the Billing page. Click the switch to see the next step.
Set the OS
An es-python machine with no operating system shows OS: not set (click to set) in amber, and has no Install button until you set one. Click the chip, pick the Distro and Arch from the lists that appear under the row (the same lists as when adding a machine), and click Save. Cancel closes the picker without changes.
EyalSec publishes a runtime matched to each distro and architecture, which is why the OS has to be known before it can install.
Once an OS is set, the chip is no longer clickable, so the Machines page cannot change it. If a machine's distro or arch does not match its host (the installer tells you, see Troubleshooting the install), add a new machine with the right values and delete the old one. You can also change it through the API: see Machines API.
Rename
Renaming changes the name a machine is shown under, everywhere in the dashboard. Open the ⋮ menu on the row, choose Rename, type the new name (up to 128 characters) and click Save or press Enter; Cancel or Escape keeps the old name.
Renaming is purely cosmetic. The machine keeps its events, settings and credential, and nothing needs to change on the host. An es-chromium browser shows the name it was installed with until it is reinstalled.
Environment
Each machine can say which environment it belongs to: Production, Staging, Test or Development. Choose it at the top of the machine's Notes panel (on the Map, in the inspector); it saves as soon as you pick it, and Not set clears it. The environment is a label for your own fleet and is separate from the machine's zone on the map. es-python --name on the host prints both (see Which machine is this?).
Notes and history
Every machine has a note and a history, so anyone looking at it later knows what it is and what was done to it. Click Notes on the row to open them under it, or click the note itself. On the Map, they are in the inspector when you select the machine.
The note is a few lines about the machine, up to 500 characters: what it runs, who owns it, anything worth knowing. Click Add note (or Edit), type, and click Save. It is shown under the machine's name on the list and under the machine on the map, and the list's filter and the map's search find machines by it.
The history lists, newest first, the comments people wrote and what happened to the machine: created, renamed, OS set, install started, installed or failed (with the error), build changed, seen on a second computer, settings changed, note changed, turned off and on, no contact and in contact again. EyalSec writes those entries itself, and when the same thing happens again within 10 minutes it updates the entry and counts the times rather than adding another.
Type a comment in the box and click Post (or press Ctrl+Enter), for example Reinstalled after the upgrade. Comments can be up to 2,000 characters. You can Edit or Delete your own comments; an edited comment says so. The entries EyalSec writes cannot be changed. The history is kept for as long as the machine exists and is deleted with it.
Reinstall and update
To move an installed es-python machine to the newest build, run es-python --update on the host. It keeps the machine's registration, settings and events, and says so if the machine is already up to date. If the update cannot finish, the previous es-python keeps working. An all-users install needs sudo, as the install did.
Reinstalling lays down a fresh copy of the product on a machine. There is no separate Reinstall button: click Install on the row, exactly as for a first install, and run the new command on the host.
Reinstall when:
- the row shows the build badge newer build available (
es-python --updateis the quick way to act on it); - you want a different OS or Python version;
- an install failed or was interrupted, and the machine shows installation error or is stuck at pending install;
- it shows ⚠ clone and you want a fresh credential.
For an es-python machine, clicking Install on an installed machine puts it back to created and issues a new command. Its name, settings and events are kept. The copy already on the host keeps working until the new install starts; from that moment the machine gets a new credential and the old one stops being accepted.
Programs that were started under the old install and are still running then show up as ⚠ old copy running. Restart them after the reinstall so they pick up the new install.
For an es-chromium machine, clicking Install simply issues a fresh install command for the same machine; see Install es-chromium.
Reinstalling never adds a machine.
Configure
Configure opens the machine's detection settings: which taint sources it watches, which rules apply to it, and what it sends with each event. Settings made here apply to this machine only; anything you leave unset follows the settings for all machines of the product.
Every taint source is off on a new machine, so this is where you switch detection on after installing. The full walkthrough is on Configure, including which scope wins and when a change reaches the machine.
Uninstall
Uninstall removes es-python from the host and the machine from your dashboard in one step. It is in the ⋮ menu of es-python machines only.
To remove es-python from the host and keep the machine and its events on the dashboard, run eyalsec uninstall on the host instead (see eyalsec uninstall).
- Choose Uninstall and confirm the warning. It says that running the command removes es-python and deletes the machine and all its events from the dashboard, and that this cannot be undone.
- An Uninstall EyalSec panel shows a one-line command. Click Copy.
- Run the command in a terminal on the host.
The command removes every es-python runtime under ~/opt/, every es-python launcher, the eyalsec helper and the EyalSec python/python3 links from ~/.local/bin/, the ~/.eyalsec/ directory, and the # es-python PATH lines the installer added to your shell's startup files. When it runs, the server deletes the machine and all of its events.
For a machine installed for all users, the command shown ends in | sudo bash: run as root, it also removes the all-users copy (see Uninstalling). Run without sudo, it removes only your user's copy and prints the commands to remove the all-users copy. The token works once and the machine is deleted when the command runs, so for an all-users machine run it with sudo the first time.
Nothing happens until the command is run on the host: if you never run it, the machine and its events stay. The command's token works once and expires after 10 minutes; choose Uninstall again for a new one.
es-chromium machines have no Uninstall item. Remove the browser from the PC yourself (see es-chromium status), then delete the machine.
Delete
Delete removes a machine from your account with all of its events and its Python runs, the counts behind that page included. Open the ⋮ menu, choose Delete (shown in red) and confirm the warning: "Delete machine "name"? This will also permanently delete all events from this machine. This cannot be undone."
Delete is permanent and there is no undo. The machine's billing stops at once.
Delete does not touch the host. Whatever is installed there keeps running, but its credential no longer belongs to any machine, so nothing it detects is recorded. To remove es-python from the host as well, use Uninstall instead of Delete.
Download the list
Download list (CSV), above the machine list, saves every machine on your account as a spreadsheet: its name, product, status, OS, builds, install mode, when it was added, installed and last in contact, its events in the last 24 hours, any install error and its note. It covers every machine, whatever the filters above the list show. A machine's secret is never in the file. To get JSON instead, or to fetch the file from a script, see Download the machine list.