Most recurring technical site audits fail in one of two ways: either you spin up a heavy headless browser just to check HTTP status codes and security headers (slow and expensive), or you run a basic XML sitemap fetcher that tells you what URLs exist today without tracking what disappeared since last Monday.
I built a lightweight 512 MB, pure-HTTP tool (LIMITED_PERMISSIONS, zero browser overhead, zero proxy fees) that combines recursive XML sitemap diffing with crawl health, TLS expiry, OWASP security header grading, and technical SEO metadata in one scheduled pass.
What one scheduled run checks
- Recursive XML &
.xml.gzSitemap Discovery: Readsrobots.txtSitemap:entries (or a direct sitemap URL), expands nested<sitemapindex>files, decompresses.xml.gzsitemaps, and respects wildcardrobots.txtDisallow:rules. - Stateful Sitemap Diff Watch Mode (
watchMode: true): Saves complete sitemap inventories in your own user-scoped Named Key-Value Store (90-day retention) and classifies URLs asADDED,REMOVED,LASTMOD_CHANGED, orPRESENT. WhenonlyChanges: trueand nothing changed, the run emits 0 dataset items so downstream Slack/Jira alerts stay quiet. - Complete-Scan Integrity: If a sitemap crawl hits safety limits (
discoveryComplete: false),REMOVEDalerts are suppressed and existing complete baselines are never overwritten. - Crawl Health, TLS Expiry & 6 OWASP Security Headers: Tracks redirect chains (
301/302/307/308), flags broken404/5xxURLs, runs a native TLS handshake per HTTPS host (tlsVersion,tlsDaysRemaining, issuer), grades 6 OWASP headers (Strict-Transport-Security,Content-Security-Policy,X-Content-Type-Options,X-Frame-Options,Referrer-Policy,Permissions-Policy) on a0–100(A–F) scale, and extracts<link rel="canonical">,<meta name="robots">,hreflangcount, and JSON-LD@typelists. - Honest WAF reporting: Never attempts to bypass bot challenges — returns
wafBlocked: truetransparently onHTTP 403/429or firewall challenge responses.
Live benchmark on Apify Cloud (512 MB)
Tested directly against https://docs.apify.com/sitemap.xml on 2026-12-06:
| Check | Measured result |
|---|---|
| Sitemap URLs discovered | 4,645 URLs (discoveryComplete: true) |
Full audit run (5 URLs, TLS + OWASP + SEO) | HTTP 200, 283 ms sample TTFB, TLSv1.3 (195 days cert left), OWASP grade D, ~$0.00014 cloud compute |
Unchanged Watch run (onlyChanges: true) | 0 dataset items emitted (unchangedDomains: 1), ~$0.00012 cloud compute |
Pricing & ready-to-import automation templates
Billed strictly through Apify Pay-Per-Event with one primary unit (1 audited URL = 1 dataset item):
- Run start:
$0.00005 - Per audited URL:
$0.0045(Free) ->$0.0040(Bronze) ->$0.0035(Silver) ->$0.0030(Gold+) - Minimum configurable cap:
$0.01 - Unchanged Watch runs (
onlyChanged: true): emit0dataset items (only$0.00005start applies)
Ready to inspect or import:
- Apify Store tool: https://apify.com/structmint/sitemap-diff-crawl-security-audit
- n8n weekly workflow JSON (
#12): https://github.com/stqnbapxao-source/structmint-b2b-automation-kit/blob/main/workflows/n8n/12-sitemap-diff-and-security-header-audit.json - Make blueprint JSON: https://github.com/stqnbapxao-source/structmint-b2b-automation-kit/blob/main/workflows/make/sitemap-diff-security-audit-make-blueprint.json
How are you automating weekly broken-link, TLS expiry, and security header checks across your production domains right now?