Commit Graph

15 Commits

Author SHA1 Message Date
pulse-triage[bot]
748707ca9e Keep consumer persistence-failure fixtures on the owned descriptor
Adapt the API and agent-token filesystem fixtures to exclusive temporary creation. Preserve their original write errors, blocking points, counts and all authority/rollback assertions.

Contract-Neutral: Registered test-fixture adapters only; no additional runtime or contract change.
Change-source: pulse-maintainer
2026-11-01 21:58:30 +00:00
rcourtman
8ffc9253e1 Store tenant agent install tokens where agents authenticate
A provider MSP client workspace is a tenant organization of a hosted
runtime. Settings > Infrastructure minted its agent install tokens into the
org's own config copy (configapi getContextState). Agents never send
X-Pulse-Org-ID, so auth only looks them up in the instance inventory and
routes them by the token's org binding. Every agent installed from a client
workspace got 401 on every report, on v6.5.0 and v6.6.0, so a provider's
first client never received data.

The control plane's hosted install command already stored org-bound tokens
in the instance inventory, but bridged the tenant monitor with an
in-memory copy that agent removal revoked alone, that a tenant reload
dropped, and that diverged from the instance record. Store a tenant org's
tokens only in the instance inventory, from both paths, and let the tenant
monitor read them through Monitor.APITokenInventories: its own config, then
the instance records bound only to its org. Proxmox bootstrap and
auto-register, install-time command policy, Connections, Agent Doctor and
removal revocation now act on the record where it lives. Own config comes
first so a duplicate an earlier version persisted keeps its grant state,
and revocation commits in every inventory or in none. The default org and
single-runtime installs keep one inventory and are unchanged.

Tokens minted in a tenant org before this fix stay in the org copy and
still cannot authenticate; regenerating the install command fixes them.
2026-10-25 15:06:09 +00:00
rcourtman
4724c0764b Fence runner activation session authority 2026-08-31 23:52:25 +01:00
Richard Courtman
08f7c5f0d5 Harden secure agent runtime boundaries 2026-08-31 00:06:24 +01:00
Richard Courtman
77afff4f60 Bind action runner to enrolled agent identity 2026-08-30 18:49:12 +01:00
Richard Courtman
770733fc92 Make action runner rotation activation-safe 2026-08-30 18:00:33 +01:00
Richard Courtman
34849268e5 Enforce collector credential scope allowlists 2026-08-30 17:18:38 +01:00
Pulse Test
7e92ac8118 Harden secure runtime separation boundaries 2026-08-30 14:26:01 +01:00
Pulse Test
d06ffc233d Harden secure agent runtime transitions 2026-08-30 01:41:57 +01:00
Pulse Test
5b2e377843 Expose secure agent runtime posture 2026-08-30 00:38:44 +01:00
Pulse Test
d607d5cf46 Separate agent remediation runtime 2026-08-29 23:48:28 +01:00
Pulse Test
a966264bb1 Contain agent command authority 2026-08-29 22:12:41 +01:00
pulse-triage[bot]
0c2d3f6d80 Keep agent install token issuance atomic
Restore the complete prior API-token inventory when an agent install credential cannot be persisted, so failed issuance neither admits an undisclosed secret nor evicts an older valid token. Prove the package and API failure boundaries and govern the shared lifecycle contract.

Change-source: pulse-maintainer
2026-08-28 07:33:22 +01:00
rcourtman
87ee3cd449 Fix command policy after agent reinstall
Project freshly minted installer command intent onto the stable host before returning remote config, and consume that intent once so later admin policy changes remain authoritative.
2026-08-23 23:39:20 +01:00
rcourtman
c68d5dd3d8 Extract configuration API runtime package 2026-08-21 14:56:07 +01:00