synopsys-sig / synopsys-action

Synopsys Action consuming Synopsys scanning tools
Apache License 2.0
23 stars 16 forks source link

FAILURE_ACCURACY_NOT_MET #220

Open eeelkhan opened 5 months ago

eeelkhan commented 5 months ago

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 commented 5 months ago

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 commented 5 months ago

For anyone bumping into this:

 env:
          DETECT_PROJECT_NAME: ${{ inputs.detect_project_name }}
          DETECT_DETECTOR_DEPTH: "5"
          DETECT_ACCURACY_REQUIRED: "NONE"
eeelkhan commented 5 months ago

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