From 1212b6646516764b2ed6eb2f0e8ed04e49486967 Mon Sep 17 00:00:00 2001 From: asukumar22 <70966383+asukumar22@users.noreply.github.com> Date: Wed, 25 Sep 2024 18:46:41 -0700 Subject: [PATCH 1/2] Added ARG query to A01.29 in afd_checklist.en.json and updated the learn more link with right doc Added ARG query to A01.29 in afd_checklist.en.json and updated the learn more link with right doc --- checklists/afd_checklist.en.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/checklists/afd_checklist.en.json b/checklists/afd_checklist.en.json index 7f76ab13c..41955ab16 100644 --- a/checklists/afd_checklist.en.json +++ b/checklists/afd_checklist.en.json @@ -186,7 +186,8 @@ "guid": "17ba124b-127d-42b6-9322-388d5b2bbcfc", "id": "A01.29", "severity": "High", - "link": "https://learn.microsoft.com/azure/web-application-firewall/ag/application-gateway-waf-request-size-limits#request-body-inspection" + "graph" : "resources | where type =~ 'microsoft.network/frontdoorwebapplicationfirewallpolicies' | where properties['policySettings']['requestBodyCheck'] =~ "Enabled"| extend compliant = properties['policySettings']['requestBodyCheck'] =~ 'Enabled' | distinct id, name, compliant", + "link": "https://learn.microsoft.com/azure/web-application-firewall/shared/waf-azure-policy#require-request-inspection" }, { "category": "Network Topology and Connectivity", @@ -514,4 +515,4 @@ "waf": "all", "timestamp": "September 23, 2024" } -} \ No newline at end of file +} From bf0150debc188453b8899712a9c55b9b1adc9c46 Mon Sep 17 00:00:00 2001 From: asukumar22 <70966383+asukumar22@users.noreply.github.com> Date: Thu, 26 Sep 2024 14:03:05 -0700 Subject: [PATCH 2/2] Added single quotes per review comments in A1.29 in afd_checklist.en.json --- checklists/afd_checklist.en.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checklists/afd_checklist.en.json b/checklists/afd_checklist.en.json index 41955ab16..ca4d52336 100644 --- a/checklists/afd_checklist.en.json +++ b/checklists/afd_checklist.en.json @@ -186,7 +186,7 @@ "guid": "17ba124b-127d-42b6-9322-388d5b2bbcfc", "id": "A01.29", "severity": "High", - "graph" : "resources | where type =~ 'microsoft.network/frontdoorwebapplicationfirewallpolicies' | where properties['policySettings']['requestBodyCheck'] =~ "Enabled"| extend compliant = properties['policySettings']['requestBodyCheck'] =~ 'Enabled' | distinct id, name, compliant", + "graph" : 'resources | where type =~ 'microsoft.network/frontdoorwebapplicationfirewallpolicies' | where properties['policySettings']['requestBodyCheck'] =~ 'Enabled'| extend compliant = properties['policySettings']['requestBodyCheck'] =~ 'Enabled' | distinct id, name, compliant', "link": "https://learn.microsoft.com/azure/web-application-firewall/shared/waf-azure-policy#require-request-inspection" }, {