From 11f9dd036fcd3e1b1dd28f151dfad51b7a9d7f1c Mon Sep 17 00:00:00 2001
From: Erick Hitter <git-contrib@ethitter.com>
Date: Sat, 16 Jul 2022 14:23:29 -0700
Subject: [PATCH] Simplify, since all extend a shared base

---
 plugins/default.yml                | 9 +--------
 plugins/templates/gitlab-tools.yml | 9 +++++++++
 2 files changed, 10 insertions(+), 8 deletions(-)
 create mode 100644 plugins/templates/gitlab-tools.yml

diff --git a/plugins/default.yml b/plugins/default.yml
index ee9ee5b..d5e7cae 100644
--- a/plugins/default.yml
+++ b/plugins/default.yml
@@ -3,11 +3,4 @@ include:
   - remote: https://git-cdn.e15r.co/gitlab/ci/wordpress/-/raw/main/plugins/templates/cache.yml
   - remote: https://git-cdn.e15r.co/gitlab/ci/wordpress/-/raw/main/plugins/templates/before-script.yml
   - remote: https://git-cdn.e15r.co/gitlab/ci/wordpress/-/raw/main/plugins/templates/matrix.yml
-  - template: Security/SAST.gitlab-ci.yml
-  - template: Security/Dependency-Scanning.gitlab-ci.yml
-
-dependency_scanning:
-  before_script: echo ""
-
-sast:
-  before_script: echo ""
+  - remote: https://git.ethitter.com/gitlab/ci/wordpress/-/blob/add/sast-dep-gl/plugins/templates/gitlab-tools.yml
diff --git a/plugins/templates/gitlab-tools.yml b/plugins/templates/gitlab-tools.yml
new file mode 100644
index 0000000..f4b4d8c
--- /dev/null
+++ b/plugins/templates/gitlab-tools.yml
@@ -0,0 +1,9 @@
+include:
+  - template: Security/SAST.gitlab-ci.yml
+  - template: Security/Dependency-Scanning.gitlab-ci.yml
+
+dependency_scanning:
+  before_script: echo ""
+
+sast:
+  before_script: echo ""
-- 
GitLab