Know your endpoints
An endpoint is any device at the end of a network link where people and programs work: laptops, phones and servers. Attacks often land on endpoints, so each one needs its own protection. Here: one laptop and one phone.
You cannot protect a device you do not know about. So step one is an inventory: a list of every device, who uses it and what runs on it. Each device checks in with the security console, which keeps that list.
The check in Python
A baseline is the settings every device must have. In Python, the list CHECKS names four: updates installed, disk encrypted, a security watcher (EDR) running, and no open alert. The four boxes show our laptop: one is False.
Before the laptop reaches company data, a check runs. missing() lists every check the laptop fails. Here it returns ["patched"]: an update is missing. So allowed() returns False, the lamp shows 0 and the request is stopped.
Patching means installing the maker's fixes for known flaws. The update arrives, patched becomes True, and missing() now returns an empty list. allowed() returns True: the lamp shows 1 and the request reaches the data.
Full-disk encryption scrambles everything stored on the laptop, so it can only be read after the user signs in. If the laptop is lost or stolen, the files stay unreadable. encrypted is True, so this check passes.
When it gets in
No baseline stops everything. A harmful file arrives by email and someone opens it. They use a normal account, not an admin one, so the program cannot change the whole system. But it starts to run.
EDR, endpoint detection and response, is a watcher on the device. It notices odd behaviour, like one program changing hundreds of files in seconds, and alerts the console. The laptop's no_alert box turns False.
At the next request, missing() returns ["no_alert"], so allowed() returns False and the laptop is cut off from company data automatically. The console can also isolate it: block its network, except the console, while people investigate.
Responders remove the harmful program, or wipe and reinstall the laptop, and close the alert. Now no_alert is True, missing() is empty and allowed() returns True, so the laptop gets its access back.
Five habits: know every device, set a safe baseline, patch quickly, watch with EDR, and respond fast. A check like allowed() ties them together: a device that falls behind loses access until it is fixed.
What happens
;; step 1/11 · endpoint
endpoint a device at the end of a network link
where people and programs work
examples laptops, desktops, phones, tablets,
servers
here one laptop · one phone
why email, web pages and files all
arrive here first
Real device-management and zero trust systems check far more than four values, and get them from the device itself, signed so they cannot simply be faked. The idea is the same: decide on every request, using the device's current health. EDR is not magic: it can miss things and raise false alarms, so people review its alerts. It is one layer among several, next to patching, encryption and least privilege.