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

Introduce an "Imports" entity to DejaCode #156

Open
DennisClark opened this issue Jul 30, 2024 · 3 comments
Open

Introduce an "Imports" entity to DejaCode #156

DennisClark opened this issue Jul 30, 2024 · 3 comments
Assignees
Labels
design needed Design details needed to complete the issue enhancement New feature or request

Comments

@DennisClark
Copy link
Member

Objective: Provide access to the original details of data imported to DejaCode.
DejaCode currently supports multiple options to import data into a Product, including:

  • Import data from Scan
  • Load packages from SBOMs
  • Import packages from manifests
  • Pull ScanCode.io Project data

Note that one Product can be constructed using multiple imports. These imports result in additions to a DejaCode Product Inventory and new Package definitions; a summary and status of each import is available on the Product "Imports" tab. The details of the original data, and their connections to specific DejaCode objects, are generally not maintained.

Consider the ability to navigate to a new DejaCode form that presents the (read-only) details of the imported file, so that all the metadata of that "Import" object can be viewed in a structured manner, including any "header" (top-level) metadata from that object.

Consider an enhancement to the various import processes that "links" new Product Inventory Items and Packages to original imported data.

Consider an enhancement to provide the ability to reuse imports on another Product.

More details to follow.

@DennisClark DennisClark added enhancement New feature or request design needed Design details needed to complete the issue labels Jul 30, 2024
@DennisClark DennisClark self-assigned this Jul 30, 2024
@DennisClark
Copy link
Member Author

See related issue in ScanCode.io aboutcode-org/scancode.io#1343

@DennisClark
Copy link
Member Author

For clarity and usability, we may want to limit the original implementation of an "Imports" entity to data imported from SBOMs, which is the main use case that needs to be supported here.

@pombredanne
Copy link
Member

From discussions with a CISO, keeping the original imported SBOM (or scan) file(s) as-is as attachments is important as there are times where our import may not be 100% lossless. This helps with auditability and in general is a good thing. It can also help to reprocess the same SBOM in some other tool, so storing it is always important.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design needed Design details needed to complete the issue enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants