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

Provide Scan import feature endpoints #59

Closed
tdruez opened this issue Feb 27, 2024 · 0 comments
Closed

Provide Scan import feature endpoints #59

tdruez opened this issue Feb 27, 2024 · 0 comments
Labels
design needed Design details needed to complete the issue enhancement New feature or request
Milestone

Comments

@tdruez
Copy link
Contributor

tdruez commented Feb 27, 2024

In the context of automation, we should add the following Product features in the REST API:

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

This would allow to automatically feed new DejaCode Products from a CI workflow, such as using https://github.com/nexB/scancode-action, for example:

  • On pushing a new release/tag in my repo
  • The scancode-action is triggered to run a scan_codebase pipeline
  • The scan results are uploaded to a DejaCode instance into a new product, and/or to a ScanCode.io instance for review of the results.
@tdruez tdruez added enhancement New feature or request design needed Design details needed to complete the issue labels Feb 27, 2024
@tdruez tdruez added this to the DejaCode 5.1 milestone Feb 27, 2024
tdruez added a commit that referenced this issue Feb 29, 2024
tdruez added a commit that referenced this issue Mar 5, 2024
)

* Add a "Load Packages from SBOMs" Product action in the REST API #59

Signed-off-by: tdruez <[email protected]>

* Add a "Import scan results" Product action in the REST API #59

Signed-off-by: tdruez <[email protected]>

* Add "Pull data from a ScanCode.io" Product action in the REST API #59

Signed-off-by: tdruez <[email protected]>

---------

Signed-off-by: tdruez <[email protected]>
@tdruez tdruez closed this as completed Mar 18, 2024
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

1 participant