Backport: Add buttons to add/delete/edit *Affected Components* of internal vulnerabilities #1113
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
You now can add/edit and delete affected Components for Internal Vulns. This shows only for internal Vulns and those who can update the vuln.
![image](https://private-user-images.githubusercontent.com/75749982/375732926-aef56aac-0e11-4471-adaf-a5958520d225.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwOTcyMjAsIm5iZiI6MTczOTA5NjkyMCwicGF0aCI6Ii83NTc0OTk4Mi8zNzU3MzI5MjYtYWVmNTZhYWMtMGUxMS00NDcxLWFkYWYtYTU5NTg1MjBkMjI1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDEwMjg0MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY1NWZmNTE5OTAxMGU1NWMyYzA5M2NlMDY1YTM0NGYxM2Y2NWRmMjVjNTgwZGJiMjE0OGI2YzY5YTBhNWI4MWUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.f7cPx_rb7NXUnFJXiLfk27tdaPLO1-BCb3kmewqt9WA)
Addressed Issue
Fixes #1059
Backports #1060
Additional Details
N/A
Checklist
- [ ] This PR introduces new or alters existing behavior, and I have updated the documentation accordingly