← All lab updates
Gate rules without writing code: a form, the rule in plain words, and a trial on past traffic
A gate rule is a small program. The person who decides what agents may do is rarely the person who writes programs. The rule editor turns the rule into a form, reads every rule back in plain words, and tries a new rule on what the agents already did before it is saved.
## Why it matters
A deterministic gate is only as good as its rules, and the rules belong to whoever is responsible for the agents: a security lead, an operations lead, the owner of a process. Until now a rule of your own had to be written as policy text. That kept the people who know what should be stopped one step away from the thing that stops it.
## What it does
The rule editor is a page of its own in the console. A rule is built in three moves: when (the kind of action and a list of conditions, such as "the command runs as root", "the host is not on your list", "the amount is above your limit"), then (the gate holds the action for a person, or refuses it), and the fixed reply the agent receives. The policy text is written for you as the form changes, and stays one click away for anything the form cannot say.
Two more views sit beside the form. One reads every rule your agents are checked against in plain words, and opens it in the form as a starting point for your own. The other holds the facts about your deployment that the rules read (the hosts your agents may contact, the environment, the amount up to which an order passes), so they are set once for every agent instead of session by session.
## How it stays exact
Nothing here decides by guesswork. The form offers only the facts the gate computes about an action, so a rule built in it gives the same answer for the same action every time. Before a rule is saved it is run on the actions already in your log: you see how many would have ended differently, and which ones. A saved rule decides nothing until its owner puts it in force.
Every rule shipped with the gate opens in the form, the composite ones included: conditions in nested groups (all of these, at least one, none of these), a field compared with another field, a rule limited to one agent. A rule opened in the form and written back is the same rule, word for word in the policy the gate reads.
This update is not available.