Skip to content

Add TruncateTextFields function

Adam Cohen requested to merge add-truncate-fields-function into main

What does this MR do?

This MR adds a new TruncateTextFields function which will truncate the vulnerabilities[].name field to a maximum of length of VulnerabilityNameMaxLengthBytes characters.

What are the relevant issue numbers?

Report parsing error: [Schema] property '/vulne... (gitlab-org/gitlab#443628) • Adam Cohen • 17.2

Does this MR meet the acceptance criteria?

Edited by Adam Cohen

Merge request reports