Skip to content

Do not treat security report schema validation warnings as errors - old

Michał Zając requested to merge 351519-dont-treat-warnings-as-errors into master

What does this MR do and why?

When verifying Validate security report schema using the lates... (#351519 - closed) using https://gitlab.com/gitlab-org/secure/tests/test-for-issue-351519 it came to our attention that the logic wouldn't work as expect only by modifying the schema validator – https://gitlab.com/gitlab-org/secure/tests/test-for-issue-351519/-/pipelines/614397738/security

This MR makes the common security report parser treat warnings as warnings instead of errors depending on the validate flag.

Related to #351519 (closed)

MR acceptance checklist

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

Edited by Michał Zając

Merge request reports