diff --git a/.github/workflows/detection-testing.yml b/.github/workflows/detection-testing.yml index ef8bce5826..82d471d5f6 100644 --- a/.github/workflows/detection-testing.yml +++ b/.github/workflows/detection-testing.yml @@ -69,7 +69,7 @@ jobs: - name: Install Python Dependencies run: | #Get the virtualenv set up - cd automated_detection_testing/ci/python_ci_code + cd bin/automated_detection_testing/ci/python_ci_code rm -rf venv python3 -m venv --clear venv source venv/bin/activate @@ -90,7 +90,7 @@ jobs: - name: Run Detection testing timeout-minutes: 120 run: | - cd automated_detection_testing/ci/python_ci_code + cd bin/automated_detection_testing/ci/python_ci_code source venv/bin/activate echo "github.event.issue.pull_request : [${{ github.event.issue.pull_request }}]" diff --git a/automated_detection_testing/.dockerignore b/bin/automated_detection_testing/.dockerignore similarity index 100% rename from automated_detection_testing/.dockerignore rename to bin/automated_detection_testing/.dockerignore diff --git a/automated_detection_testing/Dockerfile b/bin/automated_detection_testing/Dockerfile similarity index 100% rename from automated_detection_testing/Dockerfile rename to bin/automated_detection_testing/Dockerfile diff --git a/automated_detection_testing/README.md b/bin/automated_detection_testing/README.md similarity index 100% rename from automated_detection_testing/README.md rename to bin/automated_detection_testing/README.md diff --git a/automated_detection_testing/architecture_automated_detection_testing.png b/bin/automated_detection_testing/architecture_automated_detection_testing.png similarity index 100% rename from automated_detection_testing/architecture_automated_detection_testing.png rename to bin/automated_detection_testing/architecture_automated_detection_testing.png diff --git a/automated_detection_testing/ci/attack_range_for_testing/Dockerfile b/bin/automated_detection_testing/ci/attack_range_for_testing/Dockerfile similarity index 100% rename from automated_detection_testing/ci/attack_range_for_testing/Dockerfile rename to bin/automated_detection_testing/ci/attack_range_for_testing/Dockerfile diff --git a/automated_detection_testing/ci/attack_range_for_testing/detection_service.py b/bin/automated_detection_testing/ci/attack_range_for_testing/detection_service.py similarity index 100% rename from automated_detection_testing/ci/attack_range_for_testing/detection_service.py rename to bin/automated_detection_testing/ci/attack_range_for_testing/detection_service.py diff --git a/automated_detection_testing/ci/attack_range_for_testing/helpers/attack_range_controller.py b/bin/automated_detection_testing/ci/attack_range_for_testing/helpers/attack_range_controller.py similarity index 100% rename from automated_detection_testing/ci/attack_range_for_testing/helpers/attack_range_controller.py rename to bin/automated_detection_testing/ci/attack_range_for_testing/helpers/attack_range_controller.py diff --git a/automated_detection_testing/ci/attack_range_for_testing/helpers/aws_service.py b/bin/automated_detection_testing/ci/attack_range_for_testing/helpers/aws_service.py similarity index 100% rename from automated_detection_testing/ci/attack_range_for_testing/helpers/aws_service.py rename to bin/automated_detection_testing/ci/attack_range_for_testing/helpers/aws_service.py diff --git a/automated_detection_testing/ci/attack_range_for_testing/helpers/github_service.py b/bin/automated_detection_testing/ci/attack_range_for_testing/helpers/github_service.py similarity index 100% rename from automated_detection_testing/ci/attack_range_for_testing/helpers/github_service.py rename to bin/automated_detection_testing/ci/attack_range_for_testing/helpers/github_service.py diff --git a/automated_detection_testing/ci/attack_range_for_testing/requirements.txt b/bin/automated_detection_testing/ci/attack_range_for_testing/requirements.txt similarity index 100% rename from automated_detection_testing/ci/attack_range_for_testing/requirements.txt rename to bin/automated_detection_testing/ci/attack_range_for_testing/requirements.txt diff --git a/automated_detection_testing/ci/detection_testing_batch/Dockerfile b/bin/automated_detection_testing/ci/detection_testing_batch/Dockerfile similarity index 100% rename from automated_detection_testing/ci/detection_testing_batch/Dockerfile rename to bin/automated_detection_testing/ci/detection_testing_batch/Dockerfile diff --git a/automated_detection_testing/ci/detection_testing_batch/ansible/attack_replay.yml b/bin/automated_detection_testing/ci/detection_testing_batch/ansible/attack_replay.yml similarity index 100% rename from automated_detection_testing/ci/detection_testing_batch/ansible/attack_replay.yml rename to bin/automated_detection_testing/ci/detection_testing_batch/ansible/attack_replay.yml diff --git a/automated_detection_testing/ci/detection_testing_batch/ansible/roles/attack_replay/tasks/main.yml b/bin/automated_detection_testing/ci/detection_testing_batch/ansible/roles/attack_replay/tasks/main.yml similarity index 100% rename from automated_detection_testing/ci/detection_testing_batch/ansible/roles/attack_replay/tasks/main.yml rename to bin/automated_detection_testing/ci/detection_testing_batch/ansible/roles/attack_replay/tasks/main.yml diff --git a/automated_detection_testing/ci/detection_testing_batch/ansible/roles/update_escu/tasks/main.yml b/bin/automated_detection_testing/ci/detection_testing_batch/ansible/roles/update_escu/tasks/main.yml similarity index 100% rename from automated_detection_testing/ci/detection_testing_batch/ansible/roles/update_escu/tasks/main.yml rename to bin/automated_detection_testing/ci/detection_testing_batch/ansible/roles/update_escu/tasks/main.yml diff --git a/automated_detection_testing/ci/detection_testing_batch/ansible/update_escu.yml b/bin/automated_detection_testing/ci/detection_testing_batch/ansible/update_escu.yml similarity index 100% rename from automated_detection_testing/ci/detection_testing_batch/ansible/update_escu.yml rename to bin/automated_detection_testing/ci/detection_testing_batch/ansible/update_escu.yml diff --git a/automated_detection_testing/ci/detection_testing_batch/detection_testing_execution.py b/bin/automated_detection_testing/ci/detection_testing_batch/detection_testing_execution.py similarity index 100% rename from automated_detection_testing/ci/detection_testing_batch/detection_testing_execution.py rename to bin/automated_detection_testing/ci/detection_testing_batch/detection_testing_execution.py diff --git a/automated_detection_testing/ci/detection_testing_batch/modules/DataManipulation.py b/bin/automated_detection_testing/ci/detection_testing_batch/modules/DataManipulation.py similarity index 100% rename from automated_detection_testing/ci/detection_testing_batch/modules/DataManipulation.py rename to bin/automated_detection_testing/ci/detection_testing_batch/modules/DataManipulation.py diff --git a/automated_detection_testing/ci/detection_testing_batch/modules/__init__.py b/bin/automated_detection_testing/ci/detection_testing_batch/modules/__init__.py similarity index 100% rename from automated_detection_testing/ci/detection_testing_batch/modules/__init__.py rename to bin/automated_detection_testing/ci/detection_testing_batch/modules/__init__.py diff --git a/automated_detection_testing/ci/detection_testing_batch/modules/aws_service.py b/bin/automated_detection_testing/ci/detection_testing_batch/modules/aws_service.py similarity index 100% rename from automated_detection_testing/ci/detection_testing_batch/modules/aws_service.py rename to bin/automated_detection_testing/ci/detection_testing_batch/modules/aws_service.py diff --git a/automated_detection_testing/ci/detection_testing_batch/modules/github_service.py b/bin/automated_detection_testing/ci/detection_testing_batch/modules/github_service.py similarity index 100% rename from automated_detection_testing/ci/detection_testing_batch/modules/github_service.py rename to bin/automated_detection_testing/ci/detection_testing_batch/modules/github_service.py diff --git a/automated_detection_testing/ci/detection_testing_batch/modules/splunk_sdk.py b/bin/automated_detection_testing/ci/detection_testing_batch/modules/splunk_sdk.py similarity index 100% rename from automated_detection_testing/ci/detection_testing_batch/modules/splunk_sdk.py rename to bin/automated_detection_testing/ci/detection_testing_batch/modules/splunk_sdk.py diff --git a/automated_detection_testing/ci/detection_testing_batch/modules/testing_service.py b/bin/automated_detection_testing/ci/detection_testing_batch/modules/testing_service.py similarity index 100% rename from automated_detection_testing/ci/detection_testing_batch/modules/testing_service.py rename to bin/automated_detection_testing/ci/detection_testing_batch/modules/testing_service.py diff --git a/automated_detection_testing/ci/detection_testing_batch/modules/tmp/tstats_endpoint_processes b/bin/automated_detection_testing/ci/detection_testing_batch/modules/tmp/tstats_endpoint_processes similarity index 100% rename from automated_detection_testing/ci/detection_testing_batch/modules/tmp/tstats_endpoint_processes rename to bin/automated_detection_testing/ci/detection_testing_batch/modules/tmp/tstats_endpoint_processes diff --git a/automated_detection_testing/ci/detection_testing_batch/requirements.txt b/bin/automated_detection_testing/ci/detection_testing_batch/requirements.txt similarity index 100% rename from automated_detection_testing/ci/detection_testing_batch/requirements.txt rename to bin/automated_detection_testing/ci/detection_testing_batch/requirements.txt diff --git a/automated_detection_testing/ci/labeled_data/Dockerfile b/bin/automated_detection_testing/ci/labeled_data/Dockerfile similarity index 100% rename from automated_detection_testing/ci/labeled_data/Dockerfile rename to bin/automated_detection_testing/ci/labeled_data/Dockerfile diff --git a/automated_detection_testing/ci/labeled_data/ansible/attack_replay.yml b/bin/automated_detection_testing/ci/labeled_data/ansible/attack_replay.yml similarity index 100% rename from automated_detection_testing/ci/labeled_data/ansible/attack_replay.yml rename to bin/automated_detection_testing/ci/labeled_data/ansible/attack_replay.yml diff --git a/automated_detection_testing/ci/labeled_data/ansible/roles/attack_replay/tasks/main.yml b/bin/automated_detection_testing/ci/labeled_data/ansible/roles/attack_replay/tasks/main.yml similarity index 100% rename from automated_detection_testing/ci/labeled_data/ansible/roles/attack_replay/tasks/main.yml rename to bin/automated_detection_testing/ci/labeled_data/ansible/roles/attack_replay/tasks/main.yml diff --git a/automated_detection_testing/ci/labeled_data/ansible/roles/update_escu/tasks/main.yml b/bin/automated_detection_testing/ci/labeled_data/ansible/roles/update_escu/tasks/main.yml similarity index 100% rename from automated_detection_testing/ci/labeled_data/ansible/roles/update_escu/tasks/main.yml rename to bin/automated_detection_testing/ci/labeled_data/ansible/roles/update_escu/tasks/main.yml diff --git a/automated_detection_testing/ci/labeled_data/ansible/update_escu.yml b/bin/automated_detection_testing/ci/labeled_data/ansible/update_escu.yml similarity index 100% rename from automated_detection_testing/ci/labeled_data/ansible/update_escu.yml rename to bin/automated_detection_testing/ci/labeled_data/ansible/update_escu.yml diff --git a/automated_detection_testing/ci/labeled_data/labeled_data.py b/bin/automated_detection_testing/ci/labeled_data/labeled_data.py similarity index 100% rename from automated_detection_testing/ci/labeled_data/labeled_data.py rename to bin/automated_detection_testing/ci/labeled_data/labeled_data.py diff --git a/automated_detection_testing/ci/labeled_data/modules/DataManipulation.py b/bin/automated_detection_testing/ci/labeled_data/modules/DataManipulation.py similarity index 100% rename from automated_detection_testing/ci/labeled_data/modules/DataManipulation.py rename to bin/automated_detection_testing/ci/labeled_data/modules/DataManipulation.py diff --git a/automated_detection_testing/ci/labeled_data/modules/aws_service.py b/bin/automated_detection_testing/ci/labeled_data/modules/aws_service.py similarity index 100% rename from automated_detection_testing/ci/labeled_data/modules/aws_service.py rename to bin/automated_detection_testing/ci/labeled_data/modules/aws_service.py diff --git a/automated_detection_testing/ci/labeled_data/modules/github_service.py b/bin/automated_detection_testing/ci/labeled_data/modules/github_service.py similarity index 100% rename from automated_detection_testing/ci/labeled_data/modules/github_service.py rename to bin/automated_detection_testing/ci/labeled_data/modules/github_service.py diff --git a/automated_detection_testing/ci/labeled_data/modules/splunk_sdk.py b/bin/automated_detection_testing/ci/labeled_data/modules/splunk_sdk.py similarity index 100% rename from automated_detection_testing/ci/labeled_data/modules/splunk_sdk.py rename to bin/automated_detection_testing/ci/labeled_data/modules/splunk_sdk.py diff --git a/automated_detection_testing/ci/labeled_data/modules/testing_service.py b/bin/automated_detection_testing/ci/labeled_data/modules/testing_service.py similarity index 100% rename from automated_detection_testing/ci/labeled_data/modules/testing_service.py rename to bin/automated_detection_testing/ci/labeled_data/modules/testing_service.py diff --git a/automated_detection_testing/ci/labeled_data/requirements.txt b/bin/automated_detection_testing/ci/labeled_data/requirements.txt similarity index 100% rename from automated_detection_testing/ci/labeled_data/requirements.txt rename to bin/automated_detection_testing/ci/labeled_data/requirements.txt diff --git a/automated_detection_testing/ci/python_ci_code/main.py b/bin/automated_detection_testing/ci/python_ci_code/main.py similarity index 100% rename from automated_detection_testing/ci/python_ci_code/main.py rename to bin/automated_detection_testing/ci/python_ci_code/main.py diff --git a/automated_detection_testing/ci/python_ci_code/requirements.txt b/bin/automated_detection_testing/ci/python_ci_code/requirements.txt similarity index 100% rename from automated_detection_testing/ci/python_ci_code/requirements.txt rename to bin/automated_detection_testing/ci/python_ci_code/requirements.txt diff --git a/automated_detection_testing/config b/bin/automated_detection_testing/config similarity index 100% rename from automated_detection_testing/config rename to bin/automated_detection_testing/config diff --git a/automated_detection_testing/detection_service.py b/bin/automated_detection_testing/detection_service.py similarity index 100% rename from automated_detection_testing/detection_service.py rename to bin/automated_detection_testing/detection_service.py diff --git a/automated_detection_testing/requirements.txt b/bin/automated_detection_testing/requirements.txt similarity index 100% rename from automated_detection_testing/requirements.txt rename to bin/automated_detection_testing/requirements.txt diff --git a/automated_detection_testing/templates/PR_template.j2 b/bin/automated_detection_testing/templates/PR_template.j2 similarity index 100% rename from automated_detection_testing/templates/PR_template.j2 rename to bin/automated_detection_testing/templates/PR_template.j2 diff --git a/automated_detection_testing/templates/PR_template_attack_data.j2 b/bin/automated_detection_testing/templates/PR_template_attack_data.j2 similarity index 100% rename from automated_detection_testing/templates/PR_template_attack_data.j2 rename to bin/automated_detection_testing/templates/PR_template_attack_data.j2