mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-11 14:04:17 +00:00
feat(awslambda): New check to ensure that a function is inside VPC (#4783)
Co-authored-by: Sergio Garcia <38561120+sergargar@users.noreply.github.com>
This commit is contained in:
1 parent
8483486095
commit
1a8bc14587
6 files changed
+217
-3
No files matched your search
@@ -220,6 +220,7 @@ class Test_Lambda_Service:
|
||||
assert awslambda.functions[
|
||||
lambda_arn_1
|
||||
].url_config.cors_config.allow_origins == ["*"]
|
||||
assert awslambda.functions[lambda_arn_1].vpc_id == "vpc-123abc"
|
||||
|
||||
assert awslambda.functions[lambda_arn_1].tags == [{"test": "test"}]
|
||||
|
||||
|
||||
Reference in new issue
Block a user