All Apps and Add-ons

Getting error from Sailpoint IdentityNow app

sjain
New Member

Hi there,
I have installed sailpoint _identitynow app on a heavy forwarder. have configured relevant proxy, client ID and secret key too.
However when I am trying to run the app, I am getting following errors in the log :

2019-10-30 16:46:30,573 ERROR pid=24952 tid=MainThread file=base_modinput.py:log_error:307 | Get error when collecting events.
Traceback (most recent call last):
File "/opt/splunk/etc/apps/TA-sailpoint-identitynow-auditevent-add-on/bin/ta_sailpoint_identitynow_auditevent_add_on/modinput_wrapper/base_modinput.py", line 127, in stream_events
self.collect_events(ew)
File "/opt/splunk/etc/apps/TA-sailpoint-identitynow-auditevent-add-on/bin/sailpoint_identitynow_auditevent.py", line 72, in collect_events
input_module.collect_events(self, ew)
File "/opt/splunk/etc/apps/TA-sailpoint-identitynow-auditevent-add-on/bin/input_module_sailpoint_identitynow_auditevent.py", line 128, in collect_events
response = helper.send_http_request(audit_url, "GET", parameters=querystring, payload=None, headers=headers, cookies=None, verify=True, cert=None, timeout=None, use_proxy=use_proxy)
UnboundLocalError: local variable 'headers' referenced before assignment

Anyone faced the same before?
What am i doing wrong.

thanks
Sumit

0 Karma

SailPoint_IDPlu
Path Finder

Hi Sumit, thank you for your interest in the add-on.

The error messaging here is a little misleading - this actually indicates that the initial token request using your client credentials is not returning successfully.

If you have access to utility like Postman, you can test your request and credentials by making a request to the Oauth endpoint specified here: https://community.sailpoint.com/t5/IdentityNow-Wiki/IdentityNow-REST-APIs/ta-p/80132 - this should allow you to see what the error message being returned is, and to understand why the initial request is failing.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Your Feedback. Our Roadmap. Visit the PX Feedback Booth at .conf26

You use Splunk every day, come and help shape what's next.  Save Your Seat: Product-Focused Sessions at ...

Agentic SOC Triage: Investigating Splunk ES Notables with MCP Server and a Local LLM

The Problem: Too Many Alerts, Too Little Context Security operations teams running Splunk Enterprise Security ...

Painting a Clearer Picture: Creating Cross-Domain Visibility with AI Canvas

Watch Now Painting a Clearer Picture: Creating Cross-Domain Visibility with AI Canvas     Do you ever feel ...