Skip to content

Conversation

zvigrinberg
Copy link
Contributor

Description

  • Replace data model to be sent to backend - CycloneDX SBOM.
  • Add generic code to generate CycloneDX SBOM for all package managers, so each package manager only need to use the API interface exposed by it in order to create the SBOM.
  • Add support for NPM by generating SBOM both for stack analysis and component analysis request.
  • Generated Sbom for Maven for both requests, instead of json list and dot graph models.
  • Add tests and adapt current tests to the new data model.
  • update integration tests.

Related issue (if any): fixes #issue_number_goes_here

Checklist

  • I have followed this repository's contributing guidelines.
  • I will adhere to the project's code of conduct.

… data model structure is not consistent with the sbom data model of the CycloneDX Java SDK data model

Signed-off-by: Zvi Grinberg <zgrinber@redhat.com>
…javascript library model, to javascript object self made Object model , so the generated SBOM will be consistent with the java api client and what the exhort-backend service is expecting

Signed-off-by: Zvi Grinberg <zgrinber@redhat.com>
Signed-off-by: Zvi Grinberg <zgrinber@redhat.com>
Signed-off-by: Zvi Grinberg <zgrinber@redhat.com>
… SBOM

docs: add documentation to few functions

Signed-off-by: Zvi Grinberg <zgrinber@redhat.com>
Signed-off-by: Zvi Grinberg <zgrinber@redhat.com>
feat : complete all missing parts in adding support for sbom and npm package manager

Signed-off-by: Zvi Grinberg <zgrinber@redhat.com>
…n list and dot graph

test: adjust and refactor all maven tests to check sbom instead of deprecated input/models to be sent to backend, and add new tests with bigger pom.xml

Signed-off-by: Zvi Grinberg <zgrinber@redhat.com>
Signed-off-by: Zvi Grinberg <zgrinber@redhat.com>
@zvigrinberg zvigrinberg changed the title Add generic SBOM generation capability and support for npm and maven Add SBOM data model and support for npm and maven Aug 8, 2023
Signed-off-by: Zvi Grinberg <zgrinber@redhat.com>
Signed-off-by: Zvi Grinberg <zgrinber@redhat.com>
@zvigrinberg zvigrinberg changed the title Add SBOM data model and support for npm and maven feat: Add SBOM data model and support for npm and maven Aug 8, 2023
@zvigrinberg zvigrinberg changed the title feat: Add SBOM data model and support for npm and maven feat: add SBOM data model and support for npm and maven Aug 8, 2023
… behind a facade generic sbom object

Signed-off-by: Zvi Grinberg <zgrinber@redhat.com>
Signed-off-by: Zvi Grinberg <zgrinber@redhat.com>
Signed-off-by: Zvi Grinberg <zgrinber@redhat.com>
Signed-off-by: Zvi Grinberg <zgrinber@redhat.com>
Signed-off-by: Zvi Grinberg <zgrinber@redhat.com>
@zvigrinberg zvigrinberg merged commit 2dc41cc into main Aug 8, 2023
@zvigrinberg zvigrinberg deleted the sbom-npm-mvn-api branch August 8, 2023 12:31
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