mirror of
https://github.com/ghndrx/prowler.git
synced 2026-02-13 00:05:04 +00:00
fix(cloudwatch secrets): fix nonetype error handling (#2543)
This commit is contained in:
@@ -79,7 +79,12 @@ class Test_cloudwatch_log_group_no_secrets_in_logs:
|
||||
logs_client.put_log_events(
|
||||
logGroupName="test",
|
||||
logStreamName="test stream",
|
||||
logEvents=[{"timestamp": 0, "message": "line"}],
|
||||
logEvents=[
|
||||
{
|
||||
"timestamp": int(unix_time_millis()),
|
||||
"message": "non sensitive message",
|
||||
}
|
||||
],
|
||||
)
|
||||
from prowler.providers.aws.services.cloudwatch.cloudwatch_service import Logs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user