From 0c1ebfb832356a738baf1c2974d98f845576553b Mon Sep 17 00:00:00 2001 From: Jason Leasure Date: Thu, 25 Apr 2024 22:07:13 +0000 Subject: [PATCH] Remove deprecated analyzer flawfinder --- templates/sast.yml | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/templates/sast.yml b/templates/sast.yml index ca6d54c..a3f3bff 100644 --- a/templates/sast.yml +++ b/templates/sast.yml @@ -48,19 +48,12 @@ brakeman-sast: flawfinder-sast: extends: .sast-analyzer - image: - name: "$[[ inputs.image_prefix ]]/flawfinder:$[[ inputs.image_tag ]]" + script: + - echo "This job was deprecated in GitLab 16.8 and removed in GitLab 17.0" + - echo "For more information see https://gitlab.com/gitlab-org/gitlab/-/issues/425085" + - exit 1 rules: - - if: '"$[[ inputs.excluded_analyzers ]]" =~ /flawfinder/' - when: never - - if: $CI_COMMIT_BRANCH - exists: - - '**/*.c' - - '**/*.cc' - - '**/*.cpp' - - '**/*.c++' - - '**/*.cp' - - '**/*.cxx' + - when: never kubesec-sast: extends: .sast-analyzer