-
Notifications
You must be signed in to change notification settings - Fork 623
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduces modes to control openvasd. Currently it has the modes: - service - enables all endpoints and the whole functionality (default) - service_notus - disables /scan endpoint and nasl feed The configuration is described within rust/examples/openvasd/config.example.toml and there is the possibility to set `OPENVASD_MOD` environment variable. For an example to start openvasd in the notus mode you can it from the examples dir: ``` FEED_PATH=feed/nasl NOTUS_ADVISORIES=feed/notus/advisories/ OPENVASD_LOG=debug OPENVASD_MODE=service_notus ../target/release/openvasd ``` and try to call `localhost:3000/scans`.
- Loading branch information
1 parent
e904a94
commit 10f1b0c
Showing
14 changed files
with
533 additions
and
301 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 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 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 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 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 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 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
Oops, something went wrong.