From 681900273003df3e5f2a1b1b8ba3bee79d14839c Mon Sep 17 00:00:00 2001 From: Pascal Hofmann Date: Tue, 20 Aug 2024 15:02:57 +0200 Subject: [PATCH] chore: Fix typo in explanation --- avd_docs/aws/elb/AVD-AWS-0052/docs.md | 2 +- checks/cloud/aws/elb/drop_invalid_headers.go | 2 +- checks/cloud/aws/elb/drop_invalid_headers.rego | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/avd_docs/aws/elb/AVD-AWS-0052/docs.md b/avd_docs/aws/elb/AVD-AWS-0052/docs.md index 901f7438..d2172247 100644 --- a/avd_docs/aws/elb/AVD-AWS-0052/docs.md +++ b/avd_docs/aws/elb/AVD-AWS-0052/docs.md @@ -1,6 +1,6 @@ Passing unknown or invalid headers through to the target poses a potential risk of compromise. -By setting drop_invalid_header_fields to true, anything that doe not conform to well known, defined headers will be removed by the load balancer. +By setting drop_invalid_header_fields to true, anything that does not conform to well known, defined headers will be removed by the load balancer. ### Impact diff --git a/checks/cloud/aws/elb/drop_invalid_headers.go b/checks/cloud/aws/elb/drop_invalid_headers.go index 46329ea0..874ee839 100755 --- a/checks/cloud/aws/elb/drop_invalid_headers.go +++ b/checks/cloud/aws/elb/drop_invalid_headers.go @@ -20,7 +20,7 @@ var CheckDropInvalidHeaders = rules.Register( Resolution: "Set drop_invalid_header_fields to true", Explanation: `Passing unknown or invalid headers through to the target poses a potential risk of compromise. -By setting drop_invalid_header_fields to true, anything that doe not conform to well known, defined headers will be removed by the load balancer.`, +By setting drop_invalid_header_fields to true, anything that does not conform to well known, defined headers will be removed by the load balancer.`, Links: []string{ "https://docs.aws.amazon.com/elasticloadbalancing/latest/application/application-load-balancers.html", }, diff --git a/checks/cloud/aws/elb/drop_invalid_headers.rego b/checks/cloud/aws/elb/drop_invalid_headers.rego index c4c1e4c3..0939307a 100644 --- a/checks/cloud/aws/elb/drop_invalid_headers.rego +++ b/checks/cloud/aws/elb/drop_invalid_headers.rego @@ -2,7 +2,7 @@ # title: Load balancers should drop invalid headers # description: | # Passing unknown or invalid headers through to the target poses a potential risk of compromise. -# By setting drop_invalid_header_fields to true, anything that doe not conform to well known, defined headers will be removed by the load balancer. +# By setting drop_invalid_header_fields to true, anything that does not conform to well known, defined headers will be removed by the load balancer. # scope: package # schemas: # - input: schema["cloud"]