Skip to content

Commit

Permalink
add some testing
Browse files Browse the repository at this point in the history
  • Loading branch information
pyth0n1c committed Nov 8, 2023
1 parent e7b504d commit a08846e
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/contentctl_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Initial contentctl test workflow

# Trigger the workflow on pull request
on:
push:
pull_request:
types: [opened, reopened]

jobs:
contentctl_test:
name: run contentctl test
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v4
with:
python-version: '3.9' #Available versions here - https://github.com/actions/python-versions/releases easy to change/make a matrix/use pypy
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified

- name: Everything
run: |
git clone https://github.com/splunk/contentctl
cd contentctl
git checkout diff_test_cli_support
git pull
python -m pip install poetry
poetry install
poetry shell
cd ..
contentctl test --mode changes --target_branch develop --test_branch TR_3232_azure_ad
20 changes: 20 additions & 0 deletions contentctl_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,26 @@ apps:
splunkbase_path: null
environment_path: ENVIRONMENT_PATH_NOT_SET
force_local: false
- uid: 3110
appid: Splunk_TA_linux_sysmon
title: Add-on for Linux Sysmon
description: null
release: 1.0.4
local_path: null
http_path: https://attack-range-appbinaries.s3.us-west-2.amazonaws.com/Latest/splunk-add-on-for-microsoft-cloud-services_510.tgz
splunkbase_path: null
environment_path: ENVIRONMENT_PATH_NOT_SET
force_local: false
- uid: 4055
appid: Splunk_TA_linux_sysmon
title: Add-on for Linux Sysmon
description: null
release: 1.0.4
local_path: null
http_path: https://attack-range-appbinaries.s3.us-west-2.amazonaws.com/Latest/splunk-add-on-for-microsoft-office-365_430.tgz
splunkbase_path: null
environment_path: ENVIRONMENT_PATH_NOT_SET
force_local: false
- uid: 742
appid: Splunk_TA_windows
title: Splunk Add-on for Microsoft Windows
Expand Down

0 comments on commit a08846e

Please sign in to comment.