Skip to content

Conversation

@Uzichow
Copy link
Contributor

@Uzichow Uzichow commented Sep 29, 2025

Changes proposed in this pull request:

  • Add exception to the parser for cyclonedx and openvex to avoid errors when encountering exception in the json files of cyclonedx. (Field Justification "null" etc.)
  • ...

Status

  • READY
  • HOLD
  • WIP (Work-In-Progress)

How to verify this change

Be sure that the docker-compose file has the volume set for the cyclonedx export files.
Launch Vulnscout and on the "Vulnerabilites" or "Package" tab, you can filter the source by "CycloneDX" or "openvex(CycloneDX)

Pull Request Checklist

Please review and check all that apply before submitting your PR:

  • The code compiles and passes all tests
  • All new and existing tests are passing
  • Documentation has been updated (if applicable)
  • Code follows project style guidelines
  • No sensitive information is included
  • Linked relevant issues (if any)
  • Added necessary reviewers

@ValentinBoudevin
Copy link
Contributor

Should be squash in a single commit. No need for 4 commits in the history

The parser wasn't working on cyclonedx for multiple reasons.
It stops when the "justification" field was null.
And when the reference was not correct in the file was not in the
dictionnary
With cyclonedx files, openvex might crash because the cdx files do not
have all the times vulnerabilites assessments so add a condition to skip
it if it's the case
@Uzichow Uzichow force-pushed the Fixed-cycledonedx-parser branch from db30462 to 641cece Compare September 30, 2025 19:12
@ValentinBoudevin
Copy link
Contributor

Cyclonedx parser still need some fixes as it didn't work with Torizon

@ValentinBoudevin
Copy link
Contributor

TO BE MERGE AFTER v0.8.1

Copy link
Contributor

@ValentinBoudevin ValentinBoudevin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ValentinBoudevin ValentinBoudevin merged commit 1150d64 into savoirfairelinux:main Nov 6, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants