Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(output): correct unimportant vuln type (#1427)
resolves #1419 - Print unimportant vulnerabilities as unimportant, not uncalled. - Add an `IsGroupUnimportant()` function to identify if a vulnerability is unimportant. - Refactor the output result structure from `CalledVulns` and `UncalledVulns` to `RegularVulns` and `HiddenVulns`. - Add `VulnAnalysisType` to indicate if a vulnerability is regular, unimportant, or uncalled. This can also be expanded in the future when we have more reachability analysis. Project scanning (Changed from "uncalled vulnerabilities" to "unimportant vulnerabilities" for Debian package scanning): <img width="1181" alt="Screenshot 2024-12-06 at 4 17 46 PM" src="https://github.com/user-attachments/assets/a3f608ba-4bb3-4c9e-aae3-db67ac8936f2"> Contianer scanning (Added a "filtered vulnerabilities" table with a filter reason): <img width="1015" alt="Screenshot 2024-12-06 at 4 19 06 PM" src="https://github.com/user-attachments/assets/9859305a-f073-46dc-9a64-bea27641f8fa"> --------- Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Emmanuel Ferdman <[email protected]> Co-authored-by: Rex P <[email protected]> Co-authored-by: Gareth Jones <[email protected]> Co-authored-by: Xueqin Cui <[email protected]> Co-authored-by: Michael Kedar <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Emmanuel Ferdman <[email protected]> Co-authored-by: Ignacio Vazquez <[email protected]> Co-authored-by: Rex P <[email protected]>
- Loading branch information