Commit Graph
218 Commits
Author SHA1 Message Date
kevin_janssenandClaude Opus 5.5 632aa23447 Omit the raw plan byte array from every MCP plan result
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 16:53:54 +01:00
kevin_janssenandClaude Opus 5.5 2f05d0a019 Open administrator scripts fleet-wide for helpers verified against a signed release
policy.json gains an optional fleet rule per platform. It covers every device
whose helper the server has matched to a signed installed release, so new
devices no longer need a hand-written device entry. Callers already require
root:execute or system:execute plus scripts:execute in the target customer;
the rule can admit scoped tokens, limit customers and exclude devices.
OPNsense and locally pinned helpers keep their device rules.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 15:38:18 +01:00
kevin_janssenandClaude Opus 5.5 9cd1bf1a6c Drop the claude.ai CORS grant from /mcp and the raw plan bytes from operations.get_plan
The connector check does not run in the browser: claude.ai connects from
Anthropic's servers on port 443 only, so CORS did not help. Clients connect
locally with a bearer header. The JSON 401 with a Bearer challenge and the
2025-06-18 negotiation stay. MCP plan previews keep plan_payload and
plan_hash and omit the byte array the WebUI uses for its exact comparison.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 14:45:05 +01:00
kevin_janssenandClaude Opus 5.5 06c4b5a9aa Let browser-based MCP clients such as the claude.ai connector dialog reach /mcp
The connector check runs in the browser with Origin https://claude.ai. Its CORS
preflight got a bare 401, so the browser reported the server as unreachable.
/mcp now answers the preflight, grants CORS to claude.ai without credentials
(MCP uses bearer tokens only), allows that origin in rmcp, sends a Bearer
challenge with JSON 401 responses and also negotiates protocol 2025-06-18.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 14:45:05 +01:00
kevin_janssenandClaude Opus 5.5 efee00e288 Expose the WebUI's read views through MCP: order list, plan preview, hypervisors and catalog
New tools operations.list, operations.get_plan, inventory.list_hypervisors,
catalog.list_package_recipes, catalog.list_windows_msi_recipes and
catalog.get_artifact reuse the WebUI handlers and their tenant and scope
checks. Interactive-only actions (approvals, device management, customer
transfer, enrollment, emergency stop, imports, tokens) stay out of MCP and
are listed as such in the access guide and product contract.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 14:45:05 +01:00
kevin_janssenandClaude Opus 5.5 f3a471c1c5 Link virtual OPNsense firewalls to their Proxmox host automatically
The MAC matching only read linux.base and windows.base snapshots and ran only after
those. OPNsense sends a flat opnsense.base snapshot (hardware.device_type,
interfaces.entries); it is now normalised into the same scopes, triggers the
reconciliation and appears in the host's guest list. Manual decisions still win.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 13:05:36 +01:00
kevin_janssenandClaude Opus 5.5 93429e4394 Keep OPNsense telemetry when the script worker cannot start and build it for FreeBSD 14.1
A worker linked on the FreeBSD 15 test guest needs FBSD_1.9 and does not load on
OPNsense 24.7; the agent then retried the job session every 30 s and never sent a
heartbeat or inventory. The agent now pauses script capabilities for an hour and
reconnects without them. tools/dev_opnsense_worker.py links the worker against the
official FreeBSD 14.1 pkgbase libraries. The installer checks that the worker loads
before binding it and reports success only after a heartbeat.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 12:17:34 +01:00
kevin_janssenandClaude Opus 5.5 19163a2efe Document the OPNsense HTTPS installer, allow its paths in the public ingress and fix its diagnostic hint
Rust development slice / linux (push) Failing after 7s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 09:31:53 +01:00
kevin_janssenandClaude Opus 5.5 7201b18300 Add an HTTPS installer for the OPNsense agent and show its command in the WebUI
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 09:25:51 +01:00
kevin_janssenandClaude Opus 5.5 a1b22070de Count a vzdump run that fails before its first guest as a failed backup
Rust development slice / linux (push) Failing after 7s
Found on the Proxmox test host: with the target storage disabled the scheduled
run ends with an error and its log names no guest, which was reported as
'missed'. Such a job-level or same-guest run now marks the covered guests failed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 14:01:29 +01:00
kevin_janssenandClaude Opus 5.5 29acaa5b08 Pin backup evaluation to the report of the Proxmox VE 9.2 test host
Rust development slice / linux (push) Failing after 10s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 12:48:37 +01:00
kevin_janssenandClaude Opus 5.5 63447f1b87 Provision a read-only Proxmox VE token during HTTPS installation
Rust development slice / linux (push) Failing after 15s
On hosts with pveversion and pveum the installer creates rmm-discovery@pve with
a privilege-separated PVEAuditor token, copies the cluster CA and passes both to
the agent through a systemd credential drop-in. Existing tokens are kept.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 12:14:05 +01:00
kevin_janssenandClaude Opus 5.5 70977df577 Validate Proxmox observations, evaluate scheduled backups and link VMs to their Proxmox host
Rust development slice / linux (push) Failing after 15s
linux.proxmox gets a strict validator and a 128 KiB scope budget. Device
details expose guests, backup jobs with ok/failed/missed/running status and
linked devices. Base snapshots reconcile unique guest MACs into
assets.hypervisor_asset_id with hypervisor_source='proxmox'; manual choices
are kept and can be handed back to automatic detection.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 12:10:35 +01:00
kevin_janssenandClaude Opus 5.5 1d2d52847c Collect Proxmox VE guests, backup jobs and vzdump runs as a read-only linux.proxmox scope
Rust development slice / linux (push) Failing after 12s
The Linux agent queries the local PVE API with a PVEAuditor token from the
systemd credential rmm-proxmox-token and the pinned cluster CA. Guests carry
MAC addresses and SMBIOS UUIDs for hypervisor mapping; jobs carry covered
guests and the scheduler's last expected run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 12:04:13 +01:00
kevin_janssenandClaude Opus 5.5 4459fbf79f Merge live Windows agent 0.1.27 source into the deployed server state
Rust development slice / linux (push) Failing after 14s
main now matches what runs on discovery.ease-technologies.de on 2026-11-20:
- Server, gateway, public API and WebUI: image rmm-dev-server:79f236b
  (schema 47), plus the follow-up docs commit fb35dbd.
- Windows agent and helper 0.1.27: signed release build 28 from 52c352c;
  hashes verified on the Windows test guest.
- Linux agent 0.1.0-mvp.14 (62cb52b) and OPNsense agent 0.1.0-opnsense.6
  are already ancestors of 79f236b.

Conflict in crates/agent-windows/src/native.rs resolved to the released
Windows side (os_inventory with missing DisplayVersion handling).
cargo check passes for the Linux workspace and for rmm-agent-windows on
x86_64-pc-windows-gnu.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 10:50:18 +01:00
kevin_janssen 79f236b3ea Show disk, pool and unassigned Linux capacity in device fleet views 2026-11-20 09:35:05 +01:00
kevin_janssen eaaa6ff228 Inventory Linux whole disks and account mounted filesystems by block topology 2026-11-20 09:34:17 +01:00
kevin_janssen 04037c7acf Display Windows fixed volumes individually in both fleet views 2026-11-20 08:53:20 +01:00
kevin_janssen 52c352c0d9 Collect capacity for every Windows fixed drive letter
Rust development slice / linux (push) Failing after 11s
2026-11-20 08:51:54 +01:00
kevin_janssen 9c61f8f2eb Collect capacity for every Windows fixed drive letter 2026-11-20 08:50:49 +01:00
kevin_janssen 0b0790de71 Run approved FreeBSD root jobs through independently pinned and synchronized local helper
Rust development slice / linux (push) Failing after 11s
2026-11-20 08:27:13 +01:00
kevin_janssen 1f3cd5ea0c Route OPNsense library and custom jobs through the standard order composer 2026-11-20 08:15:07 +01:00
kevin_janssen 8a1ea58d86 Plan OPNsense POSIX root scripts with explicit device policy, profile and approval 2026-11-20 08:12:52 +01:00
kevin_janssen 6792b0dd11 Verify signed OPNsense kernel probes on the service account and retain exactly-once evidence
Rust development slice / linux (push) Failing after 13s
2026-11-19 20:55:29 +01:00
kevin_janssen 2e060e9507 Plan an exact service-account OPNsense kernel probe through normal approval 2026-11-19 20:48:41 +01:00
kevin_janssen 8acbee6a60 Qualify FreeBSD kernel time and supervise bounded POSIX process groups natively 2026-11-19 20:14:34 +01:00
kevin_janssen b7d9046996 Project native FreeBSD packages, interfaces, hardware and login observations 2026-11-19 20:06:56 +01:00
kevin_janssen 89a58c609c Accept separate OPNsense inventory and show VPN and PF observations in device details
Rust development slice / linux (push) Failing after 13s
2026-11-19 19:53:51 +01:00
kevin_janssen 037b5e39fa Handle missing DisplayVersion in Windows inventory 2026-11-19 16:30:39 +01:00
kevin_janssen 2070ae95e7 Add editable purpose to device inventory
Rust development slice / linux (push) Failing after 13s
2026-11-19 15:07:26 +01:00
kevin_janssen b002202d62 Qualify enrolled Windows job clocks from the local time service
Rust development slice / linux (push) Failing after 15s
2026-11-19 11:47:49 +01:00
kevin_janssen f01e81418e Verify damaged history still blocks durable no-start
Rust development slice / linux (push) Failing after 13s
2026-11-19 10:10:02 +01:00
kevin_janssen d4cbc40979 Avoid replaying the helper journal history during idle sync 2026-11-19 10:09:38 +01:00
kevin_janssen 478ee1fc1a Avoid repeated full journal scans and fast ticks in Windows idle 2026-11-19 10:04:26 +01:00
kevin_janssen 480e3749a6 Complete customer transfers on first authenticated inventory
Rust development slice / linux (push) Failing after 8s
2026-11-18 22:57:05 +01:00
kevin_janssen cad188aeb7 Use complete certificate evidence in the hypervisor database fixture
Rust development slice / linux (push) Failing after 7s
2026-11-18 22:42:14 +01:00
kevin_janssen bcd3bd86ad Show known hypervisors and the Hetzner placeholder for virtual machines 2026-11-18 22:39:29 +01:00
kevin_janssen 9e957e6d8d Slow successful Windows helper time refreshes
Rust development slice / linux (push) Failing after 8s
(cherry picked from commit a4bcebf440)
2026-11-18 21:40:10 +01:00
kevin_janssen 5253a9f596 Support interactive customer transfers for enrolled devices
Rust development slice / linux (push) Failing after 8s
2026-11-18 21:35:28 +01:00
kevin_janssen 1f60183b7e Fit larger Linux package inventories within bounded snapshots
Rust development slice / linux (push) Failing after 8s
2026-11-18 20:20:10 +01:00
kevin_janssen 55d159cab1 Retry Linux inventory when durable traffic delays collection
Rust development slice / linux (push) Failing after 8s
2026-11-18 20:12:05 +01:00
kevin_janssen aea2d5b379 Expand the passive inventory shown in device details
Rust development slice / linux (push) Failing after 9s
2026-11-18 20:02:41 +01:00
kevin_janssen 915e126f24 Reconcile a human closure when the helper has no result
Rust development slice / linux (push) Failing after 9s
2026-11-18 19:03:02 +01:00
kevin_janssen 7006ce7420 Keep the last valid CPU reading during RAM-only heartbeats
Rust development slice / linux (push) Failing after 8s
2026-11-18 18:46:04 +01:00
kevin_janssen b3fe35b86b Show available RAM and measured CPU usage for devices
Rust development slice / linux (push) Failing after 8s
2026-11-18 18:37:18 +01:00
kevin_janssen 4b3d0136e9 Wait for the device certificate before probing Linux enrollment 2026-11-18 18:09:52 +01:00
kevin_janssen bfdc3da8af Record native ARM64 HTTPS release and installer verification 2026-11-18 18:07:31 +01:00
kevin_janssen 6d15f1b3f5 Use the shared target triple for the release catalog 2026-11-18 17:59:34 +01:00
kevin_janssen 247646a2ba Build and serve signed Linux ARM64 agent releases 2026-11-18 17:58:12 +01:00
kevin_janssen c599baa494 Show the detected machine type in device inventory 2026-11-18 17:39:43 +01:00