mirror of
https://github.com/splunk/security_content
synced 2026-06-08 17:32:49 +00:00
typo in NEEDS for test script.
This commit is contained in:
@@ -77,7 +77,7 @@ jobs:
|
||||
cd automated_detection_testing/ci/detection_testing_batch
|
||||
source .venv/bin/activate
|
||||
#python3 detection_testing_execution.py -b ${{ steps.vars.outputs.branch }} -u 123456789 --splunkbase_username ${{ secrets.SPLUNKBASE_TESTING_USERNAME }} --splunkbase_password ${{ secrets.SPLUNKBASE_TESTING_KEY }} -m new -n2
|
||||
python3 detection_testing_execution.py -b RegistryDetectionFixes -u 123456789 --splunkbase_username ${{ secrets.SPLUNKBASE_TESTING_USERNAME }} --splunkbase_password ${{ secrets.SPLUNKBASE_TESTING_KEY }} -m all -n5 -split
|
||||
python3 detection_testing_execution.py -b RegistryDetectionFixes -u 123456789 --splunkbase_username ${{ secrets.SPLUNKBASE_TESTING_USERNAME }} --splunkbase_password ${{ secrets.SPLUNKBASE_TESTING_KEY }} -m new -n10 -split
|
||||
echo "DONE!"
|
||||
|
||||
- name: Upload Test Results Files
|
||||
@@ -91,6 +91,11 @@ jobs:
|
||||
automated_detection_testing/ci/detection_testing_batch/container_2_tests.txt
|
||||
automated_detection_testing/ci/detection_testing_batch/container_3_tests.txt
|
||||
automated_detection_testing/ci/detection_testing_batch/container_4_tests.txt
|
||||
automated_detection_testing/ci/detection_testing_batch/container_5_tests.txt
|
||||
automated_detection_testing/ci/detection_testing_batch/container_6_tests.txt
|
||||
automated_detection_testing/ci/detection_testing_batch/container_7_tests.txt
|
||||
automated_detection_testing/ci/detection_testing_batch/container_8_tests.txt
|
||||
automated_detection_testing/ci/detection_testing_batch/container_9_tests.txt
|
||||
|
||||
|
||||
docker-detection-testing-execution:
|
||||
@@ -98,7 +103,16 @@ jobs:
|
||||
needs: [validate-tag-if-present, quit-for-dependabot, docker-detection-testing-setup]
|
||||
strategy:
|
||||
matrix:
|
||||
test_filename: ["container_0_tests.txt", "container_1_tests.txt", "container_2_tests.txt", "container_3_tests.txt", "container_4_tests.txt"]
|
||||
test_filename: ["container_0_tests.txt",
|
||||
"container_1_tests.txt",
|
||||
"container_2_tests.txt",
|
||||
"container_3_tests.txt",
|
||||
"container_4_tests.txt",
|
||||
"container_5_tests.txt",
|
||||
"container_6_tests.txt",
|
||||
"container_7_tests.txt",
|
||||
"container_8_tests.txt",
|
||||
"container_9_tests.txt"]
|
||||
steps:
|
||||
- name: Get branch and PR required for detection testing main.py
|
||||
id: vars
|
||||
@@ -158,4 +172,74 @@ jobs:
|
||||
automated_detection_testing/ci/detection_testing_batch/error.json
|
||||
automated_detection_testing/ci/detection_testing_batch/failure.json
|
||||
automated_detection_testing/ci/detection_testing_batch/combined.json
|
||||
|
||||
|
||||
docker-detection-testing-execution-merge-results:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [validate-tag-if-present, quit-for-dependabot, docker-detection-testing-setup, docker-detection-testing-execution]
|
||||
|
||||
steps:
|
||||
- name: Get branch and PR required for detection testing main.py
|
||||
id: vars
|
||||
run: |
|
||||
echo "::set-output name=branch::${GITHUB_REF#refs/heads/}"
|
||||
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Download artifacts
|
||||
uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: container_0_tests.txt.results
|
||||
path: automated_detection_testing/ci/detection_testing_batch/results
|
||||
- name: Download artifacts
|
||||
uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: container_1_tests.txt.results
|
||||
path: automated_detection_testing/ci/detection_testing_batch/results
|
||||
- name: Download artifacts
|
||||
uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: container_2_tests.txt.results
|
||||
path: automated_detection_testing/ci/detection_testing_batch/results
|
||||
- name: Download artifacts
|
||||
uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: container_3_tests.txt.results
|
||||
path: automated_detection_testing/ci/detection_testing_batch/results
|
||||
- name: Download artifacts
|
||||
uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: container_4_tests.txt.results
|
||||
path: automated_detection_testing/ci/detection_testing_batch/results
|
||||
- name: Download artifacts
|
||||
uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: container_5_tests.txt.results
|
||||
path: automated_detection_testing/ci/detection_testing_batch/results
|
||||
- name: Download artifacts
|
||||
uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: container_6_tests.txt.results
|
||||
path: automated_detection_testing/ci/detection_testing_batch/results
|
||||
- name: Download artifacts
|
||||
uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: container_7_tests.txt.results
|
||||
path: automated_detection_testing/ci/detection_testing_batch/results
|
||||
- name: Download artifacts
|
||||
uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: container_8_tests.txt.results
|
||||
path: automated_detection_testing/ci/detection_testing_batch/results
|
||||
- name: Download artifacts
|
||||
uses: actions/download-artifact@v2
|
||||
with:
|
||||
name: container_9_tests.txt.results
|
||||
path: automated_detection_testing/ci/detection_testing_batch/results
|
||||
|
||||
- name: Merge Detections into single File
|
||||
run: |
|
||||
cd automated_detection_testing/ci/detection_testing_batch/results
|
||||
ls -lah
|
||||
echo "DONE!"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user