AZ-400 · Question #180
You use WhiteSource Bolt to scan a Node.js application. The WhiteSource Bolt scan identifies numerous libraries that have invalid licenses. The libraries are used only during development and are not p
The correct answer is A. Run and specify the flag. D. Configure WhiteSource Bolt to scan the node_modules directory only.. To resolve NPM dependencies, you should first run "npm install" command on the relevant folders before executing the plugin. Doing whitesource scan for node_modules directory and when scanning ,in resolving https://whitesource.atlassian.net/wiki/spaces/WD/pages/34209870/NPM+Plugi
Question
Options
- ARun and specify the flag.
- BModify the WhiteSource Bolt policy and set the action for the licenses used by the development
- CModify the devDependencies section of the project's Package.json file.
- DConfigure WhiteSource Bolt to scan the node_modules directory only.
How the community answered
(54 responses)- A85% (46)
- B9% (5)
- C6% (3)
Explanation
To resolve NPM dependencies, you should first run "npm install" command on the relevant folders before executing the plugin. Doing whitesource scan for node_modules directory and when scanning ,in resolving https://whitesource.atlassian.net/wiki/spaces/WD/pages/34209870/NPM+Plugin https://stackoverflow.com/questions/72784118/unable-resolve-npm-dependencies-while- whitesource-scan-in-jenkins
Community Discussion
No community discussion yet for this question.