All Apps and Add-ons

Insufficient permission for Splunk service now addon

ips_mandar
Builder

For eventtype="snow_ta_log_error" I am getting below error-

 ERROR pid=89870 tid=MainThread file=rest.py:splunkd_request:53 | Failed to send rest request=https://127.0.0.1:8089/servicesNS/nobody/Splunk_TA_snow/storage/passwords/https%5C%3A%252F%252Fxyz.service-now.com%3Adummy%3A, errcode=403, reason=Insufficient permission.

ERROR pid=89870 tid=MainThread file=snow_ticket.py:_get_service_now_account:160 | Failed to get clear credentials for https://xyz.service-now.com

How to troubleshoot this permission error.
Thanks,

0 Karma

koshyk
Super Champion

ah.ok. You didn't mention the credential changes in your main post !
So definitely it is related to credentials. To debug it

  1. Ensure your credentials are same in ServiceNow. Speak to your SNOW admin to put the password again in your integration user

2.Using CURL, try querying ServiceNow and see if you can retrieve data with creds.

snowInstance=myservicenowInstance
tabName=incident
pass=mypassword
userid=myuser

curl --user ${userid}:${pass} --header "Accept: application/json" https://${snowInstance}/api/now/table/${tabName} | grep }| python -mson.tool >/tmp/${tabName}.json
  1. ONLY if above works, you need to delete the entries in "local/passwords.conf" in your installation and put the creds again. Restart Splunk
0 Karma

koshyk
Super Champion

which TA version you using? Also which ServiceNow version you are integrating to?

0 Karma

ips_mandar
Builder

I am using Splunk_TA_snow version 3.1.0 and not sure about ServiceNow version how can I know this?

0 Karma

koshyk
Super Champion

you may need to ask your ServiceNow Admin or sometimes, it will shown up on the header page (or source code of ServiceNow). There are few versions out there like Kingston, Jakarta etc.

There is dependency on Splunk Enterprise Version => Addon Version => ServiceNow version

0 Karma

ips_mandar
Builder

but this error started coming from few days back might after credentials was changed so it will probably not an issue of version

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...