feat: database monitors with sealed credentials
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:
1 parent
a62ffb43de
commit
d3cf9f48e1
15 files changed
+1079
-495
No files matched your search
@@ -573,6 +573,21 @@
|
||||
"monitors.by_region_hint": "Share of successful checks from each region. The SLA only drops when all regions fail at the same time.",
|
||||
"monitors.confirmations": "Failures before alerting",
|
||||
"monitors.confirmations_hint": "Consecutive failures per region. An alert needs every selected region to fail.",
|
||||
"monitors.db_database_mongodb": "Authentication database",
|
||||
"monitors.db_database_mssql": "Database",
|
||||
"monitors.db_database_mysql": "Database",
|
||||
"monitors.db_database_postgres": "Database",
|
||||
"monitors.db_database_redis": "Database number (0–15)",
|
||||
"monitors.db_expect": "Expected first value (optional)",
|
||||
"monitors.db_hint": "Target is host:port. Connects, signs in and runs the query; the password is stored encrypted and only handed to checkers.",
|
||||
"monitors.db_password": "Password",
|
||||
"monitors.db_query": "Query (optional)",
|
||||
"monitors.db_tls": "Encryption",
|
||||
"monitors.db_tls_disable": "None",
|
||||
"monitors.db_tls_require": "TLS, certificate not verified",
|
||||
"monitors.db_tls_verify": "TLS with verified certificate",
|
||||
"monitors.db_user": "User",
|
||||
"monitors.db_user_redis": "User (ACL, optional)",
|
||||
"monitors.delete": "Delete monitor",
|
||||
"monitors.delete_confirm": "Delete this monitor and its history?",
|
||||
"monitors.dns_expect": "Expected answer (optional)",
|
||||
@@ -624,12 +639,13 @@
|
||||
"monitors.recent": "Recent checks",
|
||||
"monitors.regions": "Regions",
|
||||
"monitors.regions_hint": "Checked from a random checker in each selected region. Your own regions are listed first.",
|
||||
"monitors.secret_unchanged": "unchanged",
|
||||
"monitors.sla": "SLA",
|
||||
"monitors.sla_table": "SLA by period",
|
||||
"monitors.stale_hours": "Stale after (hours)",
|
||||
"monitors.stale_hours_hint": "A firing alert Alertmanager stops repeating counts as over after this time. Keep it above repeat_interval.",
|
||||
"monitors.target": "Target",
|
||||
"monitors.target_hint": "URL for HTTP, host:port for TCP and TLS, host name for DNS and ICMP.",
|
||||
"monitors.target_hint": "URL for HTTP, host:port for TCP, TLS and databases, host name for DNS and ICMP.",
|
||||
"monitors.timeout": "Timeout (ms)",
|
||||
"monitors.tls_min_days": "Minimum days until expiry",
|
||||
"monitors.tls_server_name": "Server name (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 certificate",
|
||||
"monitors.uptime_chart": "Uptime per period",
|
||||
|
||||
Reference in new issue
Block a user