Commit Graph

371 Commits

Author SHA1 Message Date
pyth0n1c c9d0e72cf3 removed accidental brackets from branch name in
CI testing branch name.
2022-01-12 14:04:38 -08:00
pyth0n1c 588eaad92a Accidentally hardcoded the branch name for testing.
Fixed.
2022-01-12 13:44:01 -08:00
pyth0n1c 4d9349084e Changed to run nightly on develop and changes on other branches for pushes and PRs. 2022-01-11 16:37:03 -08:00
pyth0n1c 7b3029b187 Removed splunkbase-only test_config file. Pushing to run a test on all. Will push again for changes only. 2022-01-11 16:35:19 -08:00
pyth0n1c 2574fb2fea Hardcoding the branch to develop for CI testing. 2021-12-22 13:19:05 -08:00
pyth0n1c 04c526ba6d Changed the wrong line to trigger a test of everything. Trying again. 2021-12-21 11:17:09 -08:00
pyth0n1c 5f972f734f Re-push to test everything with 2 containers per GH Actions machine. 2021-12-21 11:00:11 -08:00
pyth0n1c 5a554f3b5b Updated paths in workflows that changed due to
relocating the automated_detection_testing
folder in bin/
2021-12-08 14:09:22 -08:00
pyth0n1c 04ba2b5ae6 Merge branch 'develop' into DetectionTestingDocker 2021-12-08 13:04:28 -08:00
pyth0n1c 8f55eb5848 Proper summary.json files are now always generated after a run of the CI. It does not require a separate run of summarize_json.py. Becuase the CI runs different jobs, though, it is still required to run this explicitly in the CI. Also fixed an issue where searches that resulted in an error had incorrect json output due to improper python error handling. 2021-12-08 12:00:51 -08:00
pyth0n1c 14e548c65a More changes to CI. Fixed a bash typo and removed the docker-detection-testing.yml since it has been integrated into build-and-validate. 2021-12-06 14:54:58 -08:00
pyth0n1c 3de3ffeada Brace in wrong location - around non environment variable 2021-12-06 14:44:27 -08:00
pyth0n1c 2981a9c592 added a check to see if we are running on develop, meaning that it is a nightly job. Also, added a cron job to fun of 04:44 UTC. GitHub recommends against the top of the hour because load is higher at that time. 2021-12-06 14:37:24 -08:00
pyth0n1c 652355a124 Typo in branch name caused an error during checking. 2021-12-06 11:51:14 -08:00
pyth0n1c 9be4d1a4eb Large changes to json validation for local_apps. json validation was wrong. also changed CI to run on push and on PR using the new CI job! Note that it will still require lots of testing. 2021-12-06 11:41:35 -08:00
pyth0n1c 6457b505db When there is an error checking out a git PR. If the PR number is bad, we will exit. Also updated the CI/CD to test all of develop again. We will look at the results after we have increased the wait time after loading data a bit. 2021-12-01 15:58:31 -08:00
pyth0n1c 531d550b3b Just change the workflow to explicitly test the RegistryDetectionFixes branch. 2021-12-01 14:44:51 -08:00
pyth0n1c c085327a72 Change the detection testing mode to all for a test of everything. 2021-11-30 19:33:46 -08:00
pyth0n1c f1a10f0d65 Upload the updated test file so we can replicate the test in the future. 2021-11-30 10:36:12 -08:00
pyth0n1c eb6378e805 Made some changes to properly supporting testing changed test file. Had some trouble before locating the appropriate detection file. Also throw an error if we try to test a file that was changed and is in the experimental path. Set up to run a test of the DetectionBaselineFixes branch to test these changes in GitHub Actions. 2021-11-30 09:52:36 -08:00
pyth0n1c 868c98082b Small change to test changes on a specific branch instead of develop. 2021-11-29 16:49:06 -08:00
pyth0n1c 2b3fd66bb3 Run a test on everything, saving the intermediate files to help debugging. 2021-11-29 11:54:26 -08:00
pyth0n1c fff797358c Run a handlful of tests on push to produce output artifacts. 2021-11-29 11:34:59 -08:00
pyth0n1c 95e7169e05 fix quote 2021-11-29 10:53:29 -08:00
pyth0n1c e8fb9578ea Change types of quotes around schedule 2021-11-29 10:51:44 -08:00
pyth0n1c 38ad36c296 Run at 55th minute each hour for testing. 2021-11-29 10:49:54 -08:00
P4T12ICK e1844e0333 removed devsecops 2021-11-25 08:55:22 +01:00
pyth0n1c afb07b6714 Run it on push too for an immediate test 2021-11-24 17:14:33 -08:00
pyth0n1c b94ef641ec Changed the detection testing to run on all, develop instead of changes to a different branch. This will collect some data for us over the next few days. 2021-11-24 17:13:41 -08:00
pyth0n1c ae3e8f1b75 slim failed to install, causing escu app install to fail. 2021-11-24 14:56:38 -08:00
pyth0n1c aa985d5077 Made some small changes to printed strings. Fixed summarize_json missing python library error by sourcing virtualenv set up in previous step. 2021-11-24 14:42:18 -08:00
pyth0n1c 9517171204 Small change to the output format of the test-config file that is generated at runtime to accurately describe the current test. Also added install of requirements.txt to final summary step. 2021-11-24 14:20:46 -08:00
pyth0n1c 88977a9fb8 Changes to template and summary to support passing a commit_hash parameter, not just a branch parameter, so that even old tests can be replicated. 2021-11-24 13:58:32 -08:00
pyth0n1c 4f6be10581 Testing with the proper mode for a specific branch. 2021-11-24 12:00:02 -08:00
pyth0n1c f32f1bed2a More verbose debug messages in summarize_json. 2021-11-24 11:45:52 -08:00
pyth0n1c ccc29005fa Still diagnosing path issues for summarize. 2021-11-24 11:12:19 -08:00
pyth0n1c 54a34608fe Fixed results paths once more for summary. 2021-11-24 10:36:33 -08:00
pyth0n1c 5012b0f766 Another run to check and see if the summarization works and confirm the directory structure of the artifacts. 2021-11-24 10:10:27 -08:00
pyth0n1c 3cd3ca6692 Another CI change to list directory structure during summarize step. 2021-11-24 09:54:27 -08:00
pyth0n1c 6b292ba2c1 upload artifacts even if summarize fails. 2021-11-23 17:13:44 -08:00
pyth0n1c a302d952b4 tiny ci change to test everything overnight 2021-11-23 17:12:25 -08:00
pyth0n1c 1a39321be6 Small typo in artifact filename. 2021-11-23 15:54:12 -08:00
pyth0n1c b0e7c33c4d Changing mode for CI PR test from selected to changes. 2021-11-23 15:14:49 -08:00
pyth0n1c 1015abc30a Finally ready to try the full integration test after modifying the docker-detection-testing.yml with new names, paths, and arguments. Fingers crossed... 2021-11-23 15:10:28 -08:00
pyth0n1c 914f49d6f7 Delete intermediate testing artifacts/container config files in CI. Better job packaging all local apps, not just escu, into the same folder for --mock. 2021-11-23 11:59:01 -08:00
Bhavin Patel 0f3f056dd5 Branch was auto-updated. 2021-11-10 07:54:24 -08:00
Jose Enrique Hernandez 67f77aaf17 won't ever be a splunk app format as we know it,
removing for now
2021-11-10 10:30:38 -05:00
pyth0n1c f57185496c Removed comment from if: for run_appinspect CI
job.  This is in prep for merging it into develop.
It was commented so that it would run on testing.
2021-11-09 17:18:07 -08:00
pyth0n1c 5fa9c7a9fe Comment typo in
build-and-validate.yml
$ sign instead of # for comment
2021-11-09 13:04:53 -08:00
pyth0n1c 9cb134658d Realized SSA isn't a full app, it's just
a directory with detections.  Made changes
so that it won't run through slim or appinspect.
Will manually verify by looking at the 
artifacts that it is correct.
2021-11-09 12:58:13 -08:00