From 4bbe1891c361c97df25258ecca1feab54d43b6f5 Mon Sep 17 00:00:00 2001 From: d1vious Date: Wed, 3 Nov 2021 21:43:47 -0400 Subject: [PATCH] moving under bin --- .github/workflows/detection-testing.yml | 4 ++-- .../automated_detection_testing}/.dockerignore | 0 .../automated_detection_testing}/Dockerfile | 0 .../automated_detection_testing}/README.md | 0 .../architecture_automated_detection_testing.png | Bin .../ci/attack_range_for_testing/Dockerfile | 0 .../attack_range_for_testing/detection_service.py | 0 .../helpers/attack_range_controller.py | 0 .../attack_range_for_testing/helpers/aws_service.py | 0 .../helpers/github_service.py | 0 .../ci/attack_range_for_testing/requirements.txt | 0 .../ci/detection_testing_batch/Dockerfile | 0 .../ansible/attack_replay.yml | 0 .../ansible/roles/attack_replay/tasks/main.yml | 0 .../ansible/roles/update_escu/tasks/main.yml | 0 .../detection_testing_batch/ansible/update_escu.yml | 0 .../detection_testing_execution.py | 0 .../modules/DataManipulation.py | 0 .../ci/detection_testing_batch/modules/__init__.py | 0 .../detection_testing_batch/modules/aws_service.py | 0 .../modules/github_service.py | 0 .../detection_testing_batch/modules/splunk_sdk.py | 0 .../modules/testing_service.py | 0 .../modules/tmp/tstats_endpoint_processes | 0 .../ci/detection_testing_batch/requirements.txt | 0 .../ci/labeled_data/Dockerfile | 0 .../ci/labeled_data/ansible/attack_replay.yml | 0 .../ansible/roles/attack_replay/tasks/main.yml | 0 .../ansible/roles/update_escu/tasks/main.yml | 0 .../ci/labeled_data/ansible/update_escu.yml | 0 .../ci/labeled_data/labeled_data.py | 0 .../ci/labeled_data/modules/DataManipulation.py | 0 .../ci/labeled_data/modules/aws_service.py | 0 .../ci/labeled_data/modules/github_service.py | 0 .../ci/labeled_data/modules/splunk_sdk.py | 0 .../ci/labeled_data/modules/testing_service.py | 0 .../ci/labeled_data/requirements.txt | 0 .../ci/python_ci_code/main.py | 0 .../ci/python_ci_code/requirements.txt | 0 .../automated_detection_testing}/config | 0 .../detection_service.py | 0 .../automated_detection_testing}/requirements.txt | 0 .../templates/PR_template.j2 | 0 .../templates/PR_template_attack_data.j2 | 0 44 files changed, 2 insertions(+), 2 deletions(-) rename {automated_detection_testing => bin/automated_detection_testing}/.dockerignore (100%) rename {automated_detection_testing => bin/automated_detection_testing}/Dockerfile (100%) rename {automated_detection_testing => bin/automated_detection_testing}/README.md (100%) rename {automated_detection_testing => bin/automated_detection_testing}/architecture_automated_detection_testing.png (100%) rename {automated_detection_testing => bin/automated_detection_testing}/ci/attack_range_for_testing/Dockerfile (100%) rename {automated_detection_testing => bin/automated_detection_testing}/ci/attack_range_for_testing/detection_service.py (100%) rename {automated_detection_testing => bin/automated_detection_testing}/ci/attack_range_for_testing/helpers/attack_range_controller.py (100%) rename {automated_detection_testing => bin/automated_detection_testing}/ci/attack_range_for_testing/helpers/aws_service.py (100%) rename {automated_detection_testing => bin/automated_detection_testing}/ci/attack_range_for_testing/helpers/github_service.py (100%) rename {automated_detection_testing => bin/automated_detection_testing}/ci/attack_range_for_testing/requirements.txt (100%) rename {automated_detection_testing => bin/automated_detection_testing}/ci/detection_testing_batch/Dockerfile (100%) rename {automated_detection_testing => bin/automated_detection_testing}/ci/detection_testing_batch/ansible/attack_replay.yml (100%) rename {automated_detection_testing => bin/automated_detection_testing}/ci/detection_testing_batch/ansible/roles/attack_replay/tasks/main.yml (100%) rename {automated_detection_testing => bin/automated_detection_testing}/ci/detection_testing_batch/ansible/roles/update_escu/tasks/main.yml (100%) rename {automated_detection_testing => bin/automated_detection_testing}/ci/detection_testing_batch/ansible/update_escu.yml (100%) rename {automated_detection_testing => bin/automated_detection_testing}/ci/detection_testing_batch/detection_testing_execution.py (100%) rename {automated_detection_testing => bin/automated_detection_testing}/ci/detection_testing_batch/modules/DataManipulation.py (100%) rename {automated_detection_testing => bin/automated_detection_testing}/ci/detection_testing_batch/modules/__init__.py (100%) rename {automated_detection_testing => bin/automated_detection_testing}/ci/detection_testing_batch/modules/aws_service.py (100%) rename {automated_detection_testing => bin/automated_detection_testing}/ci/detection_testing_batch/modules/github_service.py (100%) rename {automated_detection_testing => bin/automated_detection_testing}/ci/detection_testing_batch/modules/splunk_sdk.py (100%) rename {automated_detection_testing => bin/automated_detection_testing}/ci/detection_testing_batch/modules/testing_service.py (100%) rename {automated_detection_testing => bin/automated_detection_testing}/ci/detection_testing_batch/modules/tmp/tstats_endpoint_processes (100%) rename {automated_detection_testing => bin/automated_detection_testing}/ci/detection_testing_batch/requirements.txt (100%) rename {automated_detection_testing => bin/automated_detection_testing}/ci/labeled_data/Dockerfile (100%) rename {automated_detection_testing => bin/automated_detection_testing}/ci/labeled_data/ansible/attack_replay.yml (100%) rename {automated_detection_testing => bin/automated_detection_testing}/ci/labeled_data/ansible/roles/attack_replay/tasks/main.yml (100%) rename {automated_detection_testing => bin/automated_detection_testing}/ci/labeled_data/ansible/roles/update_escu/tasks/main.yml (100%) rename {automated_detection_testing => bin/automated_detection_testing}/ci/labeled_data/ansible/update_escu.yml (100%) rename {automated_detection_testing => bin/automated_detection_testing}/ci/labeled_data/labeled_data.py (100%) rename {automated_detection_testing => bin/automated_detection_testing}/ci/labeled_data/modules/DataManipulation.py (100%) rename {automated_detection_testing => bin/automated_detection_testing}/ci/labeled_data/modules/aws_service.py (100%) rename {automated_detection_testing => bin/automated_detection_testing}/ci/labeled_data/modules/github_service.py (100%) rename {automated_detection_testing => bin/automated_detection_testing}/ci/labeled_data/modules/splunk_sdk.py (100%) rename {automated_detection_testing => bin/automated_detection_testing}/ci/labeled_data/modules/testing_service.py (100%) rename {automated_detection_testing => bin/automated_detection_testing}/ci/labeled_data/requirements.txt (100%) rename {automated_detection_testing => bin/automated_detection_testing}/ci/python_ci_code/main.py (100%) rename {automated_detection_testing => bin/automated_detection_testing}/ci/python_ci_code/requirements.txt (100%) rename {automated_detection_testing => bin/automated_detection_testing}/config (100%) rename {automated_detection_testing => bin/automated_detection_testing}/detection_service.py (100%) rename {automated_detection_testing => bin/automated_detection_testing}/requirements.txt (100%) rename {automated_detection_testing => bin/automated_detection_testing}/templates/PR_template.j2 (100%) rename {automated_detection_testing => bin/automated_detection_testing}/templates/PR_template_attack_data.j2 (100%) 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