WAF onboarding flow
WAF onboarding flow
- App created — Heroku add-on provision callback creates an App row.
- Domain selection — customer picks the domain(s) to protect; Waf row created per apex.
- Sucuri provisioning —
SucuriSetupWorkercallsSucuri.add_site, sets origin, defaults. - Cert issuance —
ProcessCertWorkerrequests a bridge cert from SSLStore, completes DCV, downloads cert. - SSL install — bridge cert pushed to Sucuri via
Sucuri.add_certificate. - DNS pointing — customer updates their DNS to CNAME at the Sucuri edge.
- Health checks — DNS resolves correctly →
apps.dns_set_correctly = true; traffic flows. - Long-term cert handoff — Sucuri issues its own long-lived cert; bridge cert is retired. Customers still on bridge cert after this point are stalled — see bridge certs.
Each step writes a metric row; failure-state rows fire Honeybadger alerts.