I don't think it is possible to create target, config and task by only sending one request. You will require the results of creating target and config to know which UUIDs to fill in the create_task request.

On 12/30/2014 1:46 AM, flymolon wrote:
Hi there,

The omp document says we can use _omp -X "<create_task>...</create_task>"_ to create a task, it needs either an rcfile or both a target id and a config id. I want to create a task whose config and target don't exist, and I want to create it just by sending one request. Is it possible?
Maybe I can use the "rcfile" way, but I don't know the format of rcfile.

BTW, when creating a task, what's the difference between config and preferences? Can they be replaced by each other?

Thanks!

------------------------------------------------------------------------
[email protected]

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to