feat: database monitors with sealed credentials
ci / image (pull_request) Successful in 2m38s
ci / build (pull_request) Successful in 7m5s
ci / lint (pull_request) Successful in 10m15s
ci / test (pull_request) Failing after 11m53s

Secret monitor settings such as database passwords are stored sealed,
bound to monitor type and field, never returned by the API, the console
or exports, kept when an edit leaves them empty, and opened only for the
checker's job. Monitor types are validated by the check package; the
database only checks their format. Compose gets a checks profile with
MariaDB, MongoDB and SQL Server, and CI tests against MariaDB and
MongoDB.

Closes #93

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
This commit is contained in:
Sebastian UnterschützandClaude Opus 5.5 committed 2026-11-22 16:17:08 +01:00
1 parent a62ffb43de
commit d3cf9f48e1
15 files changed
+1079 -495

No files matched your search

+22 -1
View File
@@ -573,6 +573,21 @@
"monitors.by_region_hint": "Anteil erfolgreicher Checks aus jeder Region. Die SLA sinkt nur, wenn alle Regionen gleichzeitig ausfallen.",
"monitors.confirmations": "Fehlschläge bis zum Alarm",
"monitors.confirmations_hint": "Aufeinanderfolgende Fehlschläge pro Region. Alarm gibt es erst, wenn alle gewählten Regionen ausfallen.",
"monitors.db_database_mongodb": "Authentifizierungs-Datenbank",
"monitors.db_database_mssql": "Datenbank",
"monitors.db_database_mysql": "Datenbank",
"monitors.db_database_postgres": "Datenbank",
"monitors.db_database_redis": "Datenbanknummer (0–15)",
"monitors.db_expect": "Erwarteter erster Wert (optional)",
"monitors.db_hint": "Ziel ist host:port. Verbindet sich, meldet sich an und führt die Abfrage aus; das Passwort wird verschlüsselt gespeichert und nur an Checker übergeben.",
"monitors.db_password": "Passwort",
"monitors.db_query": "Abfrage (optional)",
"monitors.db_tls": "Verschlüsselung",
"monitors.db_tls_disable": "Keine",
"monitors.db_tls_require": "TLS, Zertifikat ungeprüft",
"monitors.db_tls_verify": "TLS mit geprüftem Zertifikat",
"monitors.db_user": "Benutzer",
"monitors.db_user_redis": "Benutzer (ACL, optional)",
"monitors.delete": "Monitor löschen",
"monitors.delete_confirm": "Diesen Monitor samt Verlauf löschen?",
"monitors.dns_expect": "Erwartete Antwort (optional)",
@@ -624,12 +639,13 @@
"monitors.recent": "Letzte Checks",
"monitors.regions": "Regionen",
"monitors.regions_hint": "Geprüft von einem zufälligen Checker jeder gewählten Region. Deine eigenen Regionen stehen oben.",
"monitors.secret_unchanged": "unverändert",
"monitors.sla": "SLA",
"monitors.sla_table": "SLA nach Zeitraum",
"monitors.stale_hours": "Verfällt nach (Stunden)",
"monitors.stale_hours_hint": "Ein feuernder Alert, den Alertmanager nicht mehr wiederholt, gilt nach dieser Zeit als beendet. Halte sie über repeat_interval.",
"monitors.target": "Ziel",
"monitors.target_hint": "URL für HTTP, host:port für TCP und TLS, Hostname für DNS und ICMP.",
"monitors.target_hint": "URL für HTTP, host:port für TCP, TLS und Datenbanken, Hostname für DNS und ICMP.",
"monitors.timeout": "Timeout (ms)",
"monitors.tls_min_days": "Mindestens Tage bis Ablauf",
"monitors.tls_server_name": "Servername (optional)",
@@ -640,7 +656,12 @@
"monitors.type_http": "HTTP(S)",
"monitors.type_icmp": "Ping (ICMP)",
"monitors.type_json": "JSON-API",
"monitors.type_mongodb": "MongoDB",
"monitors.type_mssql": "Microsoft SQL Server",
"monitors.type_mysql": "MySQL / MariaDB",
"monitors.type_postgres": "PostgreSQL",
"monitors.type_prometheus": "Prometheus",
"monitors.type_redis": "Redis",
"monitors.type_tcp": "TCP-Port",
"monitors.type_tls": "TLS-Zertifikat",
"monitors.uptime_chart": "Uptime pro Zeitraum",