Invalid WAF arn #5805
Labels
bug
provider/aws
Issues/PRs related with the AWS provider
severity/low
Bug won't result in any noticeable breakdown of the execution.
Steps to Reproduce
Run prowler on Docker against an account with global WAF enabled.
Expected behavior
To pass
Actual Result with Screenshots or Logs
2024-11-18 10:09:43,933 [File: wafv2_service.py:122] [Module: wafv2_service] ERROR: us-east-1 -- WAFInvalidParameterException[105]: An error occurred (WAFInvalidParameterException) when calling the ListResourcesForWebACL operation: Error reason: The ARN isn't valid. A valid ARN begins with arn: and includes other information separated by colons or slashes., field: RESOURCE_ARN, parameter: arn:aws:wafv2:us-east-1:xxxxx:global/webacl/xxx/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx
2024-11-18 10:09:43,934 [File: wafv2_service.py:122] [Module: wafv2_service] ERROR: us-east-1 -- WAFInvalidParameterException[105]: An error occurred (WAFInvalidParameterException) when calling the ListResourcesForWebACL operation: Error reason: The ARN isn't valid. A valid ARN begins with arn: and includes other information separated by colons or slashes., field: RESOURCE_ARN, parameter: arn:aws:wafv2:us-east-1:xxxxx:global/webacl/xxx/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx
2024-11-18 10:09:43,938 [File: wafv2_service.py:122] [Module: wafv2_service] ERROR: us-east-1 -- WAFInvalidParameterException[105]: An error occurred (WAFInvalidParameterException) when calling the ListResourcesForWebACL operation: Error reason: The ARN isn't valid. A valid ARN begins with arn: and includes other information separated by colons or slashes., field: RESOURCE_ARN, parameter: arn:aws:wafv2:us-east-1:xxxxx:global/webacl/xxx/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx
How did you install Prowler?
Docker (docker pull toniblyx/prowler)
Environment Resource
OS used
One inside docker
Prowler version
4.5.3
Pip version
one inside docker image
Context
We have three global WAF, and three regional WAF. The three regional works, and the three global throws an malformed arn error.
The text was updated successfully, but these errors were encountered: