From 5f4dce98c151814d6210be39013d877a0cc06118 Mon Sep 17 00:00:00 2001 From: Marco Zille Date: Fri, 16 Feb 2024 15:39:23 +0000 Subject: [PATCH] Disabled security-code-scan to align with the CI template --- templates/sast.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/templates/sast.yml b/templates/sast.yml index e924a1c..ca6d54c 100644 --- a/templates/sast.yml +++ b/templates/sast.yml @@ -131,15 +131,12 @@ pmd-apex-sast: security-code-scan-sast: extends: .sast-analyzer - image: - name: "$[[ inputs.image_prefix ]]/security-code-scan:$[[ inputs.image_tag ]]" + script: + - echo "This job was deprecated in GitLab 15.9 and removed in GitLab 16.0" + - echo "For more information see https://gitlab.com/gitlab-org/gitlab/-/issues/390416" + - exit 1 rules: - - if: '"$[[ inputs.excluded_analyzers ]]" =~ /security-code-scan/' - when: never - - if: $CI_COMMIT_BRANCH - exists: - - '**/*.csproj' - - '**/*.vbproj' + - when: never semgrep-sast: extends: .sast-analyzer