|
41 | 41 | SA_GH_USER_EMAIL: ${{ secrets.SA_GH_USER_EMAIL }} |
42 | 42 | SA_GPG_PRIVATE_KEY: ${{ secrets.SA_GPG_PRIVATE_KEY }} |
43 | 43 | SA_GPG_PASSPHRASE: ${{ secrets.SA_GPG_PASSPHRASE }} |
| 44 | + SPL_COM_USER: ${{ secrets.SPL_COM_USER }} |
| 45 | + SPL_COM_PASSWORD: ${{ secrets.SPL_COM_PASSWORD }} |
44 | 46 | ``` |
45 | 47 |
|
46 | 48 | *** |
@@ -403,6 +405,53 @@ appinspect_self-service_checks.json |
403 | 405 | appinspect_splunk_appinspect_checks.json |
404 | 406 | ``` |
405 | 407 |
|
| 408 | +
|
| 409 | +AppInspect API |
| 410 | +======================= |
| 411 | +
|
| 412 | +**Description** |
| 413 | +
|
| 414 | +- Splunk AppInspect performs validation checks on your Splunk app package against a set of standardized criteria to evaluate the app structure, features, security, and adherence to Splunk Cloud Platform requirements. Unlike previous job that uses AppInspect CLI, this one uses AppInspect API |
| 415 | +
|
| 416 | +- [https://dev.splunk.com/enterprise/docs/developapps/testvalidate/appinspect/](https://dev.splunk.com/enterprise/docs/developapps/testvalidate/appinspect/useappinspectapi/) |
| 417 | +
|
| 418 | +- Respective Appinspect tags used in stage: |
| 419 | +
|
| 420 | +- https://dev.splunk.com/enterprise/docs/developapps/testvalidate/appinspect/#Validate-an-app-using-tags |
| 421 | +
|
| 422 | +``` |
| 423 | +"cloud" |
| 424 | +"self-service" |
| 425 | +"" (no tags) |
| 426 | +``` |
| 427 | +**Action used:** https://github.com/splunk/appinspect-api-action |
| 428 | +
|
| 429 | +**Pass/fail behaviour:** |
| 430 | +
|
| 431 | +- Splunk AppInspect API generates HTML report that details the successes, warnings, and failures flagged by the checks. |
| 432 | +
|
| 433 | +- By using the results of the report, user can fix any issues in your app before you submit it for cloud vetting or for publication to Splunkbase. |
| 434 | +
|
| 435 | +**Exception file:** |
| 436 | +
|
| 437 | +- `.appinspect_api.expect.yaml` We can use this file to add false positives with appropriate comments. |
| 438 | +
|
| 439 | +- ref: https://github.com/splunk/splunk-add-on-for-cisco-meraki/blob/main/.app-vetting.yaml - Connect to preview |
| 440 | +
|
| 441 | +**Troubleshooting steps for failures if any:** |
| 442 | +
|
| 443 | +- User can refer to this for failures https://dev.splunk.com/enterprise/docs/developapps/testvalidate/appinspect/#Common-issues-reported-by-Splunk-AppInspect |
| 444 | +
|
| 445 | +
|
| 446 | +**Artifacts:** |
| 447 | +
|
| 448 | +``` |
| 449 | +appinspect-api-html-report |
| 450 | +appinspect-api-html-report-cloud |
| 451 | +appinspect-api-html-report-self-service |
| 452 | +``` |
| 453 | +
|
| 454 | +
|
406 | 455 | # setup |
407 | 456 |
|
408 | 457 | **Description:** |
|
0 commit comments