Exclude a specific file or file type from fortify scan

2.7k Views Asked by At

How to exclude a specific file or file type (like config or xml) from fortify scan.

Appreciated your response.

Regards
Abdul

1

There are 1 best solutions below

1
Alesanco On

You can use the "**" parameter to do recursion into subdirectories. So use:

 -exclude "**\*.xml"

in your translation phase, for example:

sourceanalyzer -b BUILDID ./ -exclude "**\*.xml"