From 82de3b5f407e2a21e500ac9e09055ea94ebfc012 Mon Sep 17 00:00:00 2001 From: Sandro Braidotti Date: Wed, 25 Sep 2024 12:35:36 -0400 Subject: [PATCH] update CKV rule numbers --- .../resource/aws/SagemakerEndpointConfigurationNameSpecified.py | 2 +- ...SagemakerEndpointConfigurationProductionVariantsSpecified.py | 2 +- .../resource/aws/SagemakerNotebookLifecycleConfigSpecified.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/checkov/terraform/checks/resource/aws/SagemakerEndpointConfigurationNameSpecified.py b/checkov/terraform/checks/resource/aws/SagemakerEndpointConfigurationNameSpecified.py index 53fdf6b4df2..b364b8cf253 100644 --- a/checkov/terraform/checks/resource/aws/SagemakerEndpointConfigurationNameSpecified.py +++ b/checkov/terraform/checks/resource/aws/SagemakerEndpointConfigurationNameSpecified.py @@ -5,7 +5,7 @@ class SagemakerEndpointConfigurationEndpointNameSpecified(BaseResourceValueCheck): def __init__(self): name = "Ensure Amazon SageMaker endpoint has a name specified" - id = "CKV_AWS_990" + id = "CKV_AWS_375" supported_resources = ['aws_sagemaker_endpoint_configuration'] categories = [CheckCategories.AI_AND_ML] super().__init__(name=name, id=id, categories=categories, supported_resources=supported_resources) diff --git a/checkov/terraform/checks/resource/aws/SagemakerEndpointConfigurationProductionVariantsSpecified.py b/checkov/terraform/checks/resource/aws/SagemakerEndpointConfigurationProductionVariantsSpecified.py index c0a4728fb99..a651f9da019 100644 --- a/checkov/terraform/checks/resource/aws/SagemakerEndpointConfigurationProductionVariantsSpecified.py +++ b/checkov/terraform/checks/resource/aws/SagemakerEndpointConfigurationProductionVariantsSpecified.py @@ -4,7 +4,7 @@ class SagemakerEndpointConfigurationProductionVariantsSpecified(BaseResourceCheck): def __init__(self): name = "Ensure Amazon SageMaker endpoint configuration has at least one production variant specified" - id = "CKV_AWS_991" + id = "CKV_AWS_376" supported_resources = ['aws_sagemaker_endpoint_configuration'] categories = [CheckCategories.AI_AND_ML] super().__init__(name=name, id=id, categories=categories, supported_resources=supported_resources) diff --git a/checkov/terraform/checks/resource/aws/SagemakerNotebookLifecycleConfigSpecified.py b/checkov/terraform/checks/resource/aws/SagemakerNotebookLifecycleConfigSpecified.py index e7501b05462..cefd0193762 100644 --- a/checkov/terraform/checks/resource/aws/SagemakerNotebookLifecycleConfigSpecified.py +++ b/checkov/terraform/checks/resource/aws/SagemakerNotebookLifecycleConfigSpecified.py @@ -5,7 +5,7 @@ class SagemakerNotebookLifecycleConfigSpecified(BaseResourceValueCheck): def __init__(self): name = "Ensure Amazon SageMaker notebook instances use lifecycle configurations" - id = "CKV_AWS_992" + id = "CKV_AWS_377" supported_resources = ['aws_sagemaker_notebook_instance'] categories = [CheckCategories.GENERAL_SECURITY] super().__init__(name=name, id=id, categories=categories, supported_resources=supported_resources)