Skip to content

Enforce JSON schema validation for generic security report - FE

What does this MR do?

This MR adds an alert to the pipeline's security tab that shows up if any of the security scans has encountered report data that does not follow the JSON schema.

Screenshots (strongly suggested)

before after (collapsed) after (expanded)
before after_collapsed after_expanded

How to test this locally

  1. Download and apply this patch: alert.patch
  2. Go to a pipeline and select the 'Security' tab

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #321730 (closed)

Edited by David Pisek

Merge request reports