Skip to content

Commit

Permalink
Patch 501 (#522)
Browse files Browse the repository at this point in the history
* Update python-version.md

* updated images for all steps

* Update python-version.md

* Apply suggestions from code review

* Update en/azure/appservice/python-version.md

Co-authored-by: alphadev4 <[email protected]>
  • Loading branch information
shuklaalok87 and alphadev4 authored Nov 4, 2022
1 parent 2a27d15 commit 5603d19
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions en/azure/appservice/python-version.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,15 @@
| **Description** | Ensures the latest version of Python is installed for all App Services |
| **More Info** | Installing the latest version of Python will reduce the security risk of missing security patches. |
| **AZURE Link** | https://docs.microsoft.com/en-us/azure/app-service/containers/how-to-configure-python |
| **Recommended Action** | Select the latest version of Python for all Python-based App Services |
| **Recommended Action** | Select the latest version of Python for all Python-based App Services. |

## Detailed Remediation Steps

1. Log into the Microsoft Azure Management Console.
2. Select the "Search resources, services, and docs" option at the top and search for App Services. </br> <img src="/resources/azure/appservice/python-version/step2.png"/>
3. Select the "App Services" by clicking on the "Name" link to access the configuration changes.</br> <img src="/resources/azure/appservice/python-version/step3.png"/>
4. Scroll down the selected "App Services" navigation panel and in "Settings" click on the "Configuration" option.</br <img src="/resources/azure/appservice/python-version/step4.png"/>
5. On the "Configuration" page select the General settings tab,scroll down and on the "Stack settings" check the "Python Version". It's recommended to use only latest version of the environment stack.</br> <img src="/resources/azure/appservice/python-version/step5.png"/>
6. Repeat steps number 2 - 5 to verify other "Apps" using latest Stack version in the account.</br>
7. Navigate to the "App Services", select the "App Service" and click on the "Name" as a link to access the configuration, select the "Configuration" under "Settings."</br> <img src="/resources/azure/appservice/python-version/step7.png"/>
8. On the "General Settings" page scroll down and on the "Stack settings" choose the latest version of the Python from the dropdown menu and click on the "Save" button to make the changes.</br> <img src="/resources/azure/appservice/python-version/step8.png"/>
9. Repeat above steps to ensure the latest version of Python is installed on all App Services. </br>
1. Log in to the Microsoft Azure Management Console.
2. Find the search bar at the top and search for App Services. </br> <img src="/resources/azure/appservice/python-version/step2.png"/>
3. Select the "App Service" by clicking on "Name" to go to its configuration.</br> <img src="/resources/azure/appservice/python-version/step3.png"/>
4. Scroll down the selected "App Services" left navigation panel and under "Settings" click on the "Configuration" option.</br> <img src="/resources/azure/appservice/python-version/step4.png"/>
5. On the "Configuration" page select the General settings tab, scroll down and on the "Stack settings" check the "Minor Version" of Python. It’s recommended to use only latest version of the environment stack.</br> <img src="/resources/azure/appservice/python-version/step5.png"/>
6. If the "App Service" is not using the latest version of Python then select the latest version from the "Minor version" dropdown.</br> <img src="/resources/azure/appservice/python-version/step6.png"/>
7. Click on the "Save" button at the top to make the changes.</br> <img src="/resources/azure/appservice/python-version/step7.png"/>
8. Click "Continue" in the confirmation pop up to save the changes.</br> <img src="/resources/azure/appservice/python-version/step8.png"/>
9. Repeat steps number 3 - 8 to verify all other "Apps" are using latest Stack version in the account.</br>
Binary file modified resources/azure/appservice/python-version/step2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/azure/appservice/python-version/step3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/azure/appservice/python-version/step4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/azure/appservice/python-version/step5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/azure/appservice/python-version/step7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/azure/appservice/python-version/step8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5603d19

Please sign in to comment.