AZURE / App Service / Java Version

November 4, 2022 · View on GitHub

CloudSploit

AZURE / App Service / Java Version

Quick Info

Plugin TitleJava Version
CloudAZURE
CategoryApp Service
DescriptionEnsures the latest version of Java is installed for all App Services
More InfoInstalling the latest version of Java will reduce the security risk of missing security patches.
AZURE Linkhttps://docs.microsoft.com/en-us/azure/app-service/app-service-web-get-started-java
Recommended ActionSelect the latest version of Java for all Java-based App Services

Detailed Remediation Steps

  1. Log in to the Microsoft Azure Management Console.
  2. Find the search bar at the top and search for App Services.
  3. Select the "App Service" by clicking on "Name" to go to its configuration.
  4. Scroll down the selected "App Services" left navigation panel and in "Settings" click on the "Configuration" option.
  5. On the "Configuration" page select the General settings tab, scroll down and on the "Stack settings" check the "Major Version" for Java. It’s recommended to use only latest version of the environment stack.
  6. If the "App Service" is not using the latest version of Java then select the latest version from the "Major version" dropdown.
  7. Click on the "Save" button at the top to make the changes.
  8. Click "Continue" in the confirmation pop up to save the changes.
  9. Repeat steps number 3 - 7 to verify all other "Apps" are using latest Stack version in the account.