From 2706c24b34e01d453c96008e4a144a5aaa8c3ac3 Mon Sep 17 00:00:00 2001 From: Andy Loughran <104910888+andyloughran@users.noreply.github.com> Date: Sat, 30 Sep 2023 12:55:27 +0100 Subject: [PATCH] Update checkov/cloudformation/checks/resource/aws/LambdaServicePermission.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Anton GrĂ¼bel --- .../checks/resource/aws/LambdaServicePermission.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/checkov/cloudformation/checks/resource/aws/LambdaServicePermission.py b/checkov/cloudformation/checks/resource/aws/LambdaServicePermission.py index 261fd19ea70..f2203d62444 100644 --- a/checkov/cloudformation/checks/resource/aws/LambdaServicePermission.py +++ b/checkov/cloudformation/checks/resource/aws/LambdaServicePermission.py @@ -8,8 +8,8 @@ class LambdaServicePermission(BaseResourceCheck): def __init__(self) -> None: name = "Ensure that AWS Lambda function permissions delegated to AWS services are limited by SourceArn or SourceAccount" id = "CKV_AWS_293" - supported_resources = ["AWS::Lambda::Permission"] - categories = [CheckCategories.GENERAL_SECURITY, ] + supported_resources = ("AWS::Lambda::Permission",) + categories = (CheckCategories.IAM,) super().__init__(name=name, id=id, categories=categories, supported_resources=supported_resources) def scan_resource_conf(self, conf):