feat: add domain registration expiry monitoring

Adds a GET /monitors/domain/:monitorId endpoint that looks up the
registrable domain's WHOIS expiry date (walking up from subdomains),
and displays it next to the certificate expiry on the uptime details
page.

Fixes #2094
This commit is contained in:
colinjtsen2010 committed 2026-08-11 00:34:21 +08:00
1 parent 4b921f4986
commit e5959ca91d
13 files changed
+333 -5

No files matched your search

+13
View File
@@ -40,6 +40,7 @@
"sharp": "0.33.5",
"ssl-checker": "2.0.10",
"swagger-ui-express": "5.0.1",
"whoiser": "^1.18.0",
"winston": "^3.13.0",
"ws": "^8.19.0",
"zod": "^4.3.6"
@@ -15966,6 +15967,18 @@
"node": ">= 8"
}
},
"node_modules/whoiser": {
"version": "1.18.0",
"resolved": "https://registry.npmmirror.com/whoiser/-/whoiser-1.18.0.tgz",
"integrity": "sha512-QRIGreBuouc8d9i+UVMFqYJSiG7gaoaGX8nKugYDGqnuNLLgjDBwmlKODOIGHveBawza3Kfkk/OuM9VsTUYwaA==",
"license": "MIT",
"dependencies": {
"punycode": "^2.1.1"
},
"engines": {
"node": ">=15.0.0"
}
},
"node_modules/winston": {
"version": "3.18.3",
"resolved": "https://registry.npmjs.org/winston/-/winston-3.18.3.tgz",