beacon

module
v0.3.0-rc.55 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 3, 2026 License: Apache-2.0

README

Monitoring, a bastion and a password vault in one self-hosted service, for people and the AI agents they delegate to.

CI Release

English | 简体中文 · Documentation: beacon.openlinkos.com

Beacon is three products on one identity and one record:

  • Monitoring and alerts, held to Uptime Kuma: monitors of every common kind, checked from several places at once, with heartbeat bars, uptime and response-time history, notification channels, status pages and maintenance windows.
  • A bastion for your machines, held to JumpServer: machines in groups, access rules, a web terminal with tabs and a file manager, live sessions you can watch and end, command records, file transfers and batch jobs, with every shell and command session recorded.
  • A password vault, held to Vaultwarden: logins, cards, identities, notes, SSH keys and API credentials in personal vaults and shared collections, with TOTP codes, a generator, Send links, import, export and health reports.

Someone used to one of them finds the work they do every day, and gets what none of them has: AI agents as first-class users. An outage wakes your agent (Claude Code, Codex, or anything that speaks MCP or HTTP) with the evidence in one call; the agent reaches the machine through Beacon with its own ssh or Beacon's tools, without ever holding a key; it can use an API credential from the vault in a request without seeing it; and people see, replay and can stop everything it did. An agent never does more than the person it acts for. Where Beacon still falls short of the three is listed, feature by feature, in How Beacon compares.

Status: early (0.3, release candidates). It runs the makers' own servers. Until 1.0 the configuration may change between minor versions; the changelog says what to do when it does.

Monitoring and alerts

  • Monitors of every common kind: HTTP(s) with status codes, keywords and JSON queries, TCP ports, ping, DNS records, push (heartbeat) monitors, certificate and domain expiry, PostgreSQL, MySQL, MongoDB, Redis, MQTT, SMTP, gRPC health and Docker containers, container registries and Git, and groups of monitors. Each has its own interval, retries, retry interval, reminders, tags, notification channels, pause and upside-down mode.
  • Checked from where your users are. A probe of under 20 MB on any small machine checks from its location and says why a check failed: DNS, connection, TLS, timeout, status code, keyword. A monitor checked from several locations is down only when at least two of them, and half of those reporting, agree, so one location's bad network wakes nobody.
  • A console in Uptime Kuma's shape: the monitor list with heartbeat bars and 24-hour uptime, and beside it the selected monitor's response, uptime over 24 hours, 30 days and a year, a response-time chart per location, each location's state and the events; one form for every type; clone, bulk pause and resume.
  • Notification channels: webhook (signed), Slack, Discord, Telegram, Microsoft Teams, email, Feishu, DingTalk, WeCom, Pushover, Bark, ntfy, Gotify and Matrix, each with a Test button and a queue that survives restarts; Feishu cards that can be acknowledged and silenced, and escalation to phones.
  • Status pages, maintenance and badges: public pages edited in place with groups, a logo, a pinned note and 90 days of history; maintenance once, weekly, monthly or by cron in any time zone; SVG badges for status, uptime, response time and certificates.

A bastion for your machines

  • Machines in a tree of groups, with labels and several accounts each, behind NAT too: they connect out with plain ssh -R. Machines trust Beacon's certificates, valid for five minutes, and nobody is handed a password or key.
  • Access rules: people, groups and agents, on machines named or chosen by group or label, with accounts, actions (shell, commands, upload, download, port forwarding) and validity; core machines only by name. Command rules block or flag commands.
  • Web terminal (xterm.js) with your machines in a tree, tabs, and a file manager over SFTP; or your own ssh, scp, sftp, rsync and ssh -L, with a menu of your machines when you name none.
  • Audit: live sessions you can watch and end, recordings to replay, the commands of each session (with exit codes where the shell reports them), SFTP, scp and rsync transfers, sign-ins and the audit log. Jobs run a command on many machines at once.

A password vault

  • Items of six kinds with custom fields, attachments, password history, favourites, folders and a trash; TOTP codes counting down; a generator for passwords and passphrases; a browser extension that fills logins on the page you are on.
  • Shared collections for people and groups, with view, hidden-password, edit and manage permissions; agents get use or read grants, and use an API credential without seeing it.
  • Send links encrypted in the browser, emergency access for a trusted colleague after a waiting period, import from Bitwarden, 1Password, the browsers and KeePass, export in Bitwarden's format, and reports of weak, reused, unsecured and old passwords.

For agents

  • An MCP server at /mcp with 28 tools named after what agents already do: list and get alerts, acknowledge, note, silence, probe now; list, get and save monitors, schedule maintenance; list machines, run a command (on many machines, or in the background), read, write, edit and search files; list and get sessions; list, use and read secrets. Claude Code and Codex sign in through the browser with MCP's OAuth 2.1.
  • One REST API at /api/v1 (OpenAPI) for everything, which the console itself uses.
  • Woken with the evidence: signed webhooks and GitHub workflow dispatches for new alerts, and beacon-oncall, a small harness that starts the agent program you name. get_alert returns each location's result, the changes just before, and what people and agents have done so far; probe_now checks the fix from every location within a minute.

Small and yours. One Go service and one probe binary, on VictoriaMetrics; a machine with 2 CPUs and 4 GB is plenty. Every setting and secret lives encrypted in Beacon's database; sign-in with two-factor codes. Apache-2.0. Beacon calls no model and needs no cloud account.

Works with

Agent Connects over Can be woken by Beacon
Claude Code MCP over HTTP, its own ssh Yes, with beacon-oncall (headless) or a GitHub workflow
Codex CLI MCP over HTTP, its own ssh Yes, with beacon-oncall
Any MCP client MCP over HTTP Yes, with a webhook
Bots and scripts REST and ssh Yes, with a webhook

Beacon calls no model: what to do about an alert is the agent's decision, and every agent is welcome. See Put an agent on call.

Getting started

Try it first, in ten minutes on the machine in front of you: Docker, one command, no domain and no certificate.

git clone https://github.com/openlinkos/beacon.git && cd beacon/deploy/try
sh up.sh

up.sh starts five containers — Beacon, VictoriaMetrics, vmalert, one probe location and a demo machine — and prints the one-time link that makes the first account. Try it on your laptop walks through the rest: connect Claude Code, break the demo service, and watch an agent repair it through the SSH channel while everything it runs is recorded.

For production: a Linux machine with 2 CPUs and 4 GB of memory, Docker with Compose v2, and two DNS names pointing at it.

git clone https://github.com/openlinkos/beacon.git
sudo cp -r beacon/deploy /opt/beacon && cd /opt/beacon
sudo ./install.sh        # asks for the two host names and an e-mail address for the certificates

install.sh generates the secrets, validates every file and starts Beacon, VictoriaMetrics, vmalert and Caddy. Follow On a server to enrol two probes and a machine, replay a personal SSH and an Agent session, and rehearse an outage in your team’s test chat. For Feishu or Lark, arrange app approval with your organisation’s administrator before the drill.

Connect Claude Code

docker exec beacon beacon setup    # a one-time link: open it and choose your username and password
claude mcp add --transport http --scope user beacon https://status.example.com/mcp

Then run /mcp in Claude Code and sign in through the browser: Beacon asks you to allow Claude Code as one of your agents, with what it may do and for how long, and no token is copied anywhere. Then ask, in any session: "Is anything failing right now? Look at the evidence, check the machine, and tell me what you would do." The agent answers from get_alert and the machine itself, and everything it ran is in the console under Sessions. An agent without a browser takes a token instead: docker exec beacon beacon agent add oncall-bot -owner alice -preset oncall.

Documentation

