Skip to content

Commit e09f0db

Browse files
authored
Include instructions how to check for updates
1 parent 1830dd8 commit e09f0db

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

articles/machine-learning/concept-vulnerability-management.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,24 @@ Compute instances get the latest VM images at the time of provisioning. Microsof
8383

8484
1. 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+
89104
You 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.

0 commit comments

Comments
 (0)