Hi,
I need some help with Openvas API. Not able to find any documentation.
Please advise.
I have set my default config to use a "My Port List" as default port List
for any scan from GUI. But, when trying to create a target from API, though
I want to consider a port list "*All TCP and Nmap 5.51 top 100 UDP*" but
target is getting created with port list "Openvas Default"
Request Payload being used:
<create_target>
<name>%s</name>
<hosts>%s</hosts>
<port_list>730ef368-57e2-11e1-a90f-406186ea4fc5
</port_list>
<%s id="%s"></%s>
<comment>%s</comment>
I also tried changing the parameter to <port_list_id>, and is throwing
error "Bogus element"
So, whenever I try to create a Target from API, no matter what, by default
port list is set to "Openvas Default". I need to customise this add any
other port list. Please advise
-Thanks
Suraj S
_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss