This repository provides a reusable workflow to build and appinspect Splunk add-ons. It uses ucc-gen
and slim
to create a ready to be installed add-on.
Then it uses Splunk Appinspect CLI GitHub Action to validate the generated add-on and optionally uses Splunk Appinspect API GitHub Action if both SPLUNKBASE_USER
and SPLUNKBASE_PASSWORD
secrets are passed to the reusable workflow.
name: build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
uses: artemrys/workflow-splunk-addon/.github/workflows/[email protected]
- [optional]
ucc_gen_version
- specify version ofucc-gen
- [optional]
SPLUNKBASE_USER
- Splunkbase username - [optional]
SPLUNKBASE_PASSWORD
- Splunkbase password