CCSS (Common Configuration Scoring System) is a set of measures used to determine the severity of the rule.
Each rule is associated with a high-level category. For example IAM, Container, Monitoring, Logging, Network, etc.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsWithout the latest available version of PHP, the application cannot benefit from recent security improvements to the runtime engine.
Set properties.siteConfig.phpVersion
attribute to 7.4
.
Set site_config.application_stack.php_version
to 8.1
for azurerm_linux_web_app
and 7.4
for azurerm_windows_web_app
, and set site_config.php_version
to 7.4
for azurerm_app_service
.
resource "azurerm_linux_web_app" "lindefault" {
name = "example493-app-service-lindefault"
location = azurerm_resource_group.example493a.location
resource_group_name = azurerm_resource_group.example493a.name
service_plan_id = azurerm_service_plan.example493asp.id
site_config {
application_stack {
php_version = "8.1"
}
}
}
resource "azurerm_windows_web_app" "windefault" {
name = "example493-app-service-default"
location = azurerm_resource_group.example493a.location
resource_group_name = azurerm_resource_group.example493a.name
service_plan_id = azurerm_service_plan.example493asp1.id
site_config {
application_stack {
php_version = "7.4"
}
}
}
resource "azurerm_app_service" "example1" {
name = "example493-app-service-2"
location = azurerm_resource_group.example493a.location
resource_group_name = azurerm_resource_group.example493a.name
app_service_plan_id = azurerm_app_service_plan.example.id
site_config {
php_version = "7.4"
}
}