Skip to content
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

Merged
merged 10 commits into from
Jun 17, 2024
Merged

feat: cyclonedx vex generation #4150

merged 10 commits into from
Jun 17, 2024

Conversation

mastersans
Copy link
Member

cc @anthonyharrison @terriko

Initial VEXGenerate class for generation using Lib4vex

@mastersans
Copy link
Member Author

@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.

Copy link
Contributor

@anthonyharrison anthonyharrison left a 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:

  1. There needs to be some data for the metadata.
  2. I can't see the mapping of Remarks to CSAF status
  3. 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
  4. Start to create a test suite for the VEX process
  5. The requirements.txt file will need updating in the future as there are later versions of lib4vex and lib4sbom which correct some bugs.

@mastersans
Copy link
Member Author

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 ??

@terriko
Copy link
Contributor

terriko commented Jun 3, 2024

Not quite sure why this one triggered a "needs review before tests can run" but I've kicked them off to run now.

@mastersans mastersans changed the title feat: cyclonedx vex generation feat: cyclonedx vex generation Jun 3, 2024
@mastersans
Copy link
Member Author

mastersans commented Jun 3, 2024

Test are passing now, i checked my fork

Copy link
Contributor

@anthonyharrison anthonyharrison left a comment

Choose a reason for hiding this comment

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

Looking good

Copy link
Contributor

@terriko terriko left a 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.

@terriko terriko added the dependencies Pull requests that update a dependency file label Jun 10, 2024
Copy link
Contributor

@terriko terriko left a 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.

@terriko terriko merged commit 4b87920 into intel:main Jun 17, 2024
22 checks passed
@mastersans mastersans deleted the cyclonedx_vex branch June 18, 2024 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants