Skip to content

Add #finding method to Vulnerability

rossfuhrman requested to merge expose-more-vulnerability-data into master

What does this MR do?

In support of #13561 (closed) and !20734 (merged) we need to expose Finding attributes for the Vulnerability object.

This adds the the #finding method on Vulnerability to to make it easier to get the necessary data.

It should also be noted that while we have architected the Vulnerability->Finding relationship as 1-to-many, it will be 1-to-1 for the foreseeable future, which is guiding some of these decisions. For example, in the future, it won't make sense for a Vulnerability to show the details of a Finding (because it may have multiple Findings), but since it is a 1-to-1 relationship for now, there is no where else we would be able to expose that information.

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Edited by rossfuhrman

Merge request reports