The vendored GitLab rules (#492) carry pages of Markdown with code
examples as their message, and the scanner used the message as both the
title and the description: the finding title, the findings list and the
tracker issue title were a wall of text, and the description showed the
code collapsed into one paragraph.
- Title: the rule's metadata.shortDescription (every GitLab rule has
one), else the message's first sentence on one line, without code
marks, cut at a word after 120 characters. The description keeps the
whole message. Fingerprints are unchanged (rule, path, line).
- Dashboard: a semgrep finding's description is rendered as Markdown
through the existing safe renderer (raw HTML shown as text, only web
and mail links); other scanners' plain text is shown as before.
- Startup migration: stored semgrep findings with a multi-line or longer
title get the short description of their bundled rule, else the first
sentence (logged as semgrep_titles in "migrated stored findings").
Open tracker issues keep their old titles (trackers only change an
issue's status); new issues get the short title.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p