[FE] Generic Report Schema: Render 'commit' type on vulnerability details page
Why are we doing this work
Allows scan results to add new labels and values to a vulnerability, where the label is any string they want and the value is one of the following types: named-list
, list
, table
, url
, int
, text
, diff
, markdown
(GFM), code
, commit
, file-location
, and module-location
.
This issue is specific to the commit
type
Designs
Ignore the ?
icon for this issue.
component | design |
---|---|
commit |
Sample Data
commit
"commit_1": {
"type": "commit",
"value": "ba1f5c117f8"
}
Relevant links
Information that the developer might need to refer to when implementing the issue.
Non-functional requirements
-
Documentation: may be needed
Implementation plan
-
frontend Add commit
component -
Add specs
Edited by Daniel Tian