From 5e69db5766feb597b49cc935e35820d4ea554a8f Mon Sep 17 00:00:00 2001 From: Manuel Sommer Date: Mon, 12 Feb 2024 17:13:35 +0100 Subject: [PATCH] update according to review --- unittests/tools/test_awssecurityhub_parser.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/unittests/tools/test_awssecurityhub_parser.py b/unittests/tools/test_awssecurityhub_parser.py index ff02d1cfbbf..efda9c464ea 100644 --- a/unittests/tools/test_awssecurityhub_parser.py +++ b/unittests/tools/test_awssecurityhub_parser.py @@ -113,3 +113,5 @@ def test_guardduty(self): finding = findings[3] self.assertEqual("Low", finding.severity) self.assertTrue(finding.active) + self.assertEqual("User AssumedRole : 123123123 is anomalously invoking APIs commonly used in Discovery tactics. - Resource: 123123123", finding.title) + self.assertEqual("TTPs/Discovery/IAMUser-AnomalousBehavior\nhttps://docs.aws.amazon.com/guardduty/latest/ug/guardduty_finding-types-active.html", finding.mitigation)