-
Notifications
You must be signed in to change notification settings - Fork 153
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
Run OpenVAS scans via OSP instead of OTP #422
Commits on Mar 12, 2019
-
Add scanner type "OSP-OpenVAS"
This new scanner type uses OpenVAS scan configs and connects to an OSP scanner (ospd-openvas).
Configuration menu - View commit details
-
Copy full SHA for ad4950c - Browse repository at this point
Copy the full SHA ad4950cView commit details -
Convert OpenVAS config preferences to OSP
OSP expects boolean preferences to be 1 or 0 instead of "yes" or "no" and only the selected value for selection preferences.
Configuration menu - View commit details
-
Copy full SHA for 1372610 - Browse repository at this point
Copy the full SHA 1372610View commit details
Commits on Mar 15, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 8694edf - Browse repository at this point
Copy the full SHA 8694edfView commit details
Commits on May 21, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 6565f37 - Browse repository at this point
Copy the full SHA 6565f37View commit details
Commits on May 22, 2019
-
Fetch OSP results while scan is running
Without this OSP tasks had to wait until the end of the scan before fetching any results, which could take a long time for scanners like the OpenVAS one and tasks with many target hosts.
Configuration menu - View commit details
-
Copy full SHA for 17d1f3c - Browse repository at this point
Copy the full SHA 17d1f3cView commit details -
Handle OpenVAS scanner host details in OSP
This parses results with the "general/Host_Details" port as host details as it is done in OTP. This should eventually be handled by the "Host Detail" result type once there is a well-defined way to handle the source info in OSP.
Configuration menu - View commit details
-
Copy full SHA for 6e93b87 - Browse repository at this point
Copy the full SHA 6e93b87View commit details
Commits on May 23, 2019
-
Adjust OSP credentials auth data
The credentials for OSP scans are adjusted for the change in gvm-libs to use the new method of storing the authentication data like username and password.
Configuration menu - View commit details
-
Copy full SHA for 417211d - Browse repository at this point
Copy the full SHA 417211dView commit details -
Allow usk credentials in target_osp_ssh_credential
This allows using SSH private key authentication in OSPd-OpenVAS scans.
Configuration menu - View commit details
-
Copy full SHA for a1c241f - Browse repository at this point
Copy the full SHA a1c241fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4410854 - Browse repository at this point
Copy the full SHA 4410854View commit details
Commits on May 24, 2019
-
Don't get unused connecting to OSP file socket
The osp_scanner_connect function will no longer try to get the port, ca_pub, key_pub and key_priv from the scanner as they are not needed and getting the private key could fail if the scanner has no credential.
Configuration menu - View commit details
-
Copy full SHA for b19e248 - Browse repository at this point
Copy the full SHA b19e248View commit details -
Handle HOST_START and HOST_END in OSP scans
OSP results with "HOST_START" and "HOST_END" as NVT id will be used to set the start and end time of a host.
Configuration menu - View commit details
-
Copy full SHA for 2adcf64 - Browse repository at this point
Copy the full SHA 2adcf64View commit details
Commits on May 27, 2019
-
Configuration menu - View commit details
-
Copy full SHA for fdf2988 - Browse repository at this point
Copy the full SHA fdf2988View commit details
Commits on May 28, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 664a34d - Browse repository at this point
Copy the full SHA 664a34dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e29df9e - Browse repository at this point
Copy the full SHA e29df9eView commit details -
Get hostname for OSP scan results
The parse_osp_report() function will now get the hostname attribute from OSP results and make_osp_result() will store it in the results table.
Configuration menu - View commit details
-
Copy full SHA for 6117fb6 - Browse repository at this point
Copy the full SHA 6117fb6View commit details
Commits on May 29, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 1f5daca - Browse repository at this point
Copy the full SHA 1f5dacaView commit details
Commits on May 30, 2019
-
Configuration menu - View commit details
-
Copy full SHA for a4061cc - Browse repository at this point
Copy the full SHA a4061ccView commit details
Commits on May 31, 2019
-
Configuration menu - View commit details
-
Copy full SHA for c9b5d98 - Browse repository at this point
Copy the full SHA c9b5d98View commit details
Commits on Jun 3, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 1608f12 - Browse repository at this point
Copy the full SHA 1608f12View commit details
Commits on Jun 5, 2019
-
The OSP-OpenVAS scanner type is removed again in favor of running all OpenVAS scans via OSP instead of OTP.
Configuration menu - View commit details
-
Copy full SHA for 1294b42 - Browse repository at this point
Copy the full SHA 1294b42View commit details -
Get report from task in stop_osp_task
The process running the function may not have global_current_report set, so the current report has to be fetched from the task.
Configuration menu - View commit details
-
Copy full SHA for cdda304 - Browse repository at this point
Copy the full SHA cdda304View commit details -
Configuration menu - View commit details
-
Copy full SHA for d927c29 - Browse repository at this point
Copy the full SHA d927c29View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d8cc77 - Browse repository at this point
Copy the full SHA 9d8cc77View commit details -
Use new struct-based osp_start_scan_ext
The osp_start_scan_ext function has been changed to have most options passed in as a new struct type (osp_start_scan_opts_t).
Configuration menu - View commit details
-
Copy full SHA for 3559900 - Browse repository at this point
Copy the full SHA 3559900View commit details
Commits on Jun 7, 2019
-
Add warning if OSP connection fails
The osp_scanner_connect function will now log a warning message containing the hostname or socket path.
Configuration menu - View commit details
-
Copy full SHA for 70de168 - Browse repository at this point
Copy the full SHA 70de168View commit details -
The variables start_time and end_time in the parse_osp_report function and rc in the handle_osp_scan function were not initialized.
Configuration menu - View commit details
-
Copy full SHA for 53836d1 - Browse repository at this point
Copy the full SHA 53836d1View commit details