Skip to content

artemrys/workflow-splunk-addon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 of ucc-gen

Secrets

  • [optional] SPLUNKBASE_USER - Splunkbase username
  • [optional] SPLUNKBASE_PASSWORD - Splunkbase password