prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Add new check: API Gateway V2 should have access logging enabled 
  AccessLogSettings: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-stage.html
  
  Terraform does not currently support this: https://github.com/terraform-providers/terraform-provider-aws/issues/7004
  
  --- 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/APIGatewayAccessLogging.py`
  Content:
  ```
  1 from checkov.terraform.checks.resource.base_resource_value_check import BaseResourceValueCheck
  2 from checkov.common.models.enums import CheckCategories
  3 from checkov.common.models.consts import ANY_VALUE
  4 
  5 
  6 class APIGatewayAccessLogging(BaseResourceValueCheck):
  7 
  8     def __init__(self):
  9         name = "Ensure API Gateway has Access Logging enabled"
  10         id = "CKV_AWS_76"
  11         supported_resources = ['aws_api_gateway_stage']
  12         categories = [CheckCategories.LOGGING]
  13         super().__init__(name=name, id=id, categories=categories, supported_resources=supported_resources)
  14 
  15     def get_inspected_key(self):
  16         return "access_log_settings/[0]/destination_arn"
  17 
  18     def get_expected_value(self):
  19         return ANY_VALUE
  20 
  21 
  22 check = APIGatewayAccessLogging()
  23
  ```
  --- 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/APIGatewayAccessLogging.py b/checkov/terraform/checks/resource/aws/APIGatewayAccessLogging.py
  --- a/checkov/terraform/checks/resource/aws/APIGatewayAccessLogging.py
  +++ b/checkov/terraform/checks/resource/aws/APIGatewayAccessLogging.py
  @@ -8,7 +8,7 @@
       def __init__(self):
           name = "Ensure API Gateway has Access Logging enabled"
           id = "CKV_AWS_76"
  -        supported_resources = ['aws_api_gateway_stage']
  +        supported_resources = ['aws_api_gateway_stage', 'aws_apigatewayv2_stage']
           categories = [CheckCategories.LOGGING]
           super().__init__(name=name, id=id, categories=categories, supported_resources=supported_resources)
  
verification_info: {"golden_diff": "diff --git a/checkov/terraform/checks/resource/aws/APIGatewayAccessLogging.py b/checkov/terraform/checks/resource/aws/APIGatewayAccessLogging.py\n--- a/checkov/terraform/checks/resource/aws/APIGatewayAccessLogging.py\n+++ b/checkov/terraform/checks/resource/aws/APIGatewayAccessLogging.py\n@@ -8,7 +8,7 @@\n     def __init__(self):\n         name = \"Ensure API Gateway has Access Logging enabled\"\n         id = \"CKV_AWS_76\"\n-        supported_resources = ['aws_api_gateway_stage']\n+        supported_resources = ['aws_api_gateway_stage', 'aws_apigatewayv2_stage']\n         categories = [CheckCategories.LOGGING]\n         super().__init__(name=name, id=id, categories=categories, supported_resources=supported_resources)\n", "issue": "Add new check: API Gateway V2 should have access logging enabled \nAccessLogSettings: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-stage.html\r\n\r\nTerraform does not currently support this: https://github.com/terraform-providers/terraform-provider-aws/issues/7004\n", "before_files": [{"content": "from checkov.terraform.checks.resource.base_resource_value_check import BaseResourceValueCheck\nfrom checkov.common.models.enums import CheckCategories\nfrom checkov.common.models.consts import ANY_VALUE\n\n\nclass APIGatewayAccessLogging(BaseResourceValueCheck):\n\n    def __init__(self):\n        name = \"Ensure API Gateway has Access Logging enabled\"\n        id = \"CKV_AWS_76\"\n        supported_resources = ['aws_api_gateway_stage']\n        categories = [CheckCategories.LOGGING]\n        super().__init__(name=name, id=id, categories=categories, supported_resources=supported_resources)\n\n    def get_inspected_key(self):\n        return \"access_log_settings/[0]/destination_arn\"\n\n    def get_expected_value(self):\n        return ANY_VALUE\n\n\ncheck = APIGatewayAccessLogging()\n", "path": "checkov/terraform/checks/resource/aws/APIGatewayAccessLogging.py"}], "after_files": [{"content": "from checkov.terraform.checks.resource.base_resource_value_check import BaseResourceValueCheck\nfrom checkov.common.models.enums import CheckCategories\nfrom checkov.common.models.consts import ANY_VALUE\n\n\nclass APIGatewayAccessLogging(BaseResourceValueCheck):\n\n    def __init__(self):\n        name = \"Ensure API Gateway has Access Logging enabled\"\n        id = \"CKV_AWS_76\"\n        supported_resources = ['aws_api_gateway_stage', 'aws_apigatewayv2_stage']\n        categories = [CheckCategories.LOGGING]\n        super().__init__(name=name, id=id, categories=categories, supported_resources=supported_resources)\n\n    def get_inspected_key(self):\n        return \"access_log_settings/[0]/destination_arn\"\n\n    def get_expected_value(self):\n        return ANY_VALUE\n\n\ncheck = APIGatewayAccessLogging()\n", "path": "checkov/terraform/checks/resource/aws/APIGatewayAccessLogging.py"}]}