diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-19 09:08:45 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-19 09:08:45 +0000 |
commit | 035cd5ee5e42fda4a896ed43147ebf455fa2f5ba (patch) | |
tree | 447d9362dd26fb42828d13777ffc821d7129dc0d /scripts/process_custom_semgrep_results.sh | |
parent | 7f12b2dc7406ceb8a9b1bbd730b38ad70fc88405 (diff) | |
download | gitlab-ce-035cd5ee5e42fda4a896ed43147ebf455fa2f5ba.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'scripts/process_custom_semgrep_results.sh')
-rwxr-xr-x | scripts/process_custom_semgrep_results.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/process_custom_semgrep_results.sh b/scripts/process_custom_semgrep_results.sh index 1fdd8e486f3..8370c95efca 100755 --- a/scripts/process_custom_semgrep_results.sh +++ b/scripts/process_custom_semgrep_results.sh @@ -5,7 +5,7 @@ echo "Processing vuln report" # Preparing the message for the comment that will be posted by the bot # Empty string if there are no findings jq -crM '.vulnerabilities | - map( select( .identifiers[0].name | test( "glappsec_" ) ) | + map( select( .identifiersprocess_custom_semgrep_results[0].name | test( "glappsec_" ) ) | "- `" + .location.file + "` line " + ( .location.start_line | tostring ) + ( if .location.start_line = .location.end_line then "" |