File tree Expand file tree Collapse file tree 1 file changed +18
-3
lines changed
articles/machine-learning Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -83,9 +83,24 @@ Compute instances get the latest VM images at the time of provisioning. Microsof
8383
84841 . Alternatively, regularly update OS and python packages.
8585
86- * Use Linux package management tools ` sudo apt-get update ` to update the package list with the latest versions.
87- * Use ` sudo apt-get upgrade ` to upgrade packages to the latest versions. Note that package conflicts might occur using this approach.
88-
86+ * Use Linux package management tools to update the package list with the latest versions.
87+
88+ ``` bash
89+ sudo apt-get update
90+ ```
91+
92+ * Use Linux package management tools to upgrade packages to the latest versions. Note that package conflicts might occur using this approach.
93+
94+ ` ` ` bash
95+ sudo apt-get upgrade
96+ ` ` `
97+
98+ * Use Python package management tools to upgrade packages and check for updates.
99+
100+ ` ` ` bash
101+ pip list --outdated
102+ ` ` `
103+
89104You may install and run additional scanning software on compute instance to scan for security issues.
90105
91106* [Trivy](https://github.com/aquasecurity/trivy) may be used to discover OS and python package level vulnerabilities.
You can’t perform that action at this time.
0 commit comments