mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-24 04:14:18 +00:00
fix(cloudwatch): solve inexistent filterPattern error (#2087)
This commit is contained in:
1 parent
738fc9acad
commit
6761048298
1 file changed
+1
-1
@@ -131,7 +131,7 @@ class Logs:
|
||||
MetricFilter(
|
||||
name=filter["filterName"],
|
||||
metric=filter["metricTransformations"][0]["metricName"],
|
||||
pattern=filter["filterPattern"],
|
||||
pattern=filter.get("filterPattern", ""),
|
||||
log_group=filter["logGroupName"],
|
||||
region=regional_client.region,
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user