|
13 | 13 | # Update the below values in case the template locations are changed. |
14 | 14 |
|
15 | 15 | GUARD_DUTY_BENCHMARK_TEMPLATE = "guarddutybenchmark/template_v2.yaml" |
16 | | -GUARD_DUTY_BENCHMARK_SAM_TEMPLATE = "guarddutybenchmark/packaged_v2.yaml" |
| 16 | +GUARD_DUTY_BENCHMARK_SAM_TEMPLATE = "guarddutybenchmark/packaged.yaml" |
17 | 17 |
|
18 | 18 | GUARD_DUTY_TEMPLATE = "guardduty/template.yaml" |
19 | 19 | GUARD_DUTY_SAM_TEMPLATE = "guardduty/packaged.yaml" |
@@ -363,7 +363,9 @@ def test_guard_duty_benchmark(self): |
363 | 363 | self.sumo_resource.assert_logs() |
364 | 364 |
|
365 | 365 | if len(self.sumo_resource.verificationErrors) > 0: |
| 366 | + print("****************** Assertions Failures ******************") |
366 | 367 | print("Assertions failures are:- %s." % '\n'.join(self.sumo_resource.verificationErrors)) |
| 368 | + print("****************** Assertions Failures ******************") |
367 | 369 | assert len(self.sumo_resource.verificationErrors) == 0 |
368 | 370 |
|
369 | 371 |
|
@@ -425,7 +427,9 @@ def test_guard_duty(self): |
425 | 427 | self.sumo_resource.assert_logs() |
426 | 428 |
|
427 | 429 | if len(self.sumo_resource.verificationErrors) > 0: |
| 430 | + print("****************** Assertions Failures ******************") |
428 | 431 | print("Assertions failures are:- %s." % '\n'.join(self.sumo_resource.verificationErrors)) |
| 432 | + print("****************** Assertions Failures ******************") |
429 | 433 | assert len(self.sumo_resource.verificationErrors) == 0 |
430 | 434 |
|
431 | 435 |
|
@@ -480,7 +484,9 @@ def test_cloudwatch_event(self): |
480 | 484 | self.sumo_resource.assert_logs() |
481 | 485 |
|
482 | 486 | if len(self.sumo_resource.verificationErrors) > 0: |
| 487 | + print("****************** Assertions Failures ******************") |
483 | 488 | print("Assertions failures are:- %s." % '\n'.join(self.sumo_resource.verificationErrors)) |
| 489 | + print("****************** Assertions Failures ******************") |
484 | 490 | assert len(self.sumo_resource.verificationErrors) == 0 |
485 | 491 |
|
486 | 492 |
|
|
0 commit comments