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

Default scanset omits pnpm-lock.yaml #375

Closed
oliver-koell opened this issue Jan 11, 2024 · 0 comments · Fixed by #407
Closed

Default scanset omits pnpm-lock.yaml #375

oliver-koell opened this issue Jan 11, 2024 · 0 comments · Fixed by #407

Comments

@oliver-koell
Copy link

oliver-koell commented Jan 11, 2024

DependencyCheck supports pnpm based frontend projects out of the box with the PnpmAuditAnalyzer.

With the DependencyCheck gradle task this analyzer will not be activated because the default scanset does not include the relevant pnpm-lock.yaml file.

List<String> toScan = ['src/main/resources', 'src/main/webapp',

The PnpmAuditAnalyzer is skipped because it assumes that no pnpm-lock.yaml is present.

Would it be possible to add pnpm-lock.yaml to the default scanset (as e.g. yarn.lock)?

The default scanset does include the file pnpm.lock, which is probably obsolete - neither does pnpm generate this file, not does the PnpmAuditAnalyzer consider it.

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

Successfully merging a pull request may close this issue.

1 participant