Commit Graph

133 Commits

Author SHA1 Message Date
Bhavin Patel f3372e03c2 Release branch v4.16.0 2023-11-16 20:33:10 +00:00
Bhavin Patel e7af7456cb Revert "Upload test artifact/results" 2023-01-26 14:26:24 -08:00
pyth0n1c c7321f70b2 Update detection-testing.yml
Accidentally removed change directory.
We were not in the correct directory
for the file we were trying to upload
to S3.
2023-01-10 10:16:14 -08:00
pyth0n1c 03b5659913 Upload test artifact/results
after a scheduled test run.
2023-01-05 17:06:12 -08:00
pyth0n1c d90598abc9 More updates to workflow 2022-09-27 11:30:19 -07:00
pyth0n1c 8ee7196cf6 Fixed name from /refs/tag/ to refs/tag/ 2022-09-27 11:00:56 -07:00
pyth0n1c 88ba1e8080 Fixing skip detection testing on tag 2022-09-27 10:54:38 -07:00
pyth0n1c 197834b2b7 another fix to tag checking 2022-09-27 10:32:27 -07:00
pyth0n1c 6019f90800 syntax fix for don't run on tags 2022-09-27 10:31:00 -07:00
pyth0n1c 84da3285a6 Don't run detection testing on TAGs 2022-09-27 10:29:23 -07:00
pyth0n1c 92e2d97588 Update detection-testing.yml
For a quotation mark
2022-08-26 13:52:30 -07:00
pyth0n1c 8d611bb546 Update detection-testing.yml
Updated to use pip cache
2022-08-26 13:50:57 -07:00
pyth0n1c baeba5b319 Fixed pathing
Fixed pathing to venv and 
requirements.txt files.
2022-08-26 13:34:37 -07:00
pyth0n1c c1be892bd1 Merge branch 'develop' into eliminate_duplicate_python_requirements_files 2022-08-26 12:09:54 -07:00
pyth0n1c e7102508d9 Removed with: develop from the detection-
testing workflows since we need to test
a new version of the detection testing code.
2022-08-19 15:05:40 -07:00
pyth0n1c 51edd7950a Condensed multiple requirements.txt
files into single requirements.txt in
the root of security_content.
Removed explicit calls to python3
in CI/CD workflows and inside of
the docker_detection_testing tool.
These are not required and in fact
should not be done since python
interpreters started by the
detection tester inherit the
venv the parent was run under.
2022-07-20 15:53:20 -07:00
pyth0n1c ef9b64c968 Updated detection-testing.yml
to the same as the version in 
develop so that testing can 
proceed.  Since there is a PR
open, why didn't this auto
update?
2022-04-08 06:34:56 -07:00
pyth0n1c 93176ca83b Updated S3 upload code to proper bucket path 2022-04-04 15:52:49 -07:00
pyth0n1c 0209621f81 Code to generate and upload
pass rate badge after completion
of a scheduled run.  Also uploads
the summary_test_results.json file
for use on research.splunk.com
2022-04-04 15:29:28 -07:00
pyth0n1c defa3d0f73 Path was wrong for SummaryTestResults.
This error was introduced when the YML
was updated during the detection testing
code cleanup.  This resulted in the entire 
folder being uploaded instead of a single 
json file.
2022-03-23 11:29:34 -07:00
pyth0n1c 9ba8cba89c Changed paths in detection-testing.yml
to reflect new paths after update of bin
folder to remove deprecated testing code.
2022-03-22 13:16:20 -07:00
Jose Enrique Hernandez d78bb53baa Revert "Refactored security content" 2022-03-04 15:13:04 -05:00
P4T12ICK 68543a8dc1 merged with develop 2022-03-03 13:11:56 +01:00
pyth0n1c 10ed443903 Ensuring that testing code from develop
branch is always used for CI/CD.  This is
done by explicitly checking out the develop
branch to get the testing code.  We make
this change to avoid doing CI/CD tests 
using out-of-data Splunkbase Apps.
For one-off testing, a develop can
always modify this workflow file to 
NOT check out the develop branch
and include a custom test JSON.
2022-03-01 09:41:19 -08:00
pyth0n1c 140f481ae9 with: should not be indented 2022-02-28 11:58:03 -08:00
pyth0n1c 74ab5a77bd ref: needs to be nested under with: 2022-02-28 11:56:17 -08:00
pyth0n1c 56aaca04b5 Put ref in the wrong place for checkout.
Fixed - it goes under uses:
2022-02-28 11:54:38 -08:00
pyth0n1c 222ee749fd Updated to always use test code
from the develop branch, meaning
that the test code will always be 
up to date.
2022-02-28 11:43:04 -08:00
pyth0n1c 0654f3dcb5 Print out the docker logs when
a container fails to start unexpectedly
2022-02-28 10:56:09 -08:00
pyth0n1c 05898d1c72 Updated the test config used for github actions and the workflow to remove the use of the splunkbase username and password secrets. After this is merged, we can remove them from the repository. We will simply use the versions that we update in S3. 2022-02-15 15:43:36 -08:00
pyth0n1c 5ecb9f5fbd Tests were failing on GH Actions that should not have been failing. This is likely due to not enough time waiting for indexing to fail. Doubled the time we wait between indexing complete check. Also moved from hourly tests of all detections to daily. 2022-01-13 15:50:07 -08:00
pyth0n1c cc90aca4b9 Fixed spacing in printouts for
detection-testing.yml
2022-01-13 10:35:23 -08:00
pyth0n1c 928797252d Changed from
github.event.action to
github.event_name
2022-01-13 10:32:49 -08:00
pyth0n1c da5e00e580 Added spaces to fix format of
github.event.action
2022-01-13 10:25:07 -08:00
pyth0n1c 77b5fde422 Fixed scheduled action for nightly test.
Now, it will hopefully only run the test of
the entire repo on the SCHEDULED
github.event.action, not on scheduled
event of any commit to the develop branch.
We have changed the schedule interval to
hourly for testing purposes today and will
change it back to nightly after today's testing.
2022-01-13 10:22:25 -08:00
pyth0n1c 8d669b66f8 Removing previous file that was added accidentally in last commit. Updating the detection-testing.yml file to remove ls of non-existant directory as intended 2022-01-12 16:17:38 -08:00
pyth0n1c 2cb3390164 Migrated the docker detection testing from
build-and-validate.yml into detection-testing.yml
workflow.  Removed the unused AWS batch
testing workflow.  This makes much more sense
2022-01-12 16:05:22 -08:00
d1vious 4bbe1891c3 moving under bin 2021-11-03 21:43:47 -04:00
pyth0n1c fd2b5f1a88 Made an extra job that will not run
for dependabot
2021-09-08 12:55:34 -07:00
pyth0n1c 0d180eb74a Don't run detection testing if the actor
is dependabot
2021-09-08 11:44:23 -07:00
pyth0n1c 2a33d7377f Updated boto3 version in requirements.txt.
Removed extra python requirements
installation in detection-testing.
2021-09-02 16:10:16 -07:00
pyth0n1c edff0a09f0 Updated requirements for the build-and-validate
workflow and the wheel install and pip upgrade
everywhere else.  Going to run detection testing
on this and see if it's good.
2021-09-02 15:51:24 -07:00
pyth0n1c 756cb6e1d7 Using pip freeze to get all the new requirements 2021-09-02 15:30:24 -07:00
pyth0n1c 3b08a85330 Fixed testing so that it only runs on Push and Create/Reopen PR. 2021-08-31 11:56:18 -07:00
pyth0n1c bddb7a7835 Fixed correct branch and PR number for both pushes and PRs for detection testing. 2021-08-30 14:41:20 -07:00
pyth0n1c 289360bc8d Print out more env variables associated with pull request. 2021-08-30 14:35:20 -07:00
pyth0n1c 9ad3e184e2 Priting out pr number and ohter variables 2021-08-30 14:24:51 -07:00
pyth0n1c 8429e51863 Testing what is being passed to detectrion testing. 2021-08-30 14:18:46 -07:00
pyth0n1c 5bb24d5fc9 Fixed variable name for pull request number. 2021-08-30 13:22:47 -07:00
pyth0n1c 851e0bd536 Removed duplicate id from detection-testing.yml 2021-08-30 13:15:28 -07:00