Skip to content

Pass file to security training api

Samantha Ming requested to merge 360719-training-url-file-type into master

What does this MR do and why?

Changes MR
Update the Vulnerability Training Component to call the security training API with a filename parameter from the prop if it exists !90623 (merged)
Pass the file to the vulnerability details page !90623 (merged)
Pass the file to the vulnerability modal page this MR

2022-06-22_at_4.24_PM

Screenshots or screen recordings

There is no UI/UX change with this MR.

How to set up and validate locally

  1. Go to "Pipelines" > click on a pipeline
  2. Click on a vulnerability with a cwe identifier to trigger the vulnerability detail modal page
  3. If the vulnerability has a file, it will be included in the API request

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 #360719 (closed)

Edited by Samantha Ming

Merge request reports

Loading