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 Java, the application cannot benefit from recent security improvements to the runtime engine.
Set properties.siteConfig.javaVersion
attribute to 11
.
Set site_config.application_stack.java_version
to 17
(azurerm_linux_web_app
, azurerm_windows_web_app
), and set site_config.java_version
attribute to 11
(azurerm_app_service
).
resource "azurerm_app_service" "allowed1" {
name = "example495-app-service-1"
location = azurerm_resource_group.example495a.location
resource_group_name = azurerm_resource_group.example495a.name
app_service_plan_id = azurerm_app_service_plan.defaultasp.id
site_config {
java_version = "11"
}
}
resource "azurerm_linux_web_app" "allowed2" {
name = "example495-app-service-lindefault"
location = azurerm_resource_group.example495a.location
resource_group_name = azurerm_resource_group.example495a.name
service_plan_id = azurerm_service_plan.example495asp.id
site_config {
application_stack {
java_version = "17"
java_server_version = "17"
java_server = "JAVA"
}
}
}
resource "azurerm_windows_web_app" "allowed3" {
name = "example495-app-service-default"
location = azurerm_resource_group.example495a.location
resource_group_name = azurerm_resource_group.example495a.name
service_plan_id = azurerm_service_plan.example495asp1.id
site_config {
application_stack {
java_version = "17"
}
}
}