-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/invalid required fields red border #235
Feature/invalid required fields red border #235
Conversation
… the issue where risks where not red when vulnerabilities / business assets / supporting assets are deleted
…s not shown while saving (Duplication of validation in request-handlers.js and renderer.js, see to create a globl function)
…e invalid vulnerability in risk attack path
…ion + gather risks that are invalid due to evaluation+ add invalid risk Evaluation Messages
… ) to be set as valid items only or "Select..." input
…quired-fields-red-border
…o the right select inputs
…d-fields-red-border
…nerability Panel when invalid
Same for Supporting Assets' name. |
…ets" when its content changes
…ed vulnerabilities (empty name, invalid business asset...) -> Now display the supporting asset even if the name is empty
…ng assets in risk So an unexisting BA or SA set the select option to "Select.." and an invalid one set the border color to red
…ship Matrix > Business Asset
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Welcome: confirmed
- fixed missing \n after Welcome error message in popup. Space added before the next issue category
Business asset: confirmed
- fixed error triggering for risk and BA empty names when saving. When the business asset name is empty, it shows as an error on save
Supporting asset: confirmed
- In the Relationship Matrix, changed select Business asset in supporting asset to red border when not set. When the value is "Select", a red border is visible.
- In the Relationship Matrix, changed select Business asset in supporting asset to red border when not set. The business asset box is now red
- In the Relationship Matrix, adding name check for valid business asset in supporting assets. Now the box is red if the business asset has an empty name
- adding id column in Relationship Matrix in case the name is empty. A new risk ID column was added. The ID turns red on error.
- trigger error when saving if Supporting Asset name is empty. Now the error message clearly states that the name is empty
- update the Supporting Asset Name color inside "List of Supporting Assets" when its content changes. Now if the supporting asset is invalid, the item is red on the List of Supporting Assets table
Vulnerabilities: confirmed
- Add title colors for the Description and Support Assets inputs in Vulnerability Panel when invalid
- adding display of vulnerability name error in vulnerability panel. Now if the vulnerability name is empty the text input title is red
- fix panel switch on vulnerability. Fixes the issue where when there are no vulnerabilities (delete all vulns), all tabs are disabled
Risks: confirmed
- Change the condition of input values (Business Asset & Supporting Asset) to be set as valid items only or "Select..." input. Now invalid Business Assets and Supporting Assets are visible
- modify the validate function and add the attackpaths condition to fix…
… the issue where risks where not red when vulnerabilities / business assets / supporting assets are deleted. Now the risk in the table is red when the business asset, supporting asset, and vulnerability is deleted - fixed the issue where risk invalidation from deleted vulnerability was not shown while saving. Now the error is shown in the Save error dialog
- adding name check of vulnerability in risk attack path. Now if the chosen vulnerability in the attack path is empty, the box is highlighted with red
- display the supporting assets in the Relationship Matrix even if the name is empty. Empty names are visible in the attack path dropdown
- an unexisting BA or SA set the select option to "Select.." and an invalid one set the border color to red - Works as described
- display invalid business and supporting asset as red in select inputs. Now the box is red if the value is not valid
- display invalid vulnerability as red in attackpath from init of select input. Now an invalid vulnerability is shown as red in the drop down
- Fix the display of Risk Evaluation filling errors on file save. The risk error is now visible in the save error dialog
- fix display red of vulnerability in attack path, parameter was id and not object. Fixes the issue where a valid vulnerability is shown as red in the Attack Path drop down
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wheww! Approved!
Validity checks on SupportingAssets, AttackPaths and BusinessAssets updated
Error styles added to the required files
Update of styles
Displaying "Select... " as default for select inputs