Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Data Manager Qualys Adapter for Jira Asset Data Manager

David SOBIES
May 27, 2026

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.

1 answer

0 votes
Marc -Devoteam-
Community Champion
May 27, 2026

Hi @David SOBIES 

Welcome to the community.

Did you insert your workspace id and token in the call?

What is you OS and are you using the correct client?

David SOBIES
May 29, 2026

Data Manager 2026 © Atlassian Pty Ltd, all rights reserved. Version: 2.0.0

 

Yes, I inserted Wokrspace ID and Token dedicated for this Qualys Job. I used this kind of command for Entra ID Users jobs.

It's a recent Linux OS.

Marc -Devoteam-
Community Champion
May 31, 2026

Hi @David SOBIES 

Is the token you are using still valid, as 401 is an unauthorized response!

Or does the Qualys API the culprit, then contact Qualys suport, to see what the issue can be?

David SOBIES
June 1, 2026

Hi @Marc -Devoteam- ,

 

yes, the token is valid for the next (almost) 12 months.

I tried, the API QUALYS with the same credentials (my account with API rights) and it worked.

 

Qualys Support cannot do more as the issue is just during Jira Adapter for Qualys launch.

Marc -Devoteam-
Community Champion
June 1, 2026

Hi @David SOBIES 

Then I think best is to raise an Atlassian Support ticket.

To have Atlassian help investigate this.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events