From dbd1e3989915f30d2d33d41dcd580fd114b8a926 Mon Sep 17 00:00:00 2001 From: Fabio Pitino Date: Thu, 9 Nov 2023 12:32:09 +0000 Subject: [PATCH] Rename component to sast --- .gitlab-ci.yml | 2 +- README.md | 8 ++++++-- templates/{all-jobs.yml => sast.yml} | 0 3 files changed, 7 insertions(+), 3 deletions(-) rename templates/{all-jobs.yml => sast.yml} (100%) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 47ede78..479503e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,5 @@ include: - - component: gitlab.com/$CI_PROJECT_PATH/all-jobs@$CI_COMMIT_SHA + - component: gitlab.com/$CI_PROJECT_PATH/sast@$CI_COMMIT_SHA stages: [test, release] diff --git a/README.md b/README.md index 795683c..7c18e30 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ keyword. ```yaml include: - - component: gitlab.com/gitlab-components/sast/all-jobs@ + - component: gitlab.com/gitlab-components/sast/sast@ ``` where `` is the latest released tag or `main`. @@ -21,7 +21,7 @@ If you are converting the configuration to use components and want to leverage t ```yaml include: - - component: gitlab.com/gitlab-components/sast/all-jobs@main + - component: gitlab.com/gitlab-components/sast/sast@main rules: - if: $SAST_DISABLED == "true" || $SAST_DISABLED == "1" when: never @@ -45,3 +45,7 @@ This assumes `SAST_DISABLED` variable is already defined in `.gitlab-ci.yml` wit | `search_max_depth` | `4` | Defines how many directory levels the search for programming languages should span | | `run_kubesec_sast` | `"false"` | Set it to `"true"` to run `kubesec-sast` job | | `include_experimental` | `"false"` | Set it to `"true"` to enable [experimental analyzers](https://docs.gitlab.com/ee/user/application_security/sast/#experimental-features) | + +## Contribute + +Please read about CI/CD components and best practices at: https://docs.gitlab.com/ee/ci/components \ No newline at end of file diff --git a/templates/all-jobs.yml b/templates/sast.yml similarity index 100% rename from templates/all-jobs.yml rename to templates/sast.yml