Skip to content

Truncate comments in vulnerability export

What does this MR do and why?

Truncate comments in vulnerability export

Excel has a limit of 32_767 characters in a single cell. A long comment or discussion thread can cause the comment column in the CSV to be longer than this, which makes the CSV appear mangled when opened in Excel. We'll truncate the field to avoid this.

Changelog: changed EE: true

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Merge request reports

Loading