mirror of
https://gitlab.com/components/secret-detection.git
synced 2025-07-02 16:28:29 +02:00
feat: implement support for merge request pipelines
This commit is contained in:
parent
6f289fc315
commit
5676ddd199
2 changed files with 28 additions and 8 deletions
13
README.md
13
README.md
|
@ -36,12 +36,13 @@ This assumes `SECRET_DETECTION_DISABLED` variable is already defined in `.gitlab
|
|||
|
||||
### Inputs
|
||||
|
||||
| Input | Default value | Description |
|
||||
| ----- | ------------- | ----------- |
|
||||
| `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_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. |
|
||||
| Input | Default value | Description |
|
||||
|--------------------| ------------- | ----------- |
|
||||
| `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_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. |
|
||||
| `use-mr-pipelines` | `false` | Set to `true` to enable `secret-detection` job to run on Merge Request Pipelines in addition to Branch Pipelines (except where there is an open MR on that Branch) |
|
||||
|
||||
### Variables
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue