> I understand I can get a target by uuid as follows:
>
> <get_targets target_id="c33864a9-d3fd-44b3-8717-972bfb01dfcf"/>
>
>
> Is there a way to query a target by the hosts field as well?

How do you mean?  Do you want to get all targets that contain a certain
host?  In OpenVAS 6 you can do this with the new filter attribute, for
example filter="hosts=192.168".

--
Greenbone Networks GmbH
Neuer Graben 17, 49074 Osnabrueck, Germany | AG Osnabrueck, HR B 202460
Executive Directors: Lukas Grunwald, Dr. Jan-Oliver Wagner
_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to