Skip to content

Commit 47de628

Browse files
committed
docs(tuto): update tutorial vuls
1 parent 6161035 commit 47de628

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

tutorials/vuls-security-scanner/index.mdx

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
meta:
3-
title: Vulnerability Scanning with Vuls on Ubuntu Bionic
3+
title: Vulnerability Scanning with Vuls on Ubuntu Noble (24.04)
44
description: This page shows you how to use Vuls, an open-source, agent-less vulnerability scanner based on information from NVD, OVAL, etc.
55
content:
6-
h1: Vulnerability Scanning with Vuls on Ubuntu Bionic
6+
h1: Vulnerability Scanning with Vuls on Ubuntu Noble (24.04)
77
paragraph: This page shows you how to use Vuls, an open-source, agent-less vulnerability scanner based on information from NVD, OVAL, etc.
88
categories:
99
- instances
@@ -20,7 +20,7 @@ dates:
2020
- A Scaleway account logged into the [console](https://console.scaleway.com)
2121
- [Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization
2222
- An [SSH key](/organizations-and-projects/how-to/create-ssh-key/)
23-
- An [Instance](/instances/how-to/create-an-instance/) running on Ubuntu Bionic Beaver (18.04)
23+
- An [Instance](/instances/how-to/create-an-instance/) running on Ubuntu Noble Numbat (24.04)
2424

2525
## Installing the dependencies and pre-work
2626

@@ -31,7 +31,7 @@ dates:
3131
```
3232
3. Install required dependencies, including Go via APT:
3333
```
34-
apt install sqlite git debian-goodies gcc make wget golang-go -y
34+
apt install sqlite3 git debian-goodies gcc make wget golang go-cve-dictionary -y
3535
```
3636
4. Create a directory `vuls` which will contain all data Vuls uses:
3737
```
@@ -42,7 +42,8 @@ dates:
4242
nano /etc/profile.d/env-go.sh
4343
```
4444
6. Edit the file as follows before saving and exiting the text editor:
45-
```
45+
```go
46+
export GOROOT=/snap/go/current
4647
export GOPATH=$HOME/go
4748
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
4849
```
@@ -118,9 +119,9 @@ Vuls uses [go-cve-dictionary](https://github.com/kotakanbe/go-cve-dictionary), a
118119
```
119120
cp $GOPATH/bin/goval-dictionary /usr/local/bin
120121
```
121-
6. Fetch the OVAL data for [Ubuntu 18.x](https://github.com/kotakanbe/goval-dictionary#usage-fetch-oval-data-from-ubuntu) by running the following command:
122+
6. Fetch the OVAL data for [Ubuntu 24.x](https://github.com/kotakanbe/goval-dictionary#usage-fetch-oval-data-from-ubuntu) by running the following command:
122123
```
123-
goval-dictionary fetch-ubuntu -dbpath=/usr/share/vuls/oval.sqlite3 18
124+
goval-dictionary fetch-ubuntu -dbpath=/usr/share/vuls/oval.sqlite3 24
124125
```
125126

126127
<Message type="important">
@@ -260,7 +261,7 @@ Vuls is capable of performing security checks on multiple machines. To configure
260261
1. Connect to the remote server as `root` via [SSH](/instances/how-to/create-an-instance/#-Logging-into-the-Instance).
261262
2. Update the APT package cache, the already installed software on the Instance, and install `sudo` and `debian-goodies`, which is required for Vuls:
262263
```
263-
apt update && apt upgrade -y && apt installl sudo debian-goodies -y
264+
apt update && apt upgrade -y && apt install sudo debian-goodies -y
264265
```
265266
3. Create a user for Vuls with the `adduser` command:
266267
```
@@ -291,7 +292,7 @@ Vuls is capable of performing security checks on multiple machines. To configure
291292
9. On the remote server, being logged into the `vuls` user, add the key in the file `.ssh/authorized_keys`.
292293
10. Restart SSH on the remote server:
293294
```
294-
sudo sshd restart
295+
sudo systemctl restart ssh
295296
```
296297
11. On the Vuls master server, add a block to the `/usr/share/vuls/config.toml` file:
297298
```
@@ -313,8 +314,8 @@ Vuls is capable of performing security checks on multiple machines. To configure
313314
[Mar 20 10:14:13] INFO [localhost] Validating config...
314315
[Mar 20 10:14:13] INFO [localhost] Detecting Server/Container OS...
315316
[Mar 20 10:14:13] INFO [localhost] Detecting OS of servers...
316-
[Mar 20 10:14:13] INFO [localhost] (1/2) Detected: localhost: ubuntu 18.04
317-
[Mar 20 10:14:13] INFO [localhost] (2/2) Detected: remote_host: ubuntu 18.04
317+
[Mar 20 10:14:13] INFO [localhost] (1/2) Detected: localhost: ubuntu 24.04
318+
[Mar 20 10:14:13] INFO [localhost] (2/2) Detected: remote_host: ubuntu 24.04
318319
[Mar 20 10:14:13] INFO [localhost] Detecting OS of containers...
319320
[Mar 20 10:14:13] INFO [localhost] Checking Scan Modes...
320321
[Mar 20 10:14:13] INFO [localhost] Checking dependencies...

0 commit comments

Comments
 (0)