Skip to content

Resolve "Show results from docker image scan in the merge request widget"

What does this MR do?

Shows result of CI scan on docker image

Frontend

  • Adds support to fetch clair report
  • Parses and stores received data
  • Adds support in collapsible section to render text information
  • Adds support in issue component to render an extra type
  • Adds tests to all changed components & store, for success and error cases.

Are there points in the code the reviewer needs to double check?

no

Why was this MR needed?

To integrate container static analysis into MR widget. First step in https://gitlab.com/gitlab-org/gitlab-ee/issues/3724

Screenshots (if relevant)

|loading|error|no vulnerabilities|vulnerabilities| |--|--|--|--|--|--| |Screen_Shot_2017-12-12_at_19.26.16|Screen_Shot_2017-12-12_at_19.26.46|Screen_Shot_2017-12-12_at_19.28.40|Screen_Shot_2017-12-13_at_18.39.30|

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #4249 (closed)

Edited by Dmytro Zaporozhets (DZ)

Merge request reports