fix: ignore withdrawn vulnerabilies#565
Conversation
Signed-off-by: Ruben Romero Montes <rromerom@redhat.com>
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
|||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||||
Signed-off-by: Ruben Romero Montes <rromerom@redhat.com>
User description
Fix #564
PR Type
Bug fix
Description
Filter out vulnerabilities with withdrawn field
Add test case for withdrawn vulnerability handling
Prevent processing of withdrawn CVE records
Diagram Walkthrough
File Walkthrough
TrustifyResponseHandler.java
Skip withdrawn vulnerabilities in response processingsrc/main/java/io/github/guacsec/trustifyda/integration/providers/trustify/TrustifyResponseHandler.java
withdrawnfieldTrustifyResponseHandlerTest.java
Add test case for withdrawn vulnerability filteringsrc/test/java/io/github/guacsec/trustifyda/integration/providers/trustify/TrustifyResponseHandlerTest.java