Update identifier format to support more types (frontend)
In order to support OWASP and better scale our current security training url API, we need to update our identifier
format.
NEW
[external_type]-[external_id]-[external_name]
# different data is grouped with a square bracket [], separated with a dash -
Example:
[CWE]-[79]-[CWE-79]
Why?
- With Owasp, the mapping key exists in the
external_id
- Whereas with CWE, the mapping key was most likely found in the
name
- The standardized format ensures we are sending the same data structure irregardless of the identifier type. Which will help with scalability when more types are supported.
Implementation
We will make the changes in the follow pages:
- Vulnerability details
- Pipeline modal
- MR modal
Edited by Samantha Ming