Merge branch 'julianthome/exists-patterns' into 'main'

Refine exists patterns in components template

See merge request components/sast!20
This commit is contained in:
Julian Thome 2025-03-17 10:31:45 +01:00
commit 5ec153475e

View file

@ -154,9 +154,11 @@ semgrep-sast:
- '**/*.swift' - '**/*.swift'
- '**/*.m' - '**/*.m'
- '**/*.kt' - '**/*.kt'
- '**/*.yml'
- '**/*.yaml'
- '**/*.properties' - '**/*.properties'
- '**/application*.yml'
- '**/bootstrap*.yml'
- '**/application*.yaml'
- '**/bootstrap*.yaml'
## In case gitlab-advanced-sast already covers all the files that semgrep-sast would have scanned ## In case gitlab-advanced-sast already covers all the files that semgrep-sast would have scanned
- if: '$CI_COMMIT_BRANCH && - if: '$CI_COMMIT_BRANCH &&
$GITLAB_FEATURES =~ /\bsast_advanced\b/ && $GITLAB_FEATURES =~ /\bsast_advanced\b/ &&
@ -190,9 +192,11 @@ semgrep-sast:
- '**/*.kt' - '**/*.kt'
- '**/*.cjs' - '**/*.cjs'
- '**/*.mjs' - '**/*.mjs'
- '**/*.yml'
- '**/*.yaml'
- '**/*.properties' - '**/*.properties'
- '**/application*.yml'
- '**/bootstrap*.yml'
- '**/application*.yaml'
- '**/bootstrap*.yaml'
sobelow-sast: sobelow-sast:
extends: .sast-analyzer extends: .sast-analyzer