Snyk Report is not preventing duplicates

Closes #29699

Signed-off-by: Bruno Oliveira da Silva <bruno@abstractj.com>
This commit is contained in:
Bruno Oliveira da Silva 2024-05-20 11:28:17 -03:00
parent 5212878e9f
commit b8f163ec8e

View file

@ -43,7 +43,7 @@ parse_and_print_vulnerabilities() {
local description=$(echo "$vulnerability" | jq -r '.description // "N/A"') local description=$(echo "$vulnerability" | jq -r '.description // "N/A"')
printf -v body "%s\n%s\n%s\n%s" "$title" "$module" "$from_path" "$description" printf -v body "%s\n%s\n%s\n%s" "$title" "$module" "$from_path" "$description"
if ! check_github_issue_exists "$title"; then if ! check_github_issue_exists "$cve_title"; then
create_github_issue "$title" "$body" create_github_issue "$title" "$body"
fi fi
done done