DHULY495309 (Community Member) asked a question.

How to ignore dir/files in scan

Hi,

 

I have an old NodeJS (with typescript) project with less then desirable file structure. Some of the files are used to support testing and are not part of the runtime codebase.

 

I would like to ignore/exclude these directories/files.

Fie example one of my Findings os "Use of Hard-coded Credentials CWE ID 798" on a mock generator util.

 

I was unable to find how to ignore in the docs.

 

Thanks


  • marcboggs (Community Member)

    You should review the packaging guidelines here - https://docs.veracode.com/r/compilation_jscript

     

    Also, you might want to script something to create the package and exclude files that you do not want uploaded, if you cannot ignore them in the module selection after uploading.

Topics (2)

No articles found
Loading

Ask the Community

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