From 40a877760b872b72fe29e2910de102485b022034 Mon Sep 17 00:00:00 2001 From: Dominic Couture <dcouture@gitlab.com> Date: Wed, 7 Feb 2024 11:08:05 +0000 Subject: [PATCH] Remove the AppSec ping from Custom SAST Rules bot message --- scripts/process_custom_semgrep_results.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/process_custom_semgrep_results.sh b/scripts/process_custom_semgrep_results.sh index 0eccef009734d..b5f8ee6b492cd 100755 --- a/scripts/process_custom_semgrep_results.sh +++ b/scripts/process_custom_semgrep_results.sh @@ -14,7 +14,7 @@ jq -crM '.vulnerabilities | ) | sort | if length > 0 then - { body: ("The findings below have been detected based on the AppSec custom SAST rules. For more information about this bot and what to do with this comment head over to the [README](https://gitlab.com/gitlab-com/gl-security/appsec/sast-custom-rules/-/tree/main/appsec-pings). The following lines of code possibly need attention:\n\n" + join("\n") + "\n\n/cc @gitlab-com/gl-security/appsec") } + { body: ("The findings below have been detected based on the AppSec custom SAST rules. For more information about this bot head over to [the FAQ](https://gitlab.com/gitlab-com/gl-security/appsec/sast-custom-rules/-/tree/main/#faq).\n\n" + join("\n") + "\n\nPing `@gitlab-com/gl-security/appsec` if you need assistance regarding those findings.") } else empty end' gl-sast-report.json >findings.txt -- GitLab