Fix syntax used to exclude brakeman and flawfinder analyzers

This commit is contained in:
Ahmed Hemdan 2023-06-09 16:00:48 +02:00
parent 511d312b12
commit 182fa761d5
No known key found for this signature in database
GPG key ID: 35C579218532E2FF

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: