mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-23 12:31:54 +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:
committed by
GitHub
parent
8483486095
commit
1a8bc14587
@@ -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