Skip to content
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 is generating failures for Splunklib 1.7.4 #554

Open
cschmidt0121 opened this issue Jan 19, 2024 · 2 comments
Open

Appinspect is generating failures for Splunklib 1.7.4 #554

cschmidt0121 opened this issue Jan 19, 2024 · 2 comments

Comments

@cschmidt0121
Copy link

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

  1. Grab an app that has splunklib.py in it
  2. 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

            FAILURE: Some 'search/*' endpoints has been deprecated in Splunk
            9.0.1 and replaced by new v2 APIs.They might be removed entirely in
            a future release. An alternative could be found at
            https://docs.splunk.com/Documentation/Splunk/9.0.1/RESTREF/RESTsearch#Semantic_API_versioning
            File: lib/splunklib/client.py Line Number: 578

Splunk (please complete the following information):
N/A

SDK (please complete the following information):

  • Version: 1.7.4
  • Language Runtime Version: 3.11
  • OS: Mac OS 13.6

Additional context
N/A

@aciesielczyk-splunk
Copy link
Member

Good morning,
Could you provide AppInspect CLI version?
Could you also try to submit the same app via AppInspect API and let us know whether this behaviour still occurs?
Thanks

@sanjay900
Copy link

I can confirm i am seeing this behaviour with Splunklib 2.0.0 and the AppInspect API as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants