Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make more scanner preferences available for openvas-nasl #413

Merged
merged 2 commits into from
Oct 26, 2020

Conversation

ArnoStiefvater
Copy link
Member

@ArnoStiefvater ArnoStiefvater commented Oct 26, 2020

What:

Move all scanner settings/preferences which have defaults and are not dependent on CMake variables
to gvm-libs. This way they are available for openvas-nasl too.

Settings not moved to gvm-libs with reason

Defaults defined via CMake

  • scanner_plugins_timeout
  • plugins_timeout
  • db_address

Defined via openvas-nasl command line option

  • include_folders

Not needed by openvas-nasl

  • plugins_folder

Prerequisite to:
greenbone/openvas-scanner#614

Why:

To make the options available to scripts when run via openvas-nasl.

How:

Dump the prefs (prefs_dump ()) with and without the PRs.

openvas-nasl: has the additional options now.
openvas: no difference in preference settings.

Checklist:

Move all scanner settings/preferences which have
defaults and are not dependent on CMake variables
to gvm-libs. This way they are available for
openvas-nasl too.
@mattmundell mattmundell merged commit f3d2439 into greenbone:master Oct 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants