mirror of
https://gitlab.com/components/sast.git
synced 2025-06-30 07:28:29 +02:00
Fix syntax used to exclude brakeman and flawfinder analyzers
This commit is contained in:
parent
511d312b12
commit
182fa761d5
1 changed files with 3 additions and 3 deletions
|
@ -3,7 +3,7 @@ spec:
|
|||
stage:
|
||||
default: test
|
||||
image_prefix:
|
||||
default: "$CI_TEMPLATE_REGISTRY_HOST/security-products"
|
||||
default: "$CI_TEMPLATE_REGISTRY_HOST/security-products"
|
||||
image_tag:
|
||||
default: '3'
|
||||
image_suffix:
|
||||
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue