Sebastian Unterschütz and Claude Opus 5.5
16dfba817e
feat(store): store Alertmanager receivers and the alerts they deliver
...
Refs #91
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-22 15:59:56 +01:00
Sebastian Unterschütz and Claude Opus 5.5
53ff2a628d
feat(store): record agent instances and query results by checker
...
Refs #82
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-22 12:54:56 +01:00
Sebastian Unterschütz and Claude Opus 5.5
8f5eb5d075
feat(store): keep check evidence apart from results
...
Refs #79
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-22 12:09:42 +01:00
Sebastian Unterschütz and Claude Opus 5.5
94b519b421
feat: Prometheus monitors in console and API
...
Closes #25
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-22 11:49:07 +01:00
Sebastian Unterschütz and Claude Opus 5.5
1ee1bc83c2
feat: JSON API monitors in console and API
...
Readers no longer see request header values, which typically hold
credentials.
Closes #26
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-22 11:45:11 +01:00
Sebastian Unterschütz and Claude Opus 5.5
04eff67e56
feat(store): allow heartbeat monitors and find overdue ones
...
Refs #27
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-22 11:36:14 +01:00
Sebastian Unterschütz and Claude Opus 5.5
259b3b8e05
feat(store): store maintenance windows for monitors and groups
...
Groups cover their subgroups; a recursive query resolves which windows
apply to a monitor. Status page descriptions may be longer now that they
are Markdown.
Refs #71
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-22 10:38:31 +01:00
Sebastian Unterschütz and Claude Opus 5.5
4134af4aef
feat(store): store legal notices and privacy policies
...
Refs #67
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-22 10:17:39 +01:00
Sebastian Unterschütz and Claude Opus 5.5
4182097542
feat(store): queries for data exports and erasure
...
purge_org_check_data removes an organization's check results including
rows already in the aggregates; it runs with owner rights since the
application role cannot reach TimescaleDB's internal schema.
Refs #66
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-22 10:10:15 +01:00
Sebastian Unterschütz and Claude Opus 5.5
bd986cd49f
feat(store): add audit log table and queries
...
Entries are visible by kind: organization entries to the organization,
account entries to the account, platform entries to admins. The built-in
admin role gains the new audit.read permission.
Refs #65
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-22 09:59:52 +01:00
Sebastian Unterschütz and Claude Opus 5.5
97229b91d1
feat(db): compress aggregates, bound daily retention and disable telemetry
...
The hourly and daily aggregates are compressed after 30 and 180 days and
the daily aggregate is no longer kept forever. TimescaleDB telemetry is
turned off for the database, as self-hosted installations must not
report to third parties.
Refs #63
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-22 09:50:12 +01:00
Sebastian Unterschütz and Claude Opus 5.5
2d7f326d38
feat(store): add nested monitor groups
...
A trigger rejects cycles and nesting deeper than eight levels; composite
foreign keys keep groups and their monitors in one organization.
Refs #57
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-22 09:19:55 +01:00
Sebastian Unterschütz and Claude Opus 5.5
46f1f82481
feat(api): give status page servers sealed key-value storage
...
Certificates and ACME keys are stored encrypted in the database,
namespaced per owner so an organization's servers cannot read platform
or other organizations' keys. Locks live in Redis and expire.
Refs #22
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-22 08:54:08 +01:00
Sebastian Unterschütz and Claude Opus 5.5
d820547e8c
feat(store): add status pages and their components
...
Composite foreign keys keep pages from listing monitors of other
organizations, independent of row-level security.
Refs #21
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-22 08:39:00 +01:00
Sebastian Unterschütz and Claude Opus 5.5
607798d742
feat(store): let regions and agents belong to the platform or one organization
...
Regions are identified by id so organizations can reuse keys. Triggers
keep agents in regions of the same owner and monitors in platform or own
regions. Platform admins are a user flag.
Refs #52
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-22 01:36:02 +01:00
Sebastian Unterschütz and Claude Opus 5.5
7bb4afa04a
fix(migrations): run migrations in the system scope and repair skipped data
...
Row-level security hid every row from the data changes in migrations
00009 and 00012: existing members did not receive the Viewer role and
the built-in Admin role lacked tokens.manage. Built-in roles were also
not writable in the system scope.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-22 01:28:43 +01:00
Sebastian Unterschütz and Claude Opus 5.5
ffef63e586
feat(store): add incidents, notification channels and delivery outbox
...
At most one open incident per monitor is enforced by a partial unique
index.
Refs #15 , #16
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-22 01:23:37 +01:00
Sebastian Unterschütz and Claude Opus 5.5
00658d49a2
feat(store): add monitors, regions, agents and check result hypertable
...
check_results has no row-level security because TimescaleDB refuses
compression and continuous aggregates on such tables. Every results
query takes org_id as a parameter, which a test enforces.
Refs #10 , #13
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-22 01:12:53 +01:00
Sebastian Unterschütz and Claude Opus 5.5
da128c5081
feat(store): add token lifetime limit and tokens.manage permission
...
The built-in Admin role gains tokens.manage.
Refs #48
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-22 00:55:14 +01:00
Sebastian Unterschütz and Claude Opus 5.5
ee09c497de
feat(store): add roles, role assignments, api tokens and invitations
...
Built-in roles are seeded with fixed ids and are read-only for every org.
Existing non-owner members receive the Viewer role.
Refs #6 , #7 , #8 , #9
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-22 00:49:35 +01:00
Sebastian Unterschütz and Claude Opus 5.5
dbea42e7a5
feat(auth): add single-use totp recovery codes
...
Codes are stored as SHA-256 hashes and consumed with one conditional
update, so concurrent use of the same code succeeds at most once.
Refs #40
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-22 00:35:20 +01:00
Sebastian Unterschütz and Claude Opus 5.5
d1976ed57a
feat(store): add per-organization sso providers and linked identities
...
Identities are keyed by provider and subject. Both tables are tenant
scoped; org_id_by_slug resolves a slug before sign-in without opening a
broader scope.
Refs #4
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-22 00:30:43 +01:00
Sebastian Unterschütz and Claude Opus 5.5
dde7b890b8
feat(auth): persist preferred language per user and session
...
Refs #42
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-22 00:07:00 +01:00
Sebastian Unterschütz and Claude Opus 5.5
99e9b1e57d
feat(store): add totp columns, org totp policy and global scope
...
Orgs are created inside their own tenant scope, so signup needs no
system scope.
Refs #3
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-21 23:55:23 +01:00
Sebastian Unterschütz and Claude Opus 5.5
ccc0fe58b8
feat(tenant): enforce tenant isolation with row-level security
...
Every query runs inside a transaction carrying app.org_id, app.user_id
or the explicit system scope. Without a scope no rows are visible.
Closes #2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-21 23:48:02 +01:00
Sebastian Unterschütz and Claude Opus 5.5
95da376ac1
feat(store): add users and org memberships with single owner per org
...
Refs #1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-21 23:48:02 +01:00
Sebastian Unterschütz and Claude Opus 5.5
018b24948e
feat(migrations): embed goose migrations with advisory locking
...
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
2026-11-21 23:33:28 +01:00