Skip to content

Commit

Permalink
chore: enchance create_web_acl information retrievement in testing
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoPBrito committed Oct 11, 2024
1 parent 4c06cb9 commit 55bd76e
Showing 1 changed file with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,7 @@ def test_web_acl_metric_in_rules(self):
"MetricName": "web-acl-test-metric",
},
Tags=[{"Key": "Name", "Value": "web-acl-test"}],
)
waf = waf["Summary"]
)["Summary"]
waf_id = waf["Id"]

from prowler.providers.aws.services.wafv2.wafv2_service import WAFv2
Expand Down Expand Up @@ -162,8 +161,7 @@ def test_no_metric_in_rules(self):
"MetricName": "web-acl-test-metric",
},
Tags=[{"Key": "Name", "Value": "web-acl-test"}],
)
waf = waf["Summary"]
)["Summary"]
waf_id = waf["Id"]

from prowler.providers.aws.services.wafv2.wafv2_service import WAFv2
Expand Down Expand Up @@ -225,8 +223,7 @@ def test_web_acl_metric_in_rule_groups(self):
},
}
],
)
waf = waf["Summary"]
)["Summary"]
waf_id = waf["Id"]

from prowler.providers.aws.services.wafv2.wafv2_service import WAFv2
Expand Down Expand Up @@ -288,8 +285,7 @@ def test_no_metric_in_rule_groups(self):
},
}
],
)
waf = waf["Summary"]
)["Summary"]
waf_id = waf["Id"]

from prowler.providers.aws.services.wafv2.wafv2_service import WAFv2
Expand Down

0 comments on commit 55bd76e

Please sign in to comment.