I am writing a python script to query all assets in Qualys.
Asset endpoint URL: /qps/rest/2.0/get/am/hostasset/
I need to first list all Asset IDs in the entire system and then loop through those IDs get the details for each one.
According to this answered question here, this can be done with a POST request and XML criteria. The answer shows an example using POSTMAN.
However, how can I do this with the qualysapi python module? I tried sending the criteria with parameters but that did not work.
The Python client examples do not have any examples with filtering by criteria.