Splunk Enterprise Security

Qualys Technology Add-on (TA) for Splunk: Why am I receiving "Could not get TA-QualysCloudPlatform credentials from Splunk. Cannot continue." error?

amalkapuram
New Member

I have installed Qualys Technology Add-on (TA) for Splunk. Have set up the account details- username, password with API access, API service is enabled and working fine (as it is being used on some other platform).

Even after setting up everything- these logs are being displayed on Splunk:

sourcetype=qualys
Logs-
Start qualys TA
Could not get TA-QualysCloudPlatform credentials from Splunk. Cannot continue. Error: 'str' object has no attribute 'os_startIndex'
Start qualys TA
Could not get TA-QualysCloudPlatform credentials from Splunk. Cannot continue. Error: 'str' object has no attribute 'os_startIndex'
Start qualys TA
Could not get TA-QualysCloudPlatform credentials from Splunk. Cannot continue. Error: 'str' object has no attribute 'os_startIndex'
Start qualys TA
Could not get TA-QualysCloudPlatform credentials from Splunk. Cannot continue. Error: 'str' object has no attribute 'os_startIndex'
Start qualys TA
Could not get TA-QualysCloudPlatform credentials from Splunk. Cannot continue. Error: 'str' object has no attribute 'os_startIndex'
0 Karma

nit123
Path Finder

Can you confirm the following

a. The version of Qualys Technology Add-on (TA) ?
b. If your SPLUNK_HOME is /opt/splunk, then from SPLUNK_HOME/etc/apps/TA-QualysCloudPlatform run following command - /opt/splunk/bin/splunk cmd python ./bin/run.py -h to check data pull operations for the config you have added.
c. Check if there are any API errors at /opt/splunk/var/log/splunk/ta_QualysCloudPlatform.log

0 Karma

becksyboy
Communicator

Hi nit123,

i am also seeing this error when deploying the TA to a heavy forwarder. when running the command above i get the following below.

TA-QualysCloudPlatform: 2017-06-29T11:52:10Z PID=12702 [MainThread] INFO: TA-QualysCloudPlatform - Making request: https://qualysapi.qualys.com/msp/about.php with params={}
_internal

TA-QualysCloudPlatform: 2017-06-29T11:53:21Z PID=12702 [MainThread] ERROR: TA-QualysCloudPlatform - Error during request to /msp/about.php, [None] [Errno 110] Connection timed out
_internal
Traceback (most recent call last):
File "./bin/run.py", line 138, in
qapi.client.validate()
File "/opt/splunk/etc/apps/TA-QualysCloudPlatform/bin/qualysModule/lib/api/Client.py", line 200, in validate
response = self.get("/msp/about.php", {}, SimpleAPIResponse())
File "/opt/splunk/etc/apps/TA-QualysCloudPlatform/bin/qualysModule/lib/api/Client.py", line 259, in get
raise APIRequestError("Error during request to %s, [%s] %s" % (end_point, ue.errno, ue.reason))
qualysModule.lib.api.Client.APIRequestError: Error during request to /msp/about.php, [None] [Errno 110] Connection timed out

thanks
Ash

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...