mirror of
https://github.com/ghndrx/prowler.git
synced 2026-02-11 07:15:15 +00:00
chore(aws): Improve tests and status from accessanalyzer to cloudwatch (#2711)
This commit is contained in:
@@ -73,6 +73,7 @@ class Test_awslambda_function_url_public:
|
||||
result[0].status_extended
|
||||
== f"Lambda function {function_name} has a publicly accessible function URL."
|
||||
)
|
||||
assert result[0].resource_tags == []
|
||||
|
||||
def test_function_private_url(self):
|
||||
lambda_client = mock.MagicMock
|
||||
@@ -116,3 +117,4 @@ class Test_awslambda_function_url_public:
|
||||
result[0].status_extended
|
||||
== f"Lambda function {function_name} does not have a publicly accessible function URL."
|
||||
)
|
||||
assert result[0].resource_tags == []
|
||||
|
||||
Reference in New Issue
Block a user