Files
Pulse/internal/api
rcourtman 6af1b697bb Harden canonical auto-register TLS pins, ownership, and authority checks
Tighten canonical /api/auto-register authorization and identity matching across PVE, PBS, and cluster members:

- Require positive TLS pin agreement (ProxmoxFingerprintsMatch) before adopting a new address for a covered cluster member or moving a connection via an install grant.
- Prevent agent tokens from replacing an established TLS pin with a conflicting certificate on cluster members and top-level PVE and PBS connections.
- Require the registering host's own /cluster/status to confirm the cluster's saved host before refreshing a shared cluster token secret.
- Require exact-host matching before inferred matches, reject unresolved/unpinned agent-created preserved-host matches, and clear planted cluster metadata on DHCP continuity moves.
- Verify submitted Proxmox credentials against the target connection before saving agent-token updates, re-locate the slice slot after verification, compare owned endpoints without DNS resolution, and re-confirm agent token authority before mutating state.

Contract-Neutral: Security hardening fix without public contract change
2026-11-24 12:28:52 +00:00
..
2026-10-11 22:20:25 +01:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-08-31 19:47:01 +01:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-04-26 17:26:16 +01:00
…
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-03-18 16:06:30 +00:00
2026-09-01 01:02:17 +01:00

Internal API Package

This directory contains the API server implementation for Pulse.

Important Note About frontend-modern/

The frontend-modern/ subdirectory that appears here is:

  • AUTO-GENERATED during builds
  • NOT the source code - just a build artifact
  • IN .gitignore - never committed
  • REQUIRED BY GO - The embed directive needs it here

Frontend Development Location

👉 Edit frontend files at: ${PULSE_REPOS_DIR}/pulse/frontend-modern/src/

Why This Structure?

Go's //go:embed directive has limitations:

  1. Cannot use ../ paths to access parent directories
  2. Cannot follow symbolic links
  3. Must embed files within the Go module

This is a known Go limitation and our structure works around it.