classify CloudFront distributions

Custom domains commonly CNAME to <dist>.cloudfront.net, so CDN-hosted static
sites were invisible to CNAME discovery. Classify them as AWS/WebApp and probe
https://<dist>.cloudfront.net/ for readability.
This commit is contained in:
StasonJatham committed 2026-09-22 15:21:55 +02:00
1 parent e668429d1e
commit c90d5cc023
3 files changed
+20

No files matched your search

+2
View File
@@ -114,6 +114,8 @@ func Classify(host string) (model.Match, bool) {
switch {
case strings.HasSuffix(host, ".amazonaws.com"):
return classifyAWS(&s)
case strings.HasSuffix(host, ".cloudfront.net"):
return classifyCloudFront(&s)
case strings.HasSuffix(host, ".core.windows.net"):
return classifyAzureCore(&s)
case strings.HasSuffix(host, ".database.windows.net"):