-
Notifications
You must be signed in to change notification settings - Fork 373
Appinspect is generating failures for Splunklib 1.7.4 #554
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
Comments
Good morning, |
I can confirm i am seeing this behaviour with Splunklib 2.0.0 and the AppInspect API as well. |
@aciesielczyk-splunk @szymonjas @maszyk99 This is still an issue with Splunklib 2.1.0. How can we ignore this failure message? Splunkbase report after uploading a new app version says "Failures will block the Cloud Vetting. They must be fixed" |
Thanks to @bigboynaruto's insight in #594, I was able to bypass the error: TL;DR make sure that you have the exact copy of |
Yes, that's right |
We bumped into this issue as well, our fix was that we changed that line to contain |
Hi @jonathan-s Could you let me know which exact line was changed? |
@bigboynaruto It was this line here > |
@jonathan-s |
@bigboynaruto The error message that OP has links to the documentation.
I know that splunklib should not be modified, but obviously there are bugs in there. Otherwise we wouldn't be raising issues here. :) |
@jonathan-s That's the same page I linked. Can you point me to the place that mentions specifically Could you also clarify what was the bug that you were trying to fix by attaching |
@bigboynaruto I was linking to a specific version of that page. Notice So you could argue that the origin of the bug is actually in appinspect as it's not accepting an url without v1/v2. However adding v1 silences the error. |
Now I understand what you meant. So you had this failure before adding Could you submit your package to AppInspect API and share the request ID. For privacy reasons you can do so by contacting us via email: https://dev.splunk.com/enterprise/docs/developapps/testvalidate/appinspect/#Get-help-with-Splunk-AppInspect. |
Hey @jonathan-s , hope you are doing well! I was wondering, have you already submitted your package to AppInspect? |
@bigboynaruto Sorry for the late reply. The package should have been submitted to appinspect when we sent in the latest version of https://splunkbase.splunk.com/app/4920 for certification. |
@jonathan-s
You can run |
Describe the bug
Running Appinspect in precert mode with cloud tags enabled on an app containing splunklib results in a failure for lack of support for v2 API. This seems likely an issue with appinspect's check but I'm opening an issue here to try and get visibility on it.
To Reproduce
splunk-appinspect inspect ./<the app>.spl --mode precert --included-tags cloud
Expected behavior
No failed checks, since this is a Splunk module, or an update to splunklib.
Logs or Screenshots
Splunk (please complete the following information):
N/A
SDK (please complete the following information):
Additional context
N/A
The text was updated successfully, but these errors were encountered: