CAST HIGHLIGHT - CLI - How to pass multiple paths under the --ignorePaths parameter?

Multiple paths can be passed  under the --ignorePaths parameter to exclude source code automatically from the scan. within directories matching with this regexp.

Details

The parameter expects the paths to be part of the same regular expression using or (|) notation.

For instance:
“^subproject/node_modules|^.*test”

will skip node_modules from subproject and all path with prefix ending with test.

 

Related Articles

CAST HIGHLIGHT - Analyzer - CLI - Highlight Automation - How to ignore Files, Directories and Path

CAST HIGHLIGHT - CLI - IgnorePaths not working, not excluding as expected

Highlight Automated Code Scan (Command Line)

 

Additional Resources

CAST Highlight Troubleshooting Guides

CAST Highlight Product Documentation

 

 

Ticket

28787

 

 

 

 

Have more questions? Submit a request

Comments

Powered by Zendesk