-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Doc: remove notus-scanner and explain openvasd installation
- Loading branch information
1 parent
217ffdc
commit 881f3a4
Showing
10 changed files
with
90 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
```{eval-rst} | ||
.. tabs:: | ||
.. tab:: Debian/Ubuntu | ||
.. code-block:: | ||
:caption: Installing openvas-scanner | ||
cd $SOURCE_DIR/openvas-scanner-$NOTUS_VERSION/rust/openvasd | ||
cargo build --release | ||
sudo cp -v ../target/release/openvasd /usr/local/bin/ | ||
.. tab:: Fedora/CentOS | ||
.. code-block:: | ||
:caption: Installing openvas-scanner | ||
cd $SOURCE_DIR/openvas-scanner-$NOTUS_VERSION/rust/openvasd | ||
cargo build --release | ||
sudo cp -v ../target/release/openvasd /usr/local/bin/ | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
```{eval-rst} | ||
.. tabs:: | ||
.. tab:: Debian/Ubuntu | ||
.. code-block:: | ||
:caption: Required dependencies for openvasd | ||
sudo apt install -y \ | ||
cargo \ | ||
pkg-config \ | ||
libssl-dev | ||
.. tab:: Fedora | ||
.. code-block:: | ||
:caption: Required dependencies for openvasd | ||
sudo dnf install -y \ | ||
cargo \ | ||
pkg-config \ | ||
openssl-devel | ||
.. tab:: CentOS | ||
.. code-block:: | ||
:caption: Required dependencies for openvasd | ||
sudo dnf install -y \ | ||
cargo \ | ||
pkg-config \ | ||
openssl-devel | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
*OpenVASD* is used for detecting vulnerable products. | ||
|
||
It controls `openvas-scanner` for scanning and is used to get the results. | ||
|
||
For more information see: | ||
- https://greenbone.github.io/scanner-api/ | ||
- https://github.com/greenbone/openvas-scanner/tree/main/rust/openvasd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
```{code-block} | ||
:caption: Downloading the openvas-scanner sources | ||
curl -f -L https://github.com/greenbone/openvas-scanner/archive/refs/tags/v$OPENVAS_DAEMON.tar.gz -o $SOURCE_DIR/openvas-scanner-$OPENVAS_DAEMON.tar.gz | ||
curl -f -L https://github.com/greenbone/openvas-scanner/releases/download/v$OPENVAS_DAEMON/openvas-scanner-v$OPENVAS_DAEMON.tar.gz.asc -o $SOURCE_DIR/openvas-scanner-$OPENVAS_DAEMON.tar.gz.asc | ||
``` | ||
|
||
```{code-block} | ||
:caption: Verifying the source file | ||
gpg --verify $SOURCE_DIR/openvas-scanner-$OPENVAS_DAEMON.tar.gz.asc $SOURCE_DIR/openvas-scanner-$OPENVAS_DAEMON.tar.gz | ||
``` | ||
|
||
The output of the last command should be similar to: | ||
|
||
```{include} /22.4/source-build/verify.md | ||
``` | ||
|
||
If the signature is valid, the tarball can be extracted. | ||
|
||
``` | ||
tar -C $SOURCE_DIR -xvzf $SOURCE_DIR/openvas-scanner-$OPENVAS_DAEMON.tar.gz | ||
``` |