AR
artemrys/workflow-splunk-addon
GitHub reusable workflow to build and test Splunk add-ons
GitHub reusable workflow to support Splunk add-ons
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.
Usage
name: build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
uses: artemrys/workflow-splunk-addon/.github/workflows/reusable-build-release.yaml@v0.2.0
Inputs
- [optional]
ucc_gen_version- specify version ofucc-gen
Secrets
- [optional]
SPLUNKBASE_USER- Splunkbase username - [optional]
SPLUNKBASE_PASSWORD- Splunkbase password
On this page
MIT License
Created January 25, 2022
Updated September 4, 2024