Skip to content

Improve security report schema deprecation message

Thiago Figueiró requested to merge 386798-improve-deprecation-warning into master

What does this MR do and why?

Improve the security report schema deprecation message:

1.remove the deprecated versions from the list of supported versions

  1. emphasize that the report will still be processed
  2. clarify what the required action is

As described in the related issue, and an internal note, the current message is confusing.

Schema Version 14.0.4 for report type sast has been deprecated, supported versions for this report type are: 14.0.0, 14.0.1, 14.0.2, 14.0.3, 14.0.4, 14.0.5, 14.0.6, 14.1.0, 14.1.1, 14.1.2, 14.1.3, 15.0.0, 15.0.1, 15.0.2, 15.0.4. GitLab will attempt to parse and ingest this report if valid.

(...) it states "[Schema] Version 14.0.4 ... has been deprecated" and then goes on to state that "supported versions include [...] 14.0.4".

Screenshots or screen recordings

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

How to set up and validate locally

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

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #386798 (closed)

Merge request reports