From 5e5d5be4d65d28698011ff4d442ad6776035be85 Mon Sep 17 00:00:00 2001 From: Ahmed Hemdan Date: Thu, 18 Jul 2024 19:37:55 +0200 Subject: [PATCH 1/5] Add a codeowners file --- CODEOWNERS | 1 + 1 file changed, 1 insertion(+) create mode 100644 CODEOWNERS diff --git a/CODEOWNERS b/CODEOWNERS new file mode 100644 index 0000000..8c09c67 --- /dev/null +++ b/CODEOWNERS @@ -0,0 +1 @@ +* @gitlab-org/secure/secret-detection From f945a715cdb9f0f5230c563b189e3c1207c03939 Mon Sep 17 00:00:00 2001 From: Ahmed Hemdan Date: Fri, 14 Feb 2025 11:17:45 +0100 Subject: [PATCH 2/5] Add LICENSE --- LICENSE | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..0fb88d0 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2023 GitLab Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. From d5021f7972422d9b7f09fcd1337dee8f4f8ad2c3 Mon Sep 17 00:00:00 2001 From: Ahmed Hemdan Date: Mon, 21 Apr 2025 23:41:40 +0200 Subject: [PATCH 3/5] Bump version to 7 --- templates/secret-detection.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/secret-detection.yml b/templates/secret-detection.yml index abe599b..79c1e0b 100644 --- a/templates/secret-detection.yml +++ b/templates/secret-detection.yml @@ -5,7 +5,7 @@ spec: image_prefix: default: "$CI_TEMPLATE_REGISTRY_HOST/security-products" image_tag: - default: '6' + default: '7' image_suffix: default: "" --- From 54aa5f1aa93603b5f9c5e3b5fbb78d2d8811b8db Mon Sep 17 00:00:00 2001 From: Ahmed Hemdan Date: Tue, 22 Apr 2025 10:32:02 +0200 Subject: [PATCH 4/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6830909..b9babd2 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ This assumes `SECRET_DETECTION_DISABLED` variable is already defined in `.gitlab | ----- | ------------- | ----------- | | `stage` | `test` | The stage where you want the job to be added. | | `image_prefix` | `$CI_TEMPLATE_REGISTRY_HOST/security-products` | Override the name of the Docker registry providing the default images (proxy). | -| `image_tag` | `5` | Override the default version of the `secrets` analyzer image. | +| `image_tag` | `7`| Override the default version of the `secrets` analyzer image. | | `image_suffix` | `""` | Suffix added to the image name. If set to -fips, [FIPS-enabled images](https://docs.gitlab.com/ee/user/application_security/secret_detection/#use-fips-enabled-images) are used for scan. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/355519) in GitLab 14.10. | ### Variables From e1192e05d161fad8390872d8feabd4454dd0ec97 Mon Sep 17 00:00:00 2001 From: Ahmed Hemdan Date: Tue, 22 Apr 2025 10:32:37 +0200 Subject: [PATCH 5/5] Fix spacing --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b9babd2..bd29082 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ This assumes `SECRET_DETECTION_DISABLED` variable is already defined in `.gitlab | ----- | ------------- | ----------- | | `stage` | `test` | The stage where you want the job to be added. | | `image_prefix` | `$CI_TEMPLATE_REGISTRY_HOST/security-products` | Override the name of the Docker registry providing the default images (proxy). | -| `image_tag` | `7`| Override the default version of the `secrets` analyzer image. | +| `image_tag` | `7` | Override the default version of the `secrets` analyzer image. | | `image_suffix` | `""` | Suffix added to the image name. If set to -fips, [FIPS-enabled images](https://docs.gitlab.com/ee/user/application_security/secret_detection/#use-fips-enabled-images) are used for scan. [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/355519) in GitLab 14.10. | ### Variables