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!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...