JWatts985552 (Community Member) asked a question.

Using VS Code plugin, how can I exclude test files from scan

Is there a way to exclude particular file types (*.spec.ts, *.mock.ts) from Veracode scans?

Our repo has multiple jest tests , and the plugin is identifying testing a password field as 'Use of hard-coded credentials'


  • SamHouston (Veracode)

    Hi @JWatts985552 (Community Member)​ ! Thanks for reaching out - We shouldn't be packaging  *.spec.ts but we don't exclude  *.mock.ts today from the package. We've filed a feature request for this and I've let the PM team know about the request.

Topics (1)

No articles found
Loading

Ask the Community

Get answers, share a use case, discuss your favorite features, or get input from the community.