Merge branch 'fix-issue-with-excluding-brakeman-and-flawfinder' into 'main'

Fix syntax used to exclude brakeman and flawfinder analyzers

See merge request gitlab-components/sast!1
This commit is contained in:
Fabio Pitino 2023-06-13 10:25:18 +00:00
commit 3cb31ba164

View file

@ -39,7 +39,7 @@ brakeman-sast:
image:
name: "$[[ inputs.image_prefix ]]/brakeman:$[[ inputs.image_tag ]]"
rules:
- if: '"$[ inputs.excluded_analyzers ]" =~ /brakeman/'
- if: '"$[[ inputs.excluded_analyzers ]]" =~ /brakeman/'
when: never
- if: $CI_COMMIT_BRANCH
exists:
@ -51,7 +51,7 @@ flawfinder-sast:
image:
name: "$[[ inputs.image_prefix ]]/flawfinder:$[[ inputs.image_tag ]]"
rules:
- if: '"$[ inputs.excluded_analyzes ]" =~ /flawfinder/'
- if: '"$[[ inputs.excluded_analyzers ]]" =~ /flawfinder/'
when: never
- if: $CI_COMMIT_BRANCH
exists: