Installation

UserWarning: _get_all_passwords is deprecated, please use get_all_passwords_in_realm instead.

splunkfordummie
Engager

Ever since upgrading to version 2.1.4 of Cofense Triage Add-On, we get hundreds of these errors in our _internal logs:

01-30-2024 13:20:42.094 -0500 ERROR ScriptRunner [1503161 TcpChannelThread] - stderr from '/opt/splunk/bin/python3.7 /opt/splunk/bin/runScript.py execute': /opt/splunk/etc/apps/TA-cofense-triage-add-on-for-splunk/bin/ta_cofense_triage_add_on_for_splunk/aob_py3/solnlib/utils.py:153: UserWarning: _get_all_passwords is deprecated, please use get_all_passwords_in_realm instead.

 

It does not affect log ingestion, but would like help in figuring out how to suppress the errors.

Labels (1)
0 Karma

ohbuckeyeio
Communicator

Additional Info for @PickleRick's response:

This will be removed in a future version of the solnlib library. See function starting at line 237 in the CredentialManager class:

https://splunk.github.io/addonfactory-solutions-library-python/credentials/#solnlib.credentials.Cred...

Looking at the new code, a realm will be required to be passed to the definition.

0 Karma

PickleRick
SplunkTrust
SplunkTrust

It is probably due to the add-on calling an obsolete method from the splunklib. You can't do anything about it yourself except for either updating the add-on (if possible) or asking the developer to fix it.

0 Karma

Snehalg176
Loves-to-Learn Everything

which is that obsolete function?

0 Karma

PickleRick
SplunkTrust
SplunkTrust
_get_all_passwords is deprecated, please use get_all_passwords_in_realm instead.
0 Karma

Snehalg176
Loves-to-Learn Everything

How can we fix this error ?

0 Karma

PickleRick
SplunkTrust
SplunkTrust

I already wrote this - You can't do anything about it yourself except for either updating the add-on (if possible) or asking the developer to fix it.

Unless you want to dig into the app's code.

0 Karma
Get Updates on the Splunk Community!

What's New in Splunk Cloud Platform 9.3.2411?

Hey Splunky People! We are excited to share the latest updates in Splunk Cloud Platform 9.3.2411. This release ...

Buttercup Games: Further Dashboarding Techniques (Part 6)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...