-
Notifications
You must be signed in to change notification settings - Fork 464
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: cyclonedx vex generation #4150
Conversation
@anthonyharrison It may need some improvements but can you give initial feedback, its working and producing cyclonedx and csaf file i checked it with a sample file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mastersans Thats a good start
Some comments/suggestions:
- There needs to be some data for the metadata.
- I can't see the mapping of Remarks to CSAF status
- The product name and release should probably be attributes of the class when it is created. The name/release should probably be command line parameters for the cve-bin-tool
- Start to create a test suite for the VEX process
- The requirements.txt file will need updating in the future as there are later versions of lib4vex and lib4sbom which correct some bugs.
Hey @anthonyharrison I have commited your suggests and also setup a test class for vex generation in addition to some minor fix/tweak , also if i am not wrong the metadata would also be taken from command line ?? |
Not quite sure why this one triggered a "needs review before tests can run" but I've kicked them off to run now. |
Test are passing now, i checked my fork |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I need to update our dependency legal paperwork to include lib4vex before I merge this. I'll probably take a couple of days to get reviewed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Licensing check is done, lets get your stuff merged! Thanks for your patience.
cc @anthonyharrison @terriko
Initial VEXGenerate class for generation using Lib4vex