Skip to content

Commit

Permalink
fix tag based scan
Browse files Browse the repository at this point in the history
  • Loading branch information
sergargar committed Jul 31, 2024
1 parent 377f8b1 commit 4682021
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prowler/providers/aws/aws_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ def get_tagged_resources(self, input_resource_tags: list[str]) -> list[str]:
for tag in input_resource_tags:
key = tag.split("=")[0]
value = tag.split("=")[1]
resource_tags.append({"Key": key, "Value": [value]})
resource_tags.append({"Key": key, "Values": [value]})
# Get Resources with resource_tags for all regions
for regional_client in self.generate_regional_clients(
"resourcegroupstaggingapi"
Expand Down

0 comments on commit 4682021

Please sign in to comment.