DependencyTrack / DependencyTrack/dependency-track

Feature request: Support custom properties for vulnerability analysis and include them in VEX export

Open
#4,705 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
4.2k
Forks
811
Avg merge
8h 39m
Merged PRs (30d)
237

Description

### Current Behavior

The fields available for storing information about vulnerability analyses which make it into the final VEX are Analysis, Detail, and Justification. There is additionally a Comment field, but this does not have any effect on the final VEX file that gets exported.

### Proposed Behavior

Add the possibility to define custom properties for vulnerabilities, and include them in the VEX export. This could be similar to the properties support for components that was released in 4.11. However, I'd personally like it a lot if the properties could be linked to the specific analysis of the vulnerability for a specific product, not to the vulnerability as a whole.

I provide an embedded Linux OS that gets used and customized downstream, by manufacturers or system integrators. I provide VEX documents to those downstream users, and include my analysis and annotations to make it easier for them to do the final analysis. For that reason, I provide a version of the SBOM that has a lot of vulnerabilities with the in_triage analysis state, with enriched information that helps the manufacturer or system integrator to finish the analysis, in the specific context of their own product with its final, shipped configuration.

I use custom properties to make automation of analysis easier: for example, suppose a vulnerability is in a kernel module that might or might not be included in the final product, I might have a property like `affects_module` so that a user can have tooling where they supply their kernel config and automatically parse which vulnerabilities apply. For that reason, it would be great if the properties could be scoped to the analysis. But I understand if that's not possible, or not desirable for other use cases.

### Checklist

- [x] I have read and understand the [contributing guidelines](https://github.com/DependencyTrack/dependency-track/blob/master/CONTRIBUTING.md#filing-issues)
- [x] I have checked the [existing issues](https://github.com/DependencyTrack/dependency-track/issues) for whether this enhancement was already requested

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.