Hi all,
Some of you may know me from my time at Liferay — I joined the core team in 2007 and left this year as Customer Experience Manager for LATAM, which mostly meant being the person on the phone when a large customer’s site was down. After enough of those calls you notice the same handful of causes keep coming back, and that most of them don’t show up in a plain uptime check because the site still answers HTTP 200.
I’ve since been building 37 Audits, a website auditing and monitoring tool, and five of its auditors exist specifically because of those calls:
1. License Auditor — Probes /c/portal/license_activation. A valid DXP license redirects (302 to /c/portal/layout); an expired or unregistered instance serves the “Liferay DXP Activation” page instead — with HTTP 200. That page replaces every page on the site, so it’s a full outage that uptime monitors report as “up”. Run on a schedule, the first run after a key expires raises the alarm. (Portal CE has no license, so it’s skipped.)
2. CVE Auditor — Reads the DXP/Portal version from your stack and compares it with Liferay’s security advisories. Fails on anything CVSS 7.0 or higher. Unpatched instances were the single most common root cause in the security escalations I handled.
3. Search Auditor — Hits /search with empty and wildcard queries and an oversized delta to confirm page-size caps, timeouts and that pagination can’t be turned into an open redirect. An uncapped search page is one of the easiest ways to push an Elasticsearch cluster over, and the portal goes with it.
4. Protected URL Auditor — Confirms the control panel, /o/api, /api/jsonws and /c/portal/json_service answer 401/403/404 or redirect to login. These are reachable by default, and I’ve seen more than one production site with JSON-WS open to the internet.
5. Cache Auditor — Checks that Document Library files under /documents/ are served with Cache-Control: public so your CDN can actually cache them. Not an outage by itself, but it’s why a CDN ends up caching nothing, and why the origin is the thing that falls over on the next traffic spike.
These five are also the backbone of two guided journeys — “How to secure your Liferay site” and “How to keep your Liferay site online” — that walk through the go-live checklist with auditors verifying the steps that can be verified and manual steps for the rest.
37 Audits is independent and not affiliated with Liferay, Inc. I’d like this community’s input: what took your Liferay site down that a scheduled check could have caught? I’ll build the good ones.
Cheers,
Thiago Moreira