prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Duplicate check
  **Describe the bug**
  The new check `CKV_AWS_125` popped up complaining about me not activating point in time recovery for a DynamoDB table, which is surprising, because I already acknowledged it in the past. After digging into the code I found out that check `CKV_AWS_125` and `CKV_AWS_28` are identical. It would be great to delete one of them, probably the new one.
  
  **Additional context**
  https://github.com/bridgecrewio/checkov/blob/caafcbb83d6901b57c9a39464673670c150f0a33/checkov/terraform/checks/resource/aws/DynamodbRecovery.py#L5-L14
  https://github.com/bridgecrewio/checkov/blob/caafcbb83d6901b57c9a39464673670c150f0a33/checkov/terraform/checks/resource/aws/DynamodbPointInTimeRecoveryEnabled.py#L5-L17
  
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `checkov/terraform/checks/resource/aws/DynamodbPointInTimeRecoveryEnabled.py`
  Content:
  ```
  1 from checkov.common.models.enums import CheckCategories, CheckResult
  2 from checkov.terraform.checks.resource.base_resource_value_check import BaseResourceValueCheck
  3 
  4 
  5 class DynamodbPointInTimeRecoveryEnabled(BaseResourceValueCheck):
  6     def __init__(self):
  7         name = "Ensure that that point in time recovery is enabled for Amazon DynamoDB tables"
  8         id = "CKV_AWS_125"
  9         supported_resources = ['aws_dynamodb_table']
  10         categories = [CheckCategories.BACKUP_AND_RECOVERY]
  11         super().__init__(name=name, id=id, categories=categories, supported_resources=supported_resources)
  12 
  13     def get_inspected_key(self):
  14         return "point_in_time_recovery/[0]/enabled"
  15 
  16     def get_expected_value(self):
  17         return True
  18 
  19 
  20 check = DynamodbPointInTimeRecoveryEnabled()
  21
  ```
  
  Path: `checkov/terraform/checks/resource/aws/KMSKeyRotation.py`
  Content:
  ```
  1 from checkov.terraform.checks.resource.base_resource_value_check import BaseResourceValueCheck
  2 from checkov.common.models.enums import CheckCategories
  3 
  4 
  5 class KMSKeyRotation(BaseResourceValueCheck):
  6 
  7     def __init__(self):
  8         name = "Ensure KMS have rotation policy"
  9         id = "CKV_AWS_132"
  10         supported_resources = ['aws_kms_key']
  11         categories = [CheckCategories.ENCRYPTION]
  12         super().__init__(name=name, id=id, categories=categories, supported_resources=supported_resources)
  13 
  14     def get_inspected_key(self):
  15         return "enable_key_rotation"
  16 
  17 
  18 check = KMSKeyRotation()
  19
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/checkov/terraform/checks/resource/aws/DynamodbPointInTimeRecoveryEnabled.py b/checkov/terraform/checks/resource/aws/DynamodbPointInTimeRecoveryEnabled.py
  deleted file mode 100644
  --- a/checkov/terraform/checks/resource/aws/DynamodbPointInTimeRecoveryEnabled.py
  +++ /dev/null
  @@ -1,20 +0,0 @@
  -from checkov.common.models.enums import CheckCategories, CheckResult
  -from checkov.terraform.checks.resource.base_resource_value_check import BaseResourceValueCheck
  -
  -
  -class DynamodbPointInTimeRecoveryEnabled(BaseResourceValueCheck):
  -    def __init__(self):
  -        name = "Ensure that that point in time recovery is enabled for Amazon DynamoDB tables"
  -        id = "CKV_AWS_125"
  -        supported_resources = ['aws_dynamodb_table']
  -        categories = [CheckCategories.BACKUP_AND_RECOVERY]
  -        super().__init__(name=name, id=id, categories=categories, supported_resources=supported_resources)
  -
  -    def get_inspected_key(self):
  -        return "point_in_time_recovery/[0]/enabled"
  -
  -    def get_expected_value(self):
  -        return True
  -
  -
  -check = DynamodbPointInTimeRecoveryEnabled()
  diff --git a/checkov/terraform/checks/resource/aws/KMSKeyRotation.py b/checkov/terraform/checks/resource/aws/KMSKeyRotation.py
  deleted file mode 100644
  --- a/checkov/terraform/checks/resource/aws/KMSKeyRotation.py
  +++ /dev/null
  @@ -1,18 +0,0 @@
  -from checkov.terraform.checks.resource.base_resource_value_check import BaseResourceValueCheck
  -from checkov.common.models.enums import CheckCategories
  -
  -
  -class KMSKeyRotation(BaseResourceValueCheck):
  -
  -    def __init__(self):
  -        name = "Ensure KMS have rotation policy"
  -        id = "CKV_AWS_132"
  -        supported_resources = ['aws_kms_key']
  -        categories = [CheckCategories.ENCRYPTION]
  -        super().__init__(name=name, id=id, categories=categories, supported_resources=supported_resources)
  -
  -    def get_inspected_key(self):
  -        return "enable_key_rotation"
  -
  -
  -check = KMSKeyRotation()
  
verification_info: {"golden_diff": "diff --git a/checkov/terraform/checks/resource/aws/DynamodbPointInTimeRecoveryEnabled.py b/checkov/terraform/checks/resource/aws/DynamodbPointInTimeRecoveryEnabled.py\ndeleted file mode 100644\n--- a/checkov/terraform/checks/resource/aws/DynamodbPointInTimeRecoveryEnabled.py\n+++ /dev/null\n@@ -1,20 +0,0 @@\n-from checkov.common.models.enums import CheckCategories, CheckResult\n-from checkov.terraform.checks.resource.base_resource_value_check import BaseResourceValueCheck\n-\n-\n-class DynamodbPointInTimeRecoveryEnabled(BaseResourceValueCheck):\n-    def __init__(self):\n-        name = \"Ensure that that point in time recovery is enabled for Amazon DynamoDB tables\"\n-        id = \"CKV_AWS_125\"\n-        supported_resources = ['aws_dynamodb_table']\n-        categories = [CheckCategories.BACKUP_AND_RECOVERY]\n-        super().__init__(name=name, id=id, categories=categories, supported_resources=supported_resources)\n-\n-    def get_inspected_key(self):\n-        return \"point_in_time_recovery/[0]/enabled\"\n-\n-    def get_expected_value(self):\n-        return True\n-\n-\n-check = DynamodbPointInTimeRecoveryEnabled()\ndiff --git a/checkov/terraform/checks/resource/aws/KMSKeyRotation.py b/checkov/terraform/checks/resource/aws/KMSKeyRotation.py\ndeleted file mode 100644\n--- a/checkov/terraform/checks/resource/aws/KMSKeyRotation.py\n+++ /dev/null\n@@ -1,18 +0,0 @@\n-from checkov.terraform.checks.resource.base_resource_value_check import BaseResourceValueCheck\n-from checkov.common.models.enums import CheckCategories\n-\n-\n-class KMSKeyRotation(BaseResourceValueCheck):\n-\n-    def __init__(self):\n-        name = \"Ensure KMS have rotation policy\"\n-        id = \"CKV_AWS_132\"\n-        supported_resources = ['aws_kms_key']\n-        categories = [CheckCategories.ENCRYPTION]\n-        super().__init__(name=name, id=id, categories=categories, supported_resources=supported_resources)\n-\n-    def get_inspected_key(self):\n-        return \"enable_key_rotation\"\n-\n-\n-check = KMSKeyRotation()\n", "issue": "Duplicate check\n**Describe the bug**\r\nThe new check `CKV_AWS_125` popped up complaining about me not activating point in time recovery for a DynamoDB table, which is surprising, because I already acknowledged it in the past. After digging into the code I found out that check `CKV_AWS_125` and `CKV_AWS_28` are identical. It would be great to delete one of them, probably the new one.\r\n\r\n**Additional context**\r\nhttps://github.com/bridgecrewio/checkov/blob/caafcbb83d6901b57c9a39464673670c150f0a33/checkov/terraform/checks/resource/aws/DynamodbRecovery.py#L5-L14\r\nhttps://github.com/bridgecrewio/checkov/blob/caafcbb83d6901b57c9a39464673670c150f0a33/checkov/terraform/checks/resource/aws/DynamodbPointInTimeRecoveryEnabled.py#L5-L17\r\n\n", "before_files": [{"content": "from checkov.common.models.enums import CheckCategories, CheckResult\nfrom checkov.terraform.checks.resource.base_resource_value_check import BaseResourceValueCheck\n\n\nclass DynamodbPointInTimeRecoveryEnabled(BaseResourceValueCheck):\n    def __init__(self):\n        name = \"Ensure that that point in time recovery is enabled for Amazon DynamoDB tables\"\n        id = \"CKV_AWS_125\"\n        supported_resources = ['aws_dynamodb_table']\n        categories = [CheckCategories.BACKUP_AND_RECOVERY]\n        super().__init__(name=name, id=id, categories=categories, supported_resources=supported_resources)\n\n    def get_inspected_key(self):\n        return \"point_in_time_recovery/[0]/enabled\"\n\n    def get_expected_value(self):\n        return True\n\n\ncheck = DynamodbPointInTimeRecoveryEnabled()\n", "path": "checkov/terraform/checks/resource/aws/DynamodbPointInTimeRecoveryEnabled.py"}, {"content": "from checkov.terraform.checks.resource.base_resource_value_check import BaseResourceValueCheck\nfrom checkov.common.models.enums import CheckCategories\n\n\nclass KMSKeyRotation(BaseResourceValueCheck):\n\n    def __init__(self):\n        name = \"Ensure KMS have rotation policy\"\n        id = \"CKV_AWS_132\"\n        supported_resources = ['aws_kms_key']\n        categories = [CheckCategories.ENCRYPTION]\n        super().__init__(name=name, id=id, categories=categories, supported_resources=supported_resources)\n\n    def get_inspected_key(self):\n        return \"enable_key_rotation\"\n\n\ncheck = KMSKeyRotation()\n", "path": "checkov/terraform/checks/resource/aws/KMSKeyRotation.py"}], "after_files": [{"content": null, "path": "checkov/terraform/checks/resource/aws/DynamodbPointInTimeRecoveryEnabled.py"}, {"content": null, "path": "checkov/terraform/checks/resource/aws/KMSKeyRotation.py"}]}