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

Unable to scan a Jar file using Shared commands #399

Open
StevenKitavi opened this issue Nov 20, 2023 · 0 comments
Open

Unable to scan a Jar file using Shared commands #399

StevenKitavi opened this issue Nov 20, 2023 · 0 comments

Comments

@StevenKitavi
Copy link

When i follow shared procedure to scan a jar file i get blank reports please assist point to the Jar file command
Scan Java project
For Java and JVM language-based projects, it is important to compile the projects before invoking sast-scan in the dev and CI workflow.

docker run --rm -e "WORKSPACE=${PWD}" -v ~/.m2:/.m2 -v <source path>:/app shiftleft/scan scan --src /app --type java

It returns an empty report, should the argument <source path>:/app point to the file jar or point to the folder where the Jar file is
Because it does not seem to work

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

No branches or pull requests

1 participant