-
Notifications
You must be signed in to change notification settings - Fork 375
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AppInspect 3.8.0 reports failure with splunk-sdk 2.0.2 #594
Comments
I am seeing this issue with v2.1.0 of Splunk SDK |
This is still broken via appinspect CLI version 3.9.1 and the Splunk SDK 2.1.0 |
I have submitted a splunk support ticket to help with this issue. |
Hi @matt-gan , @ashwinvenkatesha , @haraksin-jpl , I am looking into this. By any chance, did you modify the files under Would it be possible to share a sample app as a minimal reproducible example? |
@bigboynaruto no formatters loaded or anything. I can produce a sample app soon. |
Thanks, will be waiting for a sample package.
|
Doing this with https://github.com/manasmbellani/athena-dnssplunkapp after upgrading to the latest
|
Looks like there is a difference on line 572 of $> diff client.py ~/splunk-sdk-python/splunklib/client.py
572c572
< return self.post("search/parser", q=query, **kwargs)
---
> return self.get("search/parser", q=query, **kwargs) Here is the latest source code: splunk-sdk-python/splunklib/client.py Line 572 in 1a3e290
Edit: updated the source code permalink. |
That's the old code - even when you update |
AppInspect has the entire file allowlisted, meaning, the failure should not be triggered if the contents were exactly the same as the version on Github. Otherwise, the file is not recognised. |
I see - seems like this is fixed then. I guess the fix is to just clobber the entire splunklib with the latest release. Thanks so much - we can close this and the support ticket with this resolution. |
Glad to hear it! @matt-gan Could you confirm if you are still experiencing the problem? If not, could you close the issue? |
Looks like the issue can be marked as stale |
Apologies, I missed these updates in my inbox and I forgot about this as there was no update on this issue for a long time I'll close the issue, though I haven't really used this SDK since then, so I can't confirm if the issue is resolved. If I do encounter it again, I'll create a new issue |
@bigboynaruto thanks for the insight! That was the root-cause of the problem for me. I just tried copying the
I had "fixed"
But I'll revert my change to get my app validating. |
I am developing an app using splunk-sdk 2.0.2, but AppInspect 3.8.0 reports a failure with this version. The failure is related to existing v1 search endpoints

The same AppInspect report shows the SDK version as 2.0.2

The text was updated successfully, but these errors were encountered: