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

feat(vulnerabilities): add option to add summary to dashboard #21766

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 7 additions & 5 deletions docs/usage/configuration-options.md
Expand Up @@ -704,13 +704,15 @@ Configure this option if you prefer a different title for the Dependency Dashboa

## dependencyDashboardOSVVulnerabilitySummary
secustor marked this conversation as resolved.
Show resolved Hide resolved

Set this function to control if a summary of the CVEs affected should be added to the dependency dashboard.
Use this option to control if the Dependency Dashboard should have a section that shows the CVEs for your repository.
secustor marked this conversation as resolved.
Show resolved Hide resolved
secustor marked this conversation as resolved.
Show resolved Hide resolved

Available options are:
The source of these CVEs is [OSV.dev](https://osv.dev/).

- `none` ( default ) no section will be added.
- `unresolved` only vulnerabilities will be added if there are no fixes available.
- `all` list all vulnerabilities which affect this repository.
You can choose from:

- `none` (default) no section will be added
secustor marked this conversation as resolved.
Show resolved Hide resolved
- `unresolved` show vulnerabilities that have no fixes
secustor marked this conversation as resolved.
Show resolved Hide resolved
- `all` list all vulnerabilities
secustor marked this conversation as resolved.
Show resolved Hide resolved

## description

Expand Down
3 changes: 1 addition & 2 deletions lib/config/options/index.ts
Expand Up @@ -522,8 +522,7 @@ const options: RenovateOptions[] = [
},
{
name: 'dependencyDashboardOSVVulnerabilitySummary',
description:
'These labels will always be applied on the Dependency Dashboard issue, even when they have been removed manually.',
description: 'Set this option to display CVEs affecting dependencies.',
secustor marked this conversation as resolved.
Show resolved Hide resolved
type: 'string',
allowedValues: ['none', 'all', 'unresolved'],
default: 'none',
Expand Down