Skip to content
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

Add vulnerabilities_risk_threshold fields #97 #210

Merged
merged 8 commits into from
Dec 17, 2024

Conversation

tdruez
Copy link
Contributor

@tdruez tdruez commented Dec 13, 2024

#97

Add the vulnerabilities_risk_threshold field to the Product and DataspaceConfiguration models.
This threshold helps prioritize and control the level of attention to vulnerabilities.

The Product vulnerabilities_risk_threshold takes precedence over the Dataspace configuration value.
The Dataspace value can be edited in the admin form. The Product field can be edited in the admin form and in "Edit product" UI.

When enabled, the threshold value is displayed in the Vulnerabilities tab, including a link to "see all vulnerabilities".

Screenshot 2024-12-13 at 17 38 04

…del #97

Signed-off-by: tdruez <tdruez@nexb.com>
Signed-off-by: tdruez <tdruez@nexb.com>
Including a link to see all vulnerabilities

Signed-off-by: tdruez <tdruez@nexb.com>
@tdruez tdruez changed the title Add vulnerabilities_risk_threshold to the DataspaceConfiguration mo… Add vulnerabilities_risk_threshold fields #97 Dec 13, 2024
@DennisClark
Copy link
Member

@tdruez New functionality confirmed in Staging Starship. Very nice message on the Vulnerabilities tab, thanks.

Please add the Vulnerabilities risk threshold field to the Product Essentials tab, perhaps just below Contact and above VCS URL.

@DennisClark
Copy link
Member

@tdruez Visibility of the risk threshold field confirmed in Staging Starship. Also re-confirmed that the risk threshold works as designed. Performance is nice and speedy as well! No problems found, so I think this one is ready to call complete.

@tdruez tdruez merged commit 6760696 into main Dec 17, 2024
3 checks passed
@tdruez tdruez deleted the 97-vulnerabilities-risk-threshold branch December 17, 2024 02:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants