Repository: bridgecrewio/checkov

Issue:
CKV_AZURE_80 - dotnet_framework_version with v6.0 fails
**Describe the issue**
Currently .NET 6.0 is the latest LTS version. However, CKV_AZURE_80 expects that latest version is v5.0.

**Examples**
```
resource "azurerm_app_service" "searchApi" {
  ...
  site_config {
    dotnet_framework_version = "v6.0"
  }
}
```
There should be no warning for CKV_AZURE_80 with the above configuration.

**Version (please complete the following information):**
 - Checkov Version 2.0.717


Discussion:

Patch:
diff --git a/checkov/terraform/checks/resource/azure/AppServiceDotnetFrameworkVersion.py b/checkov/terraform/checks/resource/azure/AppServiceDotnetFrameworkVersion.py
index e4fd2f461..8aa662203 100644
--- a/checkov/terraform/checks/resource/azure/AppServiceDotnetFrameworkVersion.py
+++ b/checkov/terraform/checks/resource/azure/AppServiceDotnetFrameworkVersion.py
@@ -14,7 +14,7 @@ class AppServiceDotnetFrameworkVersion(BaseResourceValueCheck):
         return "site_config/0/dotnet_framework_version"
 
     def get_expected_value(self):
-        return "v5.0"
+        return "v6.0"
 
 
 check = AppServiceDotnetFrameworkVersion()


Test patch:
diff --git a/tests/terraform/checks/resource/azure/test_AppServiceDotnetFrameworkVersion.py b/tests/terraform/checks/resource/azure/test_AppServiceDotnetFrameworkVersion.py
index d392d226e..e7c140a41 100644
--- a/tests/terraform/checks/resource/azure/test_AppServiceDotnetFrameworkVersion.py
+++ b/tests/terraform/checks/resource/azure/test_AppServiceDotnetFrameworkVersion.py
@@ -17,7 +17,7 @@ class TestAppServiceDotnetFrameworkVersion(unittest.TestCase):
               app_service_plan_id = azurerm_app_service_plan.example.id
               https_only          = true
               site_config {
-                dotnet_framework_version = "v4.0"
+                dotnet_framework_version = "v5.0"
                 scm_type                 = "someValue"
                 }
               }
@@ -52,7 +52,7 @@ class TestAppServiceDotnetFrameworkVersion(unittest.TestCase):
               app_service_plan_id = azurerm_app_service_plan.example.id
               https_only          = true
               site_config {
-                dotnet_framework_version = "v5.0"
+                dotnet_framework_version = "v6.0"
                 scm_type                 = "someValue"
                 }
               }