Skip to content

Confidence should only be there when either fix or affected package is present #1083

@Hritik14

Description

@Hritik14

Without a relationship between fixed/affected package to a vulnerability, confidence - by itself - does not provide any value in Inference.
We should have a check against this.

https://github.com/nexB/vulnerablecode/blob/2903edcef68de3137e57f804b022a22b2710c5c8/vulnerabilities/improver.py#L29-L72

Found while writing tests in: #1081

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions