Infinity -u setup

Executing this curl in cmd works fine (Qualys only allows username/password auth):

curl -u “xxx” :xxxxxx" -H “X-Requested-With: Curl” “https://qualysapi.qg2.apps.qualys.com/)/api/2.0/fo/knowledge_base/vuln/?action=list”

How would I configure Infinity for username/password authentication? When Grafana executes the curl it should include -u “username:password” in the curl…

Thank you

Have you read the docu on authentication?

https://sriramajeyam.com/grafana-infinity-datasource/docs/authentication#basic-authentication

Yes, Infinity generates -H ‘Authorization: Basic xxxxxxxx’ instead of -u “username:password” in the curl when you setup username/password in basic auth. It works with -H ‘Authorization: Basic xxxxxxxx’ as well.

Thank you!

1 Like