Building for the Splunk Platform

How fix check that Splunk SDK for Python is up-to-date in AppInspect?

Shukran
Explorer

Hello,

I have inherited the maintenance for an app and it has a couple of errors that need to be fixed.
I have fixed all the others except the one mentioned here.

category: app_cert_validation
description: Check that Splunk SDK for Python is up-to-date.
ext_data: ([+]
message_id: 7004
messages: (("result": "failure"
"message":
"Detected an outdated version of the Splunk SDK for Python (1.6.6). Please upgrade to
version 1.6.16 or later.
File: bin/.../aob_py2/solnlib/packages/splunklib/binding.py",
"message_filename"
"bin/.../aob_py2/solnlib/packages/splunklib/binding.py","message_line":null),("result":"failure"
"message"
"Detected an outdated version of the Splunk SDK for Python (1.6.6). Please upgrade to version 1.6.16 or later. File:
bin/.../aob_py2/splunklib/binding.py"
"message_filename"
"bin/.../aob_py2/splunklib/binding.py',
"message_line": null}

A couple more files have the same error. It looks like all are Add-on Builder files and i am not sure how to fix this. Also, I cannot import the add-on in Splunk Add-on Builder as i dont have an original extracted version.

Labels (3)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

You should be able to download the SDK from https://pypi.org/project/splunk-sdk/ and then copy the splunklib directory to your app's bin directory.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

You should be able to download the SDK from https://pypi.org/project/splunk-sdk/ and then copy the splunklib directory to your app's bin directory.

---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Splunk Security Content for Threat Detection & Response, Q1 Roundup

Join Principal Threat Researcher, Michael Haag, as he walks through:An introduction to the Splunk Threat ...

Splunk Life | Happy Pride Month!

Happy Pride Month, Splunk Community! 🌈 In the United States, as well as many countries around the ...

SplunkTrust | Where Are They Now - Michael Uschmann

The Background Five years ago, Splunk published several videos showcasing members of the SplunkTrust to share ...