Splunk Dev

How to check the Splunk plugin with Splunk AppInspect?

lremember
Path Finder

When I checked the plugin using Splunk AppInspect before submitting it, I reported the following error:

 

 

 curl -X GET -H 'Authorization: bearer REDACTED' --url 'https://appinspect.splunk.com/v1/app/validate/status/2a201454-38d8-4859-87f6-d15811316176'
{
"request_id": "2a201454-38d8-4859-87f6-d15811316176",
"links": [
{
"href": "/v1/app/validate/status/2a201454-38d8-4859-87f6-d15811316176",
"rel": "self"
},
{
"href": "/v1/app/report/2a201454-38d8-4859-87f6-d15811316176",
"rel": "report"
}
],
"status": "ERROR"
}

 

 

How can i resolve it

0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Consider using the CLI version of AppInspect to validate your app.  See https://dev.splunk.com/enterprise/docs/developapps/testvalidate/appinspect/useappinspectclitool for details.

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

View solution in original post

lremember
Path Finder

I used the curl command to obtain the report, but there is no valid information in the report, as follows:

{ "message": "The request 2a201454-38d8-4859-87f6-d15811316176 has not completed successfully", "appId": "2a201454-38d8-4859-87f6-d15811316176" }

I also used the AppInspect plugin in the Splunk platform for inspection work, but the response has been a timeout, as follows:

Request timeout.

How should I handle these issues and complete my plugin inspection work

 

 

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Consider using the CLI version of AppInspect to validate your app.  See https://dev.splunk.com/enterprise/docs/developapps/testvalidate/appinspect/useappinspectclitool for details.

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

lremember
Path Finder

This is helpful to me. By the way, there are three situations reported during the review process: pass, fail, and skip. I would like to ask if I pay attention to the skipped files, and if I can fix all the failed situations to meet the requirements for publishing to the application market?

0 Karma

richgalloway
SplunkTrust
SplunkTrust

You may ignore the skipped checks because they do not apply to your app.

You MUST fix the failed checks.

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

lremember
Path Finder

Last Last question, I can use the CLI version of AppInspect to validate my app, Is the verification method the same for add-on mode and cloud mode. Because my app is based on the add-on mode, some of the detected results may only have cloud mode configurations.

Best Regard

Tags (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

The CLI version of AppInspect has switches that let you specify if cloud checks should be performed or not (among other things).

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

lremember
Path Finder

Thanks for you help! I hope my plugin can be submitted smoothly~ 😚

0 Karma

lremember
Path Finder

I did follow your suggestion, but there is no valid information in the report, as follows:

{ "message": "The request 2a201454-38d8-4859-87f6-d15811316176 has not completed successfully", "appId": "2a201454-38d8-4859-87f6-d15811316176" }

I have also checked using the AppInspect plugin on the Splunk platform, but it has always been a timeout error, as follows:

Request timeout.

How should I solve any of these errors and complete my plugin review work?

I urgently need to understand the review process and proceed with my plugin review work. I hope you can help me solve this problem

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Use curl to download the referenced report where you will see the results of the AppInspect checks.

curl -X GET -H 'Authorization: bearer REDACTED' --url 'https://appinspect.splunk.com/v1/app/report/2a201454-38d8-4859-87f6-d15811316176'
---
If this reply helps you, Karma would be appreciated.
0 Karma

lremember
Path Finder

Thanks for you reply. I did follow your suggestion, but there is no valid information in the report, as follows:

{ "message": "The request 2a201454-38d8-4859-87f6-d15811316176 has not completed successfully", "appId": "2a201454-38d8-4859-87f6-d15811316176" }

However, when I used the AppInspect plugin for review on the Splunk platform, I always received a timeout prompt.As follows: 

"Request timeout."

I urgently need to understand the review process and proceed with my plugin review work. I hope you can help me solve this problem.

 

0 Karma
Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...