Get scanner details - #1612
Merged
Merged
Conversation
Kraemii
force-pushed
the
get-scanner-details
branch
3 times, most recently
from
April 3, 2024 12:22
9ccaebb to
720656c
Compare
Kraemii
commented
Apr 3, 2024
Kraemii
marked this pull request as draft
April 3, 2024 12:43
Kraemii
force-pushed
the
get-scanner-details
branch
2 times, most recently
from
April 3, 2024 15:02
6e70d84 to
13235e0
Compare
Kraemii
force-pushed
the
get-scanner-details
branch
from
April 3, 2024 16:04
13235e0 to
6c7bb3a
Compare
Kraemii
marked this pull request as ready for review
April 3, 2024 16:07
Member
Author
|
Moved API changes to a new PR #1615 |
jjnicola
previously approved these changes
Apr 4, 2024
Kraemii
enabled auto-merge (rebase)
April 10, 2024 08:54
It is now possible to reach the entrypoint /scans/preferences to get a list of all preferences available for a scan. All available preferences are hardcoded, as they are static.
Kraemii
force-pushed
the
get-scanner-details
branch
from
April 10, 2024 09:29
6c7bb3a to
e63ab14
Compare
nichtsfrei
approved these changes
Apr 16, 2024
jjnicola
approved these changes
Apr 24, 2024
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rename scanner preferences to scan preferences
Add get scanner details from OSP to the new scanner API as get scan preferences
Implement the new endpoint into Openvasd
The new endpoint is
/scans/preferencesand a simple get command should get something like:[{ "id": "auto_enable_dependencies", "name": "Automatic Enable Dependencies", "default": true, "description": "OpenVAS plugins use the result of each other to execute their job. For instance, a plugin which logs into the remote SMB registry will need the results of the plugin which finds the SMB name of the remote host and the results of the plugin which attempts to log into the remote host. If you want to only select a subset of the plugins available, tracking the dependencies can quickly become tiresome. If you set this option to 'yes', openvas will automatically enable the plugins that are depended on." }, { "id": "cgi_path", "name": "CGI Path", "default": "/cgi-bin:/scripts", "description": "By default, openvas looks for default CGIs in /cgi-bin and /scripts. You may change these to something else to reflect the policy of your site. The syntax of this option is the same as the shell $PATH variable: path1:path2:..." }, ...]Jira: SC-1040