Hi,
I tried successfully the two CURL command to generate a token and try the API. So it works fine, it was an issue about a special caracter used in my password (even it is able to use it in the Qualys authentication).
curl -X POST https://gateway.qg1.apps.qualys.eu/auth -d "username=LOGIN&password=PWD&token=true" -H "Content-Type: application/x-www-form-urlencoded" --> gives a token
curl -X POST -H "Accept: application/json" -H "Authorization: Bearer TOKEN" -H "Content-Type: application/json" -i "https://gateway.qg1.apps.qualys.eu/rest/2.0/search/am/asset" --> gives a lot of data expected
Unfortunately, if I tried the following command to launch the dm-adapter for Jira : ./dm-adapters --run "Qualys_for_CMDB" --workspace-id WORKSPACEID --token TOKEN gives me the following response:
Failed to execute the job. Error on page 1, offset 1. Qualys API response error: {"timestamp":"2026-05-27T12:53:34.176+00:00","path":"/qps/rest/2.0/search/am/hostasset","status":401,"error":"Unauthorized","requestId":"031088db-24353571","message":"Not authenticated"}.
Thanks.