chore(awslambda): update obsolete lambda runtimes (#7330)

Co-authored-by: MrCloudSec <hello@mistercloudsec.com>
(cherry picked from commit 9923def4cb)

# Conflicts:
#	prowler/providers/aws/services/awslambda/awslambda_function_using_supported_runtimes/awslambda_function_using_supported_runtimes.py
This commit is contained in:
Jonny
2025-03-24 10:21:01 +00:00
parent 2fc5b069c5
commit 58c85438d3
2 changed files with 33 additions and 0 deletions
+2
View File
@@ -91,6 +91,7 @@ aws:
"python3.6",
"python2.7",
"python3.7",
"python3.8",
"nodejs4.3",
"nodejs4.3-edge",
"nodejs6.10",
@@ -101,6 +102,7 @@ aws:
"nodejs14.x",
"nodejs16.x",
"dotnet5.0",
"dotnet6",
"dotnet7",
"dotnetcore1.0",
"dotnetcore2.0",
@@ -1,6 +1,37 @@
from prowler.lib.check.models import Check, Check_Report_AWS
from prowler.providers.aws.services.awslambda.awslambda_client import awslambda_client
<<<<<<< HEAD
=======
default_obsolete_lambda_runtimes = [
"java8",
"go1.x",
"provided",
"python3.6",
"python2.7",
"python3.7",
"python3.8",
"nodejs4.3",
"nodejs4.3-edge",
"nodejs6.10",
"nodejs",
"nodejs8.10",
"nodejs10.x",
"nodejs12.x",
"nodejs14.x",
"nodejs16.x",
"dotnet5.0",
"dotnet6",
"dotnet7",
"dotnetcore1.0",
"dotnetcore2.0",
"dotnetcore2.1",
"dotnetcore3.1",
"ruby2.5",
"ruby2.7",
]
>>>>>>> 9923def4c (chore(awslambda): update obsolete lambda runtimes (#7330))
class awslambda_function_using_supported_runtimes(Check):
def execute(self):