How can I exclude test directories in a Java Project from being scanned by Fortify sca. The directories are structured in the following way -
/src/main/xyz/pqr
/src/main/xyz/test/abc
/src/test/xyz
I want to exclude any files under folders named test from being scanned. I am not sure how to use the -exclude command line parameter to achieve this.
Use the following:
-exclude "**/test/*"