From 30671378e4710c25b740258c0c57efa0d332f080 Mon Sep 17 00:00:00 2001 From: Kyle Taylor Date: Wed, 10 Apr 2019 11:44:39 -0500 Subject: [PATCH 1/3] Add Azure detection - Add Azure specifically, some headers are exposed - Add Azure CDN (by Verizon) that has specific headers from their documentation. https://docs.microsoft.com/en-us/azure/cdn/cdn-verizon-http-headers --- src/apps.json | 24 ++++++++++++++++++++++++ src/icons/azure.svg | 1 + 2 files changed, 25 insertions(+) create mode 100644 src/icons/azure.svg diff --git a/src/apps.json b/src/apps.json index cf1c1022c..b2a20f2b1 100644 --- a/src/apps.json +++ b/src/apps.json @@ -115,6 +115,30 @@ "icon": "Accelerated-Mobile-Pages.svg", "website": "https://www.ampproject.org" }, + "Azure": { + "cats": [ + 22 + ], + "headers": { + "azure-regionname": "", + "azure-sitename": "", + "azure-slotname": "", + "azure-version": "" + }, + "icon": "azure.svg", + "website": "https://azure.microsoft.com" + }, + "Azure CDN": { + "cats": [ + 31 + ], + "headers": { + "server": "(?:ECAcc|ECS|ECD)", + "X-EC-Debug": "" + }, + "icon": "azure.svg", + "website": "https://azure.microsoft.com/en-us/services/cdn/" + }, "Acquia Cloud": { "cats": [ 22 diff --git a/src/icons/azure.svg b/src/icons/azure.svg new file mode 100644 index 000000000..2ff63c104 --- /dev/null +++ b/src/icons/azure.svg @@ -0,0 +1 @@ + \ No newline at end of file From 9eed0a3be3d1be1fa668ad243c614dfd253fe8e7 Mon Sep 17 00:00:00 2001 From: Kyle Taylor Date: Wed, 10 Apr 2019 13:26:13 -0500 Subject: [PATCH 2/3] Detect from beginning of string --- src/apps.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps.json b/src/apps.json index b2a20f2b1..a0bb8348b 100644 --- a/src/apps.json +++ b/src/apps.json @@ -133,7 +133,7 @@ 31 ], "headers": { - "server": "(?:ECAcc|ECS|ECD)", + "server": "^(?:ECAcc|ECS|ECD)", "X-EC-Debug": "" }, "icon": "azure.svg", From e975c1e2cc25703bd957bc7eb36caa8aa1754a69 Mon Sep 17 00:00:00 2001 From: Kyle Taylor Date: Thu, 11 Apr 2019 12:07:48 -0500 Subject: [PATCH 3/3] =?UTF-8?q?Updating=20Azure=E2=80=99s=20category?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change Azure’s category to PaaS since it’s not just a Web Server. --- src/apps.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps.json b/src/apps.json index a0bb8348b..0a7cab3ca 100644 --- a/src/apps.json +++ b/src/apps.json @@ -117,7 +117,7 @@ }, "Azure": { "cats": [ - 22 + 62 ], "headers": { "azure-regionname": "",