mirror of
https://gitlab.com/components/sast.git
synced 2025-06-29 23:18:28 +02:00
Merge branch 'rename-component' into 'main'
Rename component to sast See merge request gitlab-components/sast!9
This commit is contained in:
commit
d98e1fe8f2
3 changed files with 7 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
include:
|
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]
|
stages: [test, release]
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ keyword.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
include:
|
include:
|
||||||
- component: gitlab.com/gitlab-components/sast/all-jobs@<VERSION>
|
- component: gitlab.com/gitlab-components/sast/sast@<VERSION>
|
||||||
```
|
```
|
||||||
|
|
||||||
where `<VERSION>` is the latest released tag or `main`.
|
where `<VERSION>` 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
|
```yaml
|
||||||
include:
|
include:
|
||||||
- component: gitlab.com/gitlab-components/sast/all-jobs@main
|
- component: gitlab.com/gitlab-components/sast/sast@main
|
||||||
rules:
|
rules:
|
||||||
- if: $SAST_DISABLED == "true" || $SAST_DISABLED == "1"
|
- if: $SAST_DISABLED == "true" || $SAST_DISABLED == "1"
|
||||||
when: never
|
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 |
|
| `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 |
|
| `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) |
|
| `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
|
Loading…
Add table
Add a link
Reference in a new issue