Quick overview
This workflow runs every morning to monitor domain registration (RDAP), email security DNS records (DNS-over-HTTPS), and website security headers/security.txt, then emails either urgent alerts or a weekly scorecard via SMTP.
How it works
- Runs every day at 07:00 (or on a manual test run) and loads your domain list, thresholds, and email settings.
- Downloads IANA’s RDAP bootstrap list, looks up each domain’s RDAP endpoint, and checks expiry date, registrar, and risky registry statuses.
- Queries DNS records over DNS-over-HTTPS (SPF, DMARC, MX, MTA-STS, TLS-RPT, and DKIM selectors), follows nested SPF includes to count lookups, and grades each domain’s email security from A to F.
- Fetches each site’s home page and /.well-known/security.txt over HTTPS and checks whether plain HTTP redirects to HTTPS, then grades website header/security.txt hygiene from A to F.
- Compares current results with the last scheduled run stored in workflow static data and classifies findings as urgent or to be included in the next weekly digest.
- Sends an SMTP email with either urgent issues immediately or the full scorecard on the configured weekday (and always on test runs), then saves the latest state only after the email is sent.
Setup
- Add SMTP credentials to the email-sending steps and set the From and To addresses in the workflow settings (including the separate failure-alert email step).
- Update the domain list (and optionally specific websites) plus rules like urgentDays, warnDays, digestWeekday, and failuresBeforeAlert in the “Set domains and rules” step.
- Set DKIM selectors for your mail provider (for example, google for Google Workspace or selector1/selector2 for Microsoft 365) and confirm the DNS-over-HTTPS resolver URL if you don’t want the default.
- In workflow settings, set the workflow’s Error workflow to this same workflow so failures trigger the built-in error email.
- Execute a manual test run to get an initial full scorecard, then activate the workflow so scheduled runs persist state for change detection.