From 182fa761d5ed02bba028bf809152d6777f4c85ef Mon Sep 17 00:00:00 2001 From: Ahmed Hemdan Date: Fri, 9 Jun 2023 16:00:48 +0200 Subject: [PATCH] Fix syntax used to exclude brakeman and flawfinder analyzers --- template.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/template.yml b/template.yml index a667b56..f016980 100644 --- a/template.yml +++ b/template.yml @@ -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: