generated from ThalesGroup/template-project
-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
Description
Issue Description
When an xml or sra file contains a vulnerability with non-existent supporting asset reference, the vulnerability is shown with error but there is no visible indicator.
In an sra, the snippet of a supportingAssetRef array contains "7" which does not exist.
"supportingAssetRef": [ 1, 3, 7 ]
In the Vulnerabilities tab, Vuln 2 is in red which indicates an error:
The supporting assets are correctly chosen, but the section title is red
When the file is saved, an error indicating an invalid supporting asset is shown
Duplicate Steps
- Open the attached sra file. The same issue occurs with xml.
- Navigate to Vulnerabilities tab > Vuln 2
- Notice the parts in red indicating an error
- Save the file, a dialog box pops up with an error as described in the description
sample_SupportingAsset_Issue351_sra.zip
Expected Results
If a supporting asset ref in the vulnerabilities tab is not valid, remove it.
If all mandatory fields are complete, there should be no item in red and saving the file should have no error related to the vulnerability.
Version Detected
1.2.0
Attachments
No response
Reactions are currently unavailable