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

[REQ] Embed SCA resolver #147

Open
jimmy-lt opened this issue Oct 6, 2023 · 3 comments
Open

[REQ] Embed SCA resolver #147

jimmy-lt opened this issue Oct 6, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@jimmy-lt
Copy link

jimmy-lt commented Oct 6, 2023

Issue

The Docker image created by this action is missing required libraries for SCA resolver to run:

  • libstdc++
  • zlib

Proposed solution

By embedding SCA resolver, its integration with the action can readily be tested and users are be given a quick way to scan dependencies locally. This is quite useful when a local package repository which is inaccessible by Checkmarx One is used.

@jimmy-lt jimmy-lt added the enhancement New feature or request label Oct 6, 2023
@github-actions
Copy link

github-actions bot commented Oct 6, 2023

Internal Jira issue: AST-30582

@pedrompflopes
Copy link
Collaborator

Hi @jimmy-lt

Thanks for raising this request. It is a bit more complex, because in order to run the SCA resolver inside the docker container, you need to have the package managers installed, so we would need to include SCA resolver and all the package managers.

We recommend using the ast-cli directly in your pipeline. Please check the example below:
https://github.com/Checkmarx/ci-cd-integrations/blob/main/CxScaResolver/github-action.yml

Thanks!

@jimmy-lt
Copy link
Author

jimmy-lt commented Oct 9, 2023

Hi @pedrompflopes,

That is correct. In this case, I recommend to fork the action to install the required packages for the resolution. But at least SCA Resolver will already be present.

In our case, we have a dedicated branch for each technology: JDK, PHP, ...

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

No branches or pull requests

2 participants