Run AppInspect requests through the Postman GUI

Postman provides a GUI to test, develop, and monitor REST endpoints. In the Postman GUI, you define a script to interact with a REST service, then click Send to trigger a request. After you import the AppInspect scripts included in this procedure, you can use Postman to easily run AppInspect and see your results.

Before you begin

Perform the following prerequisite steps:

  1. Download and install Postman.
  2. Save a local copy of the AppInspect scripts.
  3. In Postman, import the AppInspect scripts.

After the scripts are successfully imported, they are listed in the AppInspect - Production collection in the navigation pane.

Authenticate an app with API.splunk.com

  1. In Postman, in the AppInspect - Production collection, click the Authenticate script.
  2. Enter your Splunk.com username and password.
  3. Click Send.

If your authentication is successful, a success message displays in the response pane. The authorization token is saved for use in future Postman requests.

Submit an app to AppInspect for validation

  1. In Postman, in the AppInspect - Production collection, select one of the following scripts:
    • For all AppInspect checks, select the Submit script.
    • For Cloud Vetting checks, select the Submit-Cloud_only script.
    • To find out whether an app can be installed in Splunk Cloud automatically, select the Submit-SSAI_only script.
  2. Select the Body tab.
  3. Click Choose Files.
  4. Select the app to review.
  5. Click Open.
  6. Click Send.

Postman displays a message and a request_id in the response pane. Postman saves the request_id to your report until you submit a new app.

View the status of a validation run

  1. In Postman, click the Status script.
  2. Click Send.

If your validation is finished, you see a summary of checks and a status of SUCCESS.

Note: This SUCCESS status means that the AppInspect run has completed, not that the app has been approved.

If your validation is still processing, you see a list of checks run so far.

View the results of a validation run

  1. In Postman, click Report - HTML.
  2. Click Send.
  3. Click Preview.

The report is displayed. The report includes information about the app, information about the validation run, and a summary and detailed list of the validation results.

To download a report, click the dropdown arrow next to Send and select Send and Download.