The documentation lives in docs/ and is published at beacon.openlinkos.com:

  • Try it on your laptop: the whole loop in ten minutes, in Docker on your machine
  • On a server: from a bare machine to the first probe, machine, agent and drill
  • People and their agents: accounts and roles, connecting Claude Code and Codex through the browser, headless agents and their tokens
  • Put an agent on call: waking an agent, the evidence, notes, the timeline, probing on demand, beacon-oncall
  • Monitor a service: monitors and their types, locations, notification channels, maintenance and badges
  • Machines and access: enrolling machines, access and command rules, the terminal, sessions, records and jobs, machines behind NAT
  • The vault: items, collections, sharing with people and agents, Send, import, export and reports
  • Status pages: preview and publish the services your users will see, with incidents, maintenance and badges
  • The console: what people see, and the links cards open
  • Feishu: the app, the cards, the group bot
  • API and MCP tools: every route and tool, with scopes and error codes
  • Architecture and goals: how it fits together, what it is for and what it leaves out
  • Changelog

How it works

beacon-probe (each location) ──results──▶ gateway ──▶ monitors judged in Beacon ──▶ alerts
                                             └──▶ VictoriaMetrics ◀── vmalert (host rules) ──▶ alerts
people ◀── console, notification channels, phones, status pages ◀── beacon (router, bridge) ──▶ agents' webhooks
people, agents ──▶ console, REST /api/v1, MCP /mcp ──▶ beacon (monitors, machines, vault, audit)
people, agents ──▶ web terminal, ssh, scp, sftp, rsync (port 17002) ──▶ bastion ──▶ machines (5-minute certificates, sessions recorded)

One service, beacon, holds the gateway for probes and machines, the monitors' judge, the alert router, the bridge to people and agents, the vault, the API and MCP, the console and status pages, and the bastion; its state is one SQLite database, with the session recordings beside it. Metrics and rules stay in VictoriaMetrics and vmalert. Architecture has the parts.

Security

Agents never see a machine password or host key: the SSH channel signs a short-lived certificate for every connection, which the machine's account trusts; Beacon does not remove the account's other keys or password, so close those yourself if only Beacon should get in. People sign in with Beacon's own accounts, their passwords kept as argon2id hashes, with two-factor codes that an owner can require; every sign-in is logged. An agent acts for a person and never does more than that person's role allows, checked on every request. Tokens are stored as SHA-256 hashes, carry scopes and expire; each probe and host can write only as itself. Everything an agent does is audited, and its commands, changes and sessions are echoed to the alert chat. System secrets and vault items are encrypted at rest under master.key and never logged; every reveal is recorded before the secret is released (a TOTP code shown again within ten minutes is not recorded twice), and Send links are encrypted in the browser. Report vulnerabilities as SECURITY.md describes.

Contributing

Issues and pull requests are welcome; CONTRIBUTING.md explains how to build, test and propose a change, and AGENTS.md is the guide for AI agents working on the code.

Licence

Apache License 2.0. The LinkOS and OpenLinkOS names and marks are not covered by it.

Beacon is named after the beacon towers of the Great Wall: when a watch post saw trouble it lit a fire, the signal ran from tower to tower to the capital, and the number of fires told how serious it was.

Directories

Path Synopsis
cmd
beacon command
Command beacon is Beacon's service: monitoring with alert delivery, the SSH channel through which people and agents reach machines, credential custody, a REST API and an MCP server.
Command beacon is Beacon's service: monitoring with alert delivery, the SSH channel through which people and agents reach machines, credential custody, a REST API and an MCP server.
beacon-oncall command
Command beacon-oncall is the reference harness that runs an agent when Beacon wakes it.
Command beacon-oncall is the reference harness that runs an agent when Beacon wakes it.
beacon-probe command
Command beacon-probe is the probe agent: it checks targets for the status service (like the Blackbox Exporter, with the same metric names, plus a failure reason and multi-step checks) and reports a few host metrics (like a small Node Exporter).
Command beacon-probe is the probe agent: it checks targets for the status service (like the Blackbox Exporter, with the same metric names, plus a failure reason and multi-step checks) and reports a few host metrics (like a small Node Exporter).
internal
agent
Package agent is beacon-probe's push mode, the whole probe agent in one process: every interval it fetches what to check from the gateway (its targets and the module file, cached on disk for when the gateway cannot be reached), probes every target, reads the host's metrics and heartbeats, and pushes it all to the gateway in the Prometheus text format with timestamps.
Package agent is beacon-probe's push mode, the whole probe agent in one process: every interval it fetches what to check from the gateway (its targets and the module file, cached on disk for when the gateway cannot be reached), probes every target, reads the host's metrics and heartbeats, and pushes it all to the gateway in the Prometheus text format with timestamps.
alertmanager
Package alertmanager holds alerts, alert groups and silences in Alertmanager's formats.
Package alertmanager holds alerts, alert groups and silences in Alertmanager's formats.
api
Package api is the REST API under /api/v1.
Package api is the REST API under /api/v1.
bridge
Package bridge closes the loop between the alerts and the people on call.
Package bridge closes the loop between the alerts and the people on call.
catalog
Package catalog is what is monitored and where from: the probe locations, the heartbeats that jobs must send, and the resources (servers, domains, certificates, tokens) whose expiry dates are watched; and what the public status pages show of it (status.go).
Package catalog is what is monitored and where from: the probe locations, the heartbeats that jobs must send, and the resources (servers, domains, certificates, tokens) whose expiry dates are watched; and what the public status pages show of it (status.go).
channels
Package channels is where alerts are told besides the on-call people: notification channels of fourteen kinds (a signed JSON webhook, Slack, Discord, Telegram, Microsoft Teams, email, a Feishu or DingTalk or WeCom group bot, Pushover, Bark, ntfy, Gotify, Matrix).
Package channels is where alerts are told besides the on-call people: notification channels of fourteen kinds (a signed JSON webhook, Slack, Discord, Telegram, Microsoft Teams, email, a Feishu or DingTalk or WeCom group bot, Pushover, Bark, ntfy, Gotify, Matrix).
clientip
Package clientip extracts the client's real IP from a request.
Package clientip extracts the client's real IP from a request.
config
Package config manages Beacon's runtime settings and encrypted secrets in the database.
Package config manages Beacon's runtime settings and encrypted secrets in the database.
configdb
Package configdb keeps what Beacon monitors in its database: the catalogue (probe locations, expiring resources, public status pages), the monitors and their tags.
Package configdb keeps what Beacon monitors in its database: the catalogue (probe locations, expiring resources, public status pages), the monitors and their tags.
ctl
Package ctl is the local admin socket: a small HTTP API on a Unix socket in the data directory, so that `beacon token …`, `machine …`, `ssh …`, `config …` and `drill …` work against the running service, which holds the database lock.
Package ctl is the local admin socket: a small HTTP API on a Unix socket in the data directory, so that `beacon token …`, `machine …`, `ssh …`, `config …` and `drill …` work against the running service, which holds the database lock.
events
Package events is the append-only half of the store: the audit log and the record of secret uses, in tables with indexes on time, actor and object, chained by hash so that a change or a deletion among them can be seen (the plan's §14): each record's hash is SHA-256 over the hash of the record before it and a canonical encoding of itself.
Package events is the append-only half of the store: the audit log and the record of secret uses, in tables with indexes on time, actor and object, chained by hash so that a change or a deletion among them can be seen (the plan's §14): each record's hash is SHA-256 over the hash of the record before it and a canonical encoding of itself.
exercise
Package exercise verifies observations of Beacon's deliberately failing drill endpoint.
Package exercise verifies observations of Beacon's deliberately failing drill endpoint.
feishu
Package feishu is the Feishu (Lark) self-built app: it sends interactive cards to the alert group, updates them in place, buzzes people, and receives button clicks, either over Feishu's long connection (no public callback URL needed) or as HTTP callbacks.
Package feishu is the Feishu (Lark) self-built app: it sends interactive cards to the alert group, updates them in place, buzzes people, and receives button clicks, either over Feishu's long connection (no public callback URL needed) or as HTTP callbacks.
filecapture
Package filecapture keeps evidence private until its local write is durably sealed.
Package filecapture keeps evidence private until its local write is durably sealed.
gateway
Package gateway is the one door for machines (metrics.<domain>): probes and hosts write their samples (Prometheus remote write) and fetch the targets they check, job hosts push heartbeats, agents query metrics, the rule engine and Flux post alerts (Alertmanager's API v2, taken by the router), and CI and Flux post change events (deployments, reconciliations).
Package gateway is the one door for machines (metrics.<domain>): probes and hosts write their samples (Prometheus remote write) and fetch the targets they check, job hosts push heartbeats, agents query metrics, the rule engine and Flux post alerts (Alertmanager's API v2, taken by the router), and CI and Flux post change events (deployments, reconciliations).
ha
Package ha is the primary/standby pair over the PostgreSQL database (the plan's §10.3): one lease row in a leader table decides which instance is active.
Package ha is the primary/standby pair over the PostgreSQL database (the plan's §10.3): one lease row in a leader table decides which instance is active.
hostmetrics
Package hostmetrics reads a few host metrics from /proc, with the Prometheus Node Exporter's names, so that a probe machine needs no node_exporter: CPU time, memory, load, filesystems, network and disk traffic, pressure, time sync, and the heartbeat files of a textfile directory.
Package hostmetrics reads a few host metrics from /proc, with the Prometheus Node Exporter's names, so that a probe machine needs no node_exporter: CPU time, memory, load, filesystems, network and disk traffic, pressure, time sync, and the heartbeat files of a textfile directory.
i18n
Package i18n localises what people read: status pages, alert cards and API errors.
Package i18n localises what people read: status pages, alert cards and API errors.
inventory
Package inventory checks that every CDN node is serving: a probe location that runs on a CDN node names the node's address and the DNS name of its cluster (the rotation), and every minute both are resolved.
Package inventory checks that every CDN node is serving: a probe location that runs on a CDN node names the node's address and the DNS name of its cluster (the rotation), and every minute both are resolved.
kv
Package kv is the key-value layer under the store: everything the store kept in one bbolt file (buckets of JSON values, ordered keys, per-bucket sequences, counters) over a SQL database instead.
Package kv is the key-value layer under the store: everything the store kept in one bbolt file (buckets of JSON values, ordered keys, per-bucket sequences, counters) over a SQL database instead.
mcpserver
Package mcpserver is the built-in MCP server at /mcp (streamable HTTP, stateless).
Package mcpserver is the built-in MCP server at /mcp (streamable HTTP, stateless).
metrics
Package metrics exposes metrics in the Prometheus text format.
Package metrics exposes metrics in the Prometheus text format.
monitor
Package monitor is what a person adds and edits to watch a service: a monitor of one type (HTTP, TCP, ping, DNS, push, a database, a message broker or a mail server, gRPC health, a Docker container, registry, git, RDAP, or a group of other monitors), how often it is checked and from which probe locations, when it counts as down, and which notification channels hear of it.
Package monitor is what a person adds and edits to watch a service: a monitor of one type (HTTP, TCP, ping, DNS, push, a database, a message broker or a mail server, gRPC health, a Docker container, registry, git, RDAP, or a group of other monitors), how often it is checked and from which probe locations, when it counts as down, and which notification channels hear of it.
monitors
Package monitors is what REST and MCP do with monitors, in one place: list them with their states, read one with its checks, figures, locations and events, add, change, pause, clone and remove them, and keep their tags.
Package monitors is what REST and MCP do with monitors, in one place: list them with their states, read one with its checks, figures, locations and events, add, change, pause, clone and remove them, and keep their tags.
notify
Package notify sends through the channels that are not the Feishu app: Pushover (iOS emergency alerts that repeat until acknowledged), Bark (an iOS push that rings), the Feishu group's custom bot (plain messages that need no app and spend no API quota), signed team webhooks, and healthchecks.io pings.
Package notify sends through the channels that are not the Feishu app: Pushover (iOS emergency alerts that repeat until acknowledged), Bark (an iOS push that rings), the Feishu group's custom bot (plain messages that need no app and spend no API quota), signed team webhooks, and healthchecks.io pings.
oauth
Package oauth is Beacon's own authorization server for its MCP endpoint, as the MCP authorization specification asks: an agent's client (Claude Code, Codex) adds Beacon's /mcp, gets a 401 that names the protected resource metadata (RFC 9728), finds the authorization server's metadata (RFC 8414), registers itself (RFC 7591) or names its client ID metadata document, and sends the person to /oauth/authorize, where they sign in to the console and allow it (package web, which uses Parse and Code here).
Package oauth is Beacon's own authorization server for its MCP endpoint, as the MCP authorization specification asks: an agent's client (Claude Code, Codex) adds Beacon's /mcp, gets a 401 that names the protected resource metadata (RFC 9728), finds the authorization server's metadata (RFC 8414), registers itself (RFC 7591) or names its client ID metadata document, and sends the person to /oauth/authorize, where they sign in to the console and allow it (package web, which uses Parse and Code here).
oncall
Package oncall is the reference harness that runs an agent program when Beacon wakes it.
Package oncall is the reference harness that runs an agent program when Beacon wakes it.
probe
Package probe checks targets from a probe location, the way the Prometheus Blackbox Exporter does and with the same metric names (probe_success, probe_duration_seconds, probe_http_status_code, probe_ssl_earliest_cert_expiry), so that alert rules work with either.
Package probe checks targets from a probe location, the way the Prometheus Blackbox Exporter does and with the same metric names (probe_success, probe_duration_seconds, probe_http_status_code, probe_ssl_earliest_cert_expiry), so that alert rules work with either.
probenow
Package probenow is probing on demand: an agent asks the centre to have a target probed again at once, every probe location that has the target assigned is woken through the gateway's long-poll route, probes it with its usual modules and settings and posts what it found, and the agent sees each location's answer within a minute instead of waiting for the next cycle and the rule engine.
Package probenow is probing on demand: an agent asks the centre to have a target probed again at once, every probe location that has the target assigned is woken through the gateway's long-poll route, probes it with its usual modules and settings and posts what it found, and the agent sees each location's answer within a minute instead of waiting for the next cycle and the rule engine.
router
Package router does what Alertmanager did, inside the service: it takes alerts from the rule engine (vmalert or Prometheus, Alertmanager's API v2: POST /api/v2/alerts), groups them, mutes alerts that a firing alert inhibits or that a silence matches, and hands each group to the bridge the way Alertmanager's webhook did.
Package router does what Alertmanager did, inside the service: it takes alerts from the rule engine (vmalert or Prometheus, Alertmanager's API v2: POST /api/v2/alerts), groups them, mutes alerts that a firing alert inhibits or that a silence matches, and hands each group to the bridge the way Alertmanager's webhook did.
s3
Package s3 is a small client for the S3-compatible storage Beacon writes to (MinIO, R2, S3): put, get, head and delete, signed the way every one of them understands, AWS Signature Version 4.
Package s3 is a small client for the S3-compatible storage Beacon writes to (MinIO, R2, S3): put, get, head and delete, signed the way every one of them understands, AWS Signature Version 4.
secrets
Package secrets holds Beacon's master key (master.key in the data directory) and the sealing that the settings and the vault (package vault) build on: AES-256-GCM under keys derived with HKDF, each bound to its context.
Package secrets holds Beacon's master key (master.key in the data directory) and the sealing that the settings and the vault (package vault) build on: AES-256-GCM under keys derived with HKDF, each bound to its context.
server
Package server routes the service's HTTP requests: health and readiness, metrics (direct connections only), Feishu's HTTP callbacks, the drill check, the REST API, the MCP endpoint and the pages (the public ones at the root, the console under /console).
Package server routes the service's HTTP requests: health and readiness, metrics (direct connections only), Feishu's HTTP callbacks, the drill check, the REST API, the MCP endpoint and the pages (the public ones at the root, the console under /console).
signedhead
Package signedhead is the signed snapshot of a table's live rows: a name, a monotonic epoch, and the SHA-256 of each stored row.
Package signedhead is the signed snapshot of a table's live rows: a name, a monotonic epoch, and the SHA-256 of each stored row.
sshgate
Package sshgate is the SSH channel: agents reach the machines Beacon knows with the tools they already use (ssh, scp, sftp, rsync, port forwarding) or with the MCP and REST tools, and never hold a key.
Package sshgate is the SSH channel: agents reach the machines Beacon knows with the tools they already use (ssh, scp, sftp, rsync, port forwarding) or with the MCP and REST tools, and never hold a key.
status
Package status computes the public status pages from what Beacon already has: the pages' definitions in the catalogue (catalog.StatusPage), the probes' results in VictoriaMetrics (history.go), the alert groups as incidents, and the maintenance windows.
Package status computes the public status pages from what Beacon already has: the pages' definitions in the catalogue (catalog.StatusPage), the probes' results in VictoriaMetrics (history.go), the alert groups as incidents, and the maintenance windows.
store
Package store keeps the service's state in one SQL database (a single SQLite file by default): alert groups (card, acknowledgement, silence, escalation progress), people's accounts (an argon2id hash of each password) and their agents, tokens and OAuth grants (only their SHA-256), the machines the SSH channel reaches, the index of SSH sessions, small counters — all in a key-value space (internal/kv) with the buckets and keys they always had — and the audit log in event tables with a hash chain (internal/events).
Package store keeps the service's state in one SQL database (a single SQLite file by default): alert groups (card, acknowledgement, silence, escalation progress), people's accounts (an argon2id hash of each password) and their agents, tokens and OAuth grants (only their SHA-256), the machines the SSH channel reaches, the index of SSH sessions, small counters — all in a key-value space (internal/kv) with the buckets and keys they always had — and the audit log in event tables with a hash chain (internal/events).
targets
Package targets is what the probes check: target groups in Prometheus file_sd form ({targets, labels}), in named files (sets, once they are in Beacon's database; see package configdb).
Package targets is what the probes check: target groups in Prometheus file_sd form ({targets, labels}), in named files (sets, once they are in Beacon's database; see package configdb).
testutil
Package testutil builds a bridge with fake collaborators, for the tests of the packages above it.
Package testutil builds a bridge with fake collaborators, for the tests of the packages above it.
totp
Package totp implements time-based one-time passwords (RFC 6238 over RFC 4226's HOTP) with the parameters authenticator apps take by default: HMAC-SHA1, six digits, a 30-second step.
Package totp implements time-based one-time passwords (RFC 6238 over RFC 4226's HOTP) with the parameters authenticator apps take by default: HMAC-SHA1, six digits, a 30-second step.
vault
Package vault is Beacon's password vault: logins, notes, cards, identities, SSH keys and API credentials in personal vaults and shared collections, with folders, favourites, a trash, a generator, TOTP codes, Send links encrypted in the browser, import, export and health reports.
Package vault is Beacon's password vault: logins, notes, cards, identities, SSH keys and API credentials in personal vaults and shared collections, with folders, favourites, a trash, a generator, TOTP codes, Send links encrypted in the browser, import, export and health reports.
version
Package version holds the build information, set by the release pipeline with -ldflags -X.
Package version holds the build information, set by the release pipeline with -ldflags -X.
vm
Package vm queries VictoriaMetrics (or any Prometheus-compatible API) for instant vectors.
Package vm queries VictoriaMetrics (or any Prometheus-compatible API) for instant vectors.
web
Package web serves the browser: the console (a React application under /workspace, which calls the REST API with its session, workspacefiles.go), and the pages that must work without it.
Package web serves the browser: the console (a React application under /workspace, which calls the REST API with its session, workspacefiles.go), and the pages that must work without it.
web/link
Package link signs requests for the alert and session pages people open from chat.
Package link signs requests for the alert and session pages people open from chat.
wsconn
Package wsconn is the small part of RFC 6455 WebSockets Beacon needs, server side: the console's browser terminal and the live watch of a session.
Package wsconn is the small part of RFC 6455 WebSockets Beacon needs, server side: the console's browser terminal and the live watch of a session.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL