Skip to content

Commit

Permalink
chore: revision
Browse files Browse the repository at this point in the history
  • Loading branch information
sergargar committed Oct 16, 2024
1 parent 423cc13 commit 912f3ab
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ def execute(self):
report.resource_tags = rule_group.tags
report.status = "FAIL"
report.status_extended = (
f"AWS WAF Regional Rule Group {rule_group.id} does not have any rules."
f"AWS WAF Regional Rule Group {rule_group.name} does not have any rules."
)

if rule_group.rules:
report.status = "PASS"
report.status_extended = (
f"AWS WAF Regional Rule Group {rule_group.id} is not empty."
f"AWS WAF Regional Rule Group {rule_group.name} is not empty."
)

findings.append(report)
Expand Down

0 comments on commit 912f3ab

Please sign in to comment.