We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
CKV_AWS_119 - DynamoDB table encryption
**Describe the bug**
In general DynamoDB tables are encrypted by default and this can't be turned off, you can change it to use a KMS key of your choice. Therefore the check description is incorrect.

Further infos can be found in the API documentation https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_SSESpecification.html



--- 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/DynamoDBTablesEncrypted.py`
Content:
```
1 from checkov.common.models.enums import CheckCategories
2 from checkov.terraform.checks.resource.base_resource_value_check import BaseResourceValueCheck
3 
4 
5 class DynamoDBTablesEncrypted(BaseResourceValueCheck):
6     def __init__(self):
7         name = "Ensure DynamoDB Tables are encrypted"
8         id = "CKV_AWS_119"
9         supported_resources = ['aws_dynamodb_table']
10         categories = [CheckCategories.NETWORKING]
11         super().__init__(name=name, id=id, categories=categories, supported_resources=supported_resources)
12 
13     def get_inspected_key(self):
14         return "server_side_encryption/[0]/enabled"
15 
16 
17 check = DynamoDBTablesEncrypted()
18
```
--- 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()

```

diff --git a/checkov/terraform/checks/resource/aws/DynamoDBTablesEncrypted.py b/checkov/terraform/checks/resource/aws/DynamoDBTablesEncrypted.py
--- a/checkov/terraform/checks/resource/aws/DynamoDBTablesEncrypted.py
+++ b/checkov/terraform/checks/resource/aws/DynamoDBTablesEncrypted.py
@@ -4,10 +4,10 @@
 
 class DynamoDBTablesEncrypted(BaseResourceValueCheck):
     def __init__(self):
-        name = "Ensure DynamoDB Tables are encrypted"
+        name = "Ensure DynamoDB Tables are encrypted using KMS"
         id = "CKV_AWS_119"
-        supported_resources = ['aws_dynamodb_table']
-        categories = [CheckCategories.NETWORKING]
+        supported_resources = ["aws_dynamodb_table"]
+        categories = [CheckCategories.ENCRYPTION]
         super().__init__(name=name, id=id, categories=categories, supported_resources=supported_resources)
 
     def get_inspected_key(self):

{"golden_diff": "diff --git a/checkov/terraform/checks/resource/aws/DynamoDBTablesEncrypted.py b/checkov/terraform/checks/resource/aws/DynamoDBTablesEncrypted.py\n--- a/checkov/terraform/checks/resource/aws/DynamoDBTablesEncrypted.py\n+++ b/checkov/terraform/checks/resource/aws/DynamoDBTablesEncrypted.py\n@@ -4,10 +4,10 @@\n \n class DynamoDBTablesEncrypted(BaseResourceValueCheck):\n     def __init__(self):\n-        name = \"Ensure DynamoDB Tables are encrypted\"\n+        name = \"Ensure DynamoDB Tables are encrypted using KMS\"\n         id = \"CKV_AWS_119\"\n-        supported_resources = ['aws_dynamodb_table']\n-        categories = [CheckCategories.NETWORKING]\n+        supported_resources = [\"aws_dynamodb_table\"]\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", "issue": "CKV_AWS_119 - DynamoDB table encryption\n**Describe the bug**\r\nIn general DynamoDB tables are encrypted by default and this can't be turned off, you can change it to use a KMS key of your choice. Therefore the check description is incorrect.\r\n\r\nFurther infos can be found in the API documentation https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_SSESpecification.html\r\n\r\n\n", "before_files": [{"content": "from checkov.common.models.enums import CheckCategories\nfrom checkov.terraform.checks.resource.base_resource_value_check import BaseResourceValueCheck\n\n\nclass DynamoDBTablesEncrypted(BaseResourceValueCheck):\n    def __init__(self):\n        name = \"Ensure DynamoDB Tables are encrypted\"\n        id = \"CKV_AWS_119\"\n        supported_resources = ['aws_dynamodb_table']\n        categories = [CheckCategories.NETWORKING]\n        super().__init__(name=name, id=id, categories=categories, supported_resources=supported_resources)\n\n    def get_inspected_key(self):\n        return \"server_side_encryption/[0]/enabled\"\n\n\ncheck = DynamoDBTablesEncrypted()\n", "path": "checkov/terraform/checks/resource/aws/DynamoDBTablesEncrypted.py"}], "after_files": [{"content": "from checkov.common.models.enums import CheckCategories\nfrom checkov.terraform.checks.resource.base_resource_value_check import BaseResourceValueCheck\n\n\nclass DynamoDBTablesEncrypted(BaseResourceValueCheck):\n    def __init__(self):\n        name = \"Ensure DynamoDB Tables are encrypted using KMS\"\n        id = \"CKV_AWS_119\"\n        supported_resources = [\"aws_dynamodb_table\"]\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 \"server_side_encryption/[0]/enabled\"\n\n\ncheck = DynamoDBTablesEncrypted()\n", "path": "checkov/terraform/checks/resource/aws/DynamoDBTablesEncrypted.py"}]}