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

FAILURE_ACCURACY_NOT_MET #220

Open
eeelkhan opened this issue May 20, 2024 · 5 comments
Open

FAILURE_ACCURACY_NOT_MET #220

eeelkhan opened this issue May 20, 2024 · 5 comments

Comments

@eeelkhan
Copy link

eeelkhan commented May 20, 2024

Hey!

I am getting Extraction for NPM Package Json Parse has accuracy of LOW but HIGH is required by the current detect.accuracy.required configuration. when running on javascript (frontend) project.
Workflow was a copypaste from the BlackDuck docs. And I don't see how detect.accuracy.required can be set.

@eeelkhan
Copy link
Author

I am running BlackDuck in a monorepo with multiple projects (single BlackDuck project setup) and I am also wondering if detect.detector.depth needs to be passed somehow.

@eeelkhan
Copy link
Author

For anyone bumping into this:

 env:
          DETECT_PROJECT_NAME: ${{ inputs.detect_project_name }}
          DETECT_DETECTOR_DEPTH: "5"
          DETECT_ACCURACY_REQUIRED: "NONE"

@eeelkhan
Copy link
Author

Seems like it is DETECT_DETECTOR_SEARCH_DEPTH instead of DETECT_DETECTOR_DEPTH but it still doesn't check nested folders

@eeelkhan eeelkhan reopened this May 20, 2024
@Jack9393
Copy link

Jack9393 commented Nov 7, 2024

Hi eeelkhan,

Did you find a solution for this?

@eeelkhan
Copy link
Author

eeelkhan commented Nov 7, 2024

Hi eeelkhan,

Did you find a solution for this?

@Jack9393

Adding workspaces array to package.json did the trick but later versions on pnpm don't support this. So we will look into other solutions.

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

2 participants