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

Run OpenVAS scans via OSP instead of OTP #422

Merged
merged 26 commits into from
Jun 7, 2019
Merged
Show file tree
Hide file tree
Changes from 11 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
ad4950c
Add scanner type "OSP-OpenVAS"
timopollmeier Mar 12, 2019
1372610
Convert OpenVAS config preferences to OSP
timopollmeier Mar 12, 2019
8694edf
Merge branch 'master' of github.com:greenbone/gvm into openvas-via-osp
timopollmeier Mar 15, 2019
6565f37
Merge branch 'master' of github.com:greenbone/gvm into openvas-via-osp
timopollmeier May 21, 2019
17d1f3c
Fetch OSP results while scan is running
timopollmeier May 22, 2019
6e93b87
Handle OpenVAS scanner host details in OSP
timopollmeier May 22, 2019
417211d
Adjust OSP credentials auth data
timopollmeier May 23, 2019
a1c241f
Allow usk credentials in target_osp_ssh_credential
timopollmeier May 23, 2019
4410854
Add ESXi and SNMP credentials for OSP scans
timopollmeier May 23, 2019
b19e248
Don't get unused connecting to OSP file socket
timopollmeier May 24, 2019
2adcf64
Handle HOST_START and HOST_END in OSP scans
timopollmeier May 24, 2019
fdf2988
Merge branch 'master' of github.com:greenbone/gvm into openvas-via-osp
timopollmeier May 27, 2019
664a34d
Merge branch 'master' into openvas-via-osp
timopollmeier May 28, 2019
e29df9e
Add exclude_hosts parameter for osp_target_new()
timopollmeier May 28, 2019
6117fb6
Get hostname for OSP scan results
timopollmeier May 28, 2019
1f5daca
Merge branch 'master' into openvas-via-osp
timopollmeier May 29, 2019
a4061cc
Merge branch 'master' into openvas-via-osp
mattmundell May 30, 2019
c9b5d98
Merge branch 'master' of github.com:greenbone/gvm into openvas-via-osp
timopollmeier May 31, 2019
1608f12
Merge branch 'master' into openvas-via-osp
timopollmeier Jun 3, 2019
1294b42
Use OSP for all OpenVAS scans
timopollmeier Jun 5, 2019
cdda304
Get report from task in stop_osp_task
timopollmeier Jun 5, 2019
d927c29
Merge branch 'master' of github.com:greenbone/gvm into openvas-via-osp
timopollmeier Jun 5, 2019
9d8cc77
Merge branch 'master' of github.com:greenbone/gvm into openvas-via-osp
timopollmeier Jun 5, 2019
3559900
Use new struct-based osp_start_scan_ext
timopollmeier Jun 5, 2019
70de168
Add warning if OSP connection fails
timopollmeier Jun 7, 2019
53836d1
Fix uninitialized variables
timopollmeier Jun 7, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/gmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -17162,7 +17162,8 @@ handle_get_scanners (gmp_parser_t *gmp_parser, GError **error)
cleanup_iterator (&tasks);
SEND_TO_CLIENT_OR_FAIL ("</tasks>");
}
if (scanner_iterator_type (&scanners) == SCANNER_TYPE_OSP
if ((scanner_iterator_type (&scanners) == SCANNER_TYPE_OSP
|| scanner_iterator_type (&scanners) == SCANNER_TYPE_OSP_OPENVAS)
&& get_scanners_data->get.details)
{
char *s_name = NULL, *s_ver = NULL;
Expand Down
4 changes: 4 additions & 0 deletions src/gvmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -2162,6 +2162,8 @@ main (int argc, char** argv)
type = SCANNER_TYPE_OPENVAS;
else if (!strcasecmp (scanner_type, "OSP"))
type = SCANNER_TYPE_OSP;
else if (!strcasecmp (scanner_type, "OSP-OpenVAS"))
type = SCANNER_TYPE_OSP_OPENVAS;
else
{
printf ("Invalid scanner type value.\n");
Expand Down Expand Up @@ -2199,6 +2201,8 @@ main (int argc, char** argv)
type = SCANNER_TYPE_OPENVAS;
else if (strcasecmp (scanner_type, "OSP") == 0)
type = SCANNER_TYPE_OSP;
else if (strcasecmp (scanner_type, "OSP-OpenVAS") == 0)
type = SCANNER_TYPE_OSP_OPENVAS;
else
{
g_warning ("Invalid scanner type value");
Expand Down
Loading