Auto-propose¶
Auto-propose makes a Mitigations proposal for you when a host in scope becomes exposed to a known-exploited CVE that an active record covers. Nobody has to call propose. It is on by default.
The organization's mode decides what happens next, exactly as it does for a proposal someone made by hand. In audit mode the proposal is planned and nothing is applied. In approve mode it waits for an approval. In auto mode the engine approves it when its breakage is at or below max_auto_breakage, and withholds it, as for any proposal, when the record needs a reboot, or when an earlier audit found that it would keep the change until reboot or apply over something in use. See Modes.
Auto-propose never writes a record. Making a record active is a decision that belongs to whoever owns the record, and auto-propose follows that decision. A CVE that only draft records list gets no proposal.
Configuration¶
| Key | Default | Meaning |
|---|---|---|
enabled |
true |
When false, every proposal is a propose request, as before. Turning it back on starts a sweep of every active record at once. |
batch_window |
15m |
How long newly exposed hosts gather before one proposal per record version is made. <n>m or <n>h, from 1m to 24h. |
A shorter window starts protection sooner but makes more proposals to approve. A longer one makes fewer, larger proposals. Which hosts are eligible is still decided by scope in the configuration, and the canaries by rollout.
In the web app these are on the Automatic proposals card of the Mitigations page. The card says, for example, "New exposures are proposed automatically every 15 minutes; your mode (Approve) decides what happens next." Saving needs ext.conf.set.
An ai.capability of draft_and_activate needs auto-propose on: the configuration is refused otherwise, because activating a draft is what proposes it.
What triggers a proposal¶
| Trigger | trigger value |
When |
|---|---|---|
| A host becomes exposed | exposure |
The Vulnerability Reporting extension reports a new known-exploited finding for a host. The host waits for the batch window, then joins a proposal. If its finding closes first, it leaves the wait. |
| A record becomes active | activation |
A record is activated or enabled, is created active, or changes while active. Every host already exposed to the record's CVEs is read from Vulnerability Reporting, 5,000 hosts per pass, and proposed. A host that was exposed before the activation, and whose finding event still waits for its batch window, belongs to the activation too: it is activation, not exposure. A host exposed after the activation is exposure, unless it lands in the same batch as a host the activation accounts for. trigger belongs to the proposal, not to the host: one such host makes the whole proposal activation, and a pass's hosts stay one batch so its canaries are chosen across all of them. A rule that matches mitigation.proposed with trigger: exposure can therefore miss a host exposed after the activation. "The activation" is the moment the extension recorded it, seconds after the hive write, so an exposure observed in between counts as the activation's. |
| The daily sweep | reconcile |
Once a day per organization, at a time fixed per organization, every active record is swept the same way. It catches an exposure event that was lost on its way. |
Each proposal says which trigger made it. For activation it also names who activated the record (activated_by, activated_by_kind, and activated_by_ai when an AI agent did).
The sweep reads the Vulnerability Reporting extension's own per-CVE index. It never scans your fleet.
A newly exposed host is proposed about one batch window after the vulnerability scan sees it. A single late exposure with nothing else going on is picked up at the next event or at the engine's next 30-minute pass at the latest.
What a proposal looks like¶
An automatic proposal is created through the same code as a manual one. It applies the same scope from the sensor's own tags, leaves out deleted sensors and hosts that cannot run the record, and chooses canaries the same way. It differs in what it records:
| Field | Value |
|---|---|
created_by |
ext-mitigation:auto-propose |
created_by_kind |
engine |
trigger |
exposure, activation or reconcile. A propose request is request. |
auto_batch_id |
One id for all proposals made from one record version in one pass. Empty for request. |
follows |
The leader proposal's id, on a follower. Empty otherwise. |
If a pass finds no eligible host, nothing is created and no event is emitted. The hosts it left out are kept for status. If you configured notify, each automatic proposal is announced like a manual one.
Large exposures: one leader, many followers¶
One proposal holds at most 250 hosts when auto-propose makes it. A bigger batch is split into several proposals that share an auto_batch_id.
- The first one is the leader. It holds the canaries, chosen from the whole batch. Hosts with your
rollout.canary_tagare placed first. - The others are followers. Each has
follows: <leader's proposal id>and no canaries of its own. - A follower is approved like any proposal, but its hosts are tasked only once the leader's rest wave has started, which is after its canaries verified and
rollout.waitpassed. - A follower halts when its leader does:
leader_halted,leader_rejected,leader_supersededorleader_expired. - A later batch of the same record version follows the leader that is still open, so one burst that is read over several passes keeps a single set of canaries.
- A monitor rollout has no followers. Each of its proposals has its own canaries, because its promotion to enforce goes through its own canary gate.
Each proposal has its own digest and its own approval. An approval always applies to exactly what the approver saw. The web app groups the proposals of a batch ("Batch of 12 proposals, 2,950 hosts"), shows followers as waiting for the leader's canaries, and offers Approve batch, which approves each proposal in turn and stops at the first refusal.
To list one batch from the API, use proposals with auto_batch_id.
One exposure, one proposal¶
The unit is a host's row for a record. A host already in an open proposal of that record version is never proposed again. Whether a host whose earlier row ended is proposed again depends on how it ended:
| What happened to the host's row | Proposed again? |
|---|---|
| No row | Yes. It is a new exposure. |
| In a proposal that is still open or running | No. It is already in one. |
| A person rejected the proposal | No (auto_rejected). A person decided about this host and this version. |
| The proposal expired unanswered | No (auto_expired). Otherwise every window would ask again forever. A person can propose it again. |
| A person removed the mitigation | No (auto_removed_manually). |
| Removed because the host was patched, and then exposed again | Yes. A downgrade or a new package is a new exposure. |
| The record was deactivated or deleted, and is active again | Yes. |
| The sensor was deleted and restored | Yes. |
The mitigation reached its expires_after |
No (auto_expired_mitigation). The author's chosen lifetime is the intent. |
| The rollout halted for the host, it failed, it cannot run the record, or the record was not applicable or the thing was in use | No (auto_halted, auto_failed, unsupported_on_host, not_applicable, skipped_in_use). The engine does not loop on a refusal from a host. |
| The record changed | Yes, for the new version. A new version is a new decision. |
A propose request can propose any of these hosts again.
One record per CVE per host¶
When several active records list a CVE that a host is exposed to, auto-propose proposes one of them for that host, chosen the same way every time:
- The lowest
breakage:low, thenmedium, thenhigh. - Then the narrowest change: the action with the fewest values written in its
args. Each string, number or boolean counts as one, every element of a list counts, and keys do not. Amodule_blockof one module is 1, the same with twoalsomodules is 3, and asysctl_setis 2. - Then the record id, so the choice never flips.
The other records are left out for that host with the reason covered_by_other_record, and status names the covering records in covered_by.
- A record that cannot serve the host leaves it to the next record: it is for another platform, the host is out of scope, this version answered
unsupported_on_host,not_applicableorskipped_in_usethere, or the record cannot be proposed as written. - A record that is already on the host, in a proposal or applied or monitoring, covers the CVEs its row lists (for a row of its current version, every CVE the record lists: see the next point). So does a record that was decided about there: rejected, expired unanswered, removed by hand, expired, halted or failed. Auto-propose does not go around a person's rejection by proposing a worse record. A host already on its way to, or holding, any record that lists the CVE counts as covered, whoever proposed it.
- A row for this record's current version that is on its way to the host, or on it, covers every CVE the record lists, because the change mitigates them all. A CVE of that record that the host is exposed to later is therefore covered by it: the record's own next batch widens the host's row to list the new CVE, and Vulnerability Reporting marks the finding
mitigatedonce it does. An ended row (a rejection or a removal), or a row of another version, covers only the CVEs it lists and is not widened. - A record that lists two CVEs is proposed when one of them is not covered by a better record. Its host row then lists every CVE of it that the host is exposed to, since the change mitigates them all.
- A
proposerequest is not limited by this. A person can propose any record for any host.
To stop a record being chosen for a CVE, set it back to draft. A CVE that only draft records list is counted as awaiting_activation, with no host entry.
Why a host is left out¶
status counts what auto-propose left out by reason, and last_exclusions lists the latest 50 left-out hosts. The counts are explained under Seeing what happened: excluded_counts is not a host count. The reasons are stable names:
| Reason | Meaning |
|---|---|
covered_by_other_record |
Other active records cover each of the host's CVEs that this record lists. |
already_planned |
This record is already in a proposal, or applied, on the host. |
already_monitoring |
This record is monitoring on the host. It is promoted, not proposed again. |
already_enforced |
This record is enforced on the host. A monitor proposal never moves it back. |
other_version_present |
Another version of this record is on the host and cannot be replaced yet. |
removal_pending_reboot |
This record's removal on the host waits for a reboot. |
module_loaded_at_boot, driver_loaded_at_boot |
This version's block did not hold at boot on the host. |
auto_rejected |
A person rejected this version for the host. |
auto_expired |
Its proposal of this version expired unanswered. |
auto_removed_manually |
A person, or something outside the engine, removed it from the host. |
auto_expired_mitigation |
The record's expires_after ended it on the host. |
auto_halted |
Its rollout halted: a canary did not verify, or its leader halted. |
auto_failed |
Its apply failed on the host. A person looks and proposes it again. |
unsupported_on_host, not_applicable |
The host's sensor answered this version unsupported, or not applicable. |
skipped_in_use |
The host's sensor skipped it because its target was in use. |
monitor_unavailable |
The host cannot monitor this version. |
platform_unsupported |
The record is for another platform. |
sleeper_mode |
The host's sensor is in sleeper mode. |
not_in_scope, excluded_tag |
The organization's scope leaves the host out. |
unknown_sensor, sensor_deleted |
The sensor could not be read, or was deleted. |
not_exposed |
The finding closed before the proposal was made. |
record_not_proposable |
The record cannot be proposed as written. detail says why. |
Hosts on an older version of a record that changed are not moved by auto-propose. A record change never moves every host at once. status counts those hosts as other_version_present.
Seeing what happened¶
The status request, without an audit_id, has an auto_propose block:
{
"auto_propose": {
"enabled": true,
"batch_window": "15m",
"inbox": {"hosts": 1234, "cves": 3, "oldest_at": "2026-12-02T20:01:00Z"},
"sweeps": [{"id": "copy-fail", "source": "activation", "done": false, "hosts_read": 5000}],
"excluded_counts": {"auto_rejected": 4, "auto_removed_manually": 1},
"excluded_since": "2026-12-02T20:01:00Z",
"excluded_hosts": {"auto_rejected": 4, "auto_removed_manually": 1},
"excluded_hosts_total": 5,
"last_pass_at": "2026-12-02T20:16:00Z",
"next_reconcile_at": "2026-12-03T09:30:00Z",
"last_exclusions": [{"sid": "...", "hostname": "...", "id": "copy-fail", "reason": "auto_rejected"}]
}
}
| Field | Meaning |
|---|---|
inbox |
Newly exposed hosts waiting for their batch window, how many CVEs they span, and the oldest. |
sweeps |
Sweeps in progress, one per record: why (source), whether it finished, and how many hosts it has read. |
excluded_counts |
Host-and-record pairs that the passes since the inbox was last empty left out, by reason. Not a host count: see below. excluded_since says since when. |
last_exclusions |
The latest 50 left-out hosts with the record, the reason, a detail when the reason has one, and covered_by for covered_by_other_record. |
excluded_hosts, excluded_hosts_total |
Distinct hosts that the last pass left out, by reason and in total. See below. |
last_pass_at, next_reconcile_at |
When the last pass ran and when the next daily sweep is due. |
A time that was never set is absent from status, never 0001-01-01T00:00:00Z: a host not tasked yet has no tasked time, and a proposal not decided has no decision time.
Three counts describe left-out hosts. Show a person the second or third, not the first.
excluded_countsis one count per host and record, added up over every pass since the inbox was last empty (excluded_since). A 3-host organization with four records listing one CVE counts 9covered_by_other_recordin one pass, and more when there are several passes. It measures work, not hosts, and stays for compatibility.excluded_hostsis, by reason, the distinct hosts that the last pass (atlast_pass_at) left out. A host that several records left out for the same reason counts once. A host can be under several reasons, so the values do not add up to a host count.excluded_hosts_totalis one number: the distinct hosts that the last pass left out and that no record proposed, shown as "N hosts not proposed". A host that one record proposed and another left out ascovered_by_other_recordis inexcluded_hostsbut not in this total. A host that is already in a proposal or applied, such as one left out asalready_planned, was not proposed in this pass, so it is in the total, and it also appears under its reason inexcluded_hosts. Both fields are empty ({}and0) until the first pass.
The web app shows the counts under the mode strip, for example "4 hosts not proposed again: their proposal was rejected earlier", with a link to the list, and "N newly exposed hosts wait for the next proposal".
Events¶
Auto-propose emits mitigation.proposed for each proposal, with the fields above, and mitigation.auto_approval_withheld when auto mode did not approve one. See Events. To act on automatic proposals only, match created_by_kind equal to engine in a D&R rule.
Limits¶
- Latency is about one batch window after the vulnerability scan sees the host.
- A host whose proposal was rejected, expired unanswered, or was removed by a person is not proposed again for that record version.
- A proposal made by hand holds at most 400 hosts. If more are eligible, the first 400 are proposed and the rest are listed as
over_capacity.