CAST HIGHLIGHT - CLI - --ignoreFiles option not working as expected

-ignoreFiles is working  for a non-xml file , but  it is not working for an *.xml file. To exclude all XML files 

--ignoreFiles ".*\.xml"

was used but CLI is still scanning XML files.

 

Details

Only source files can be excluded with the --ignoreFiles option.

Workaround is to manually remove the *.xml files which you don't want to include, prior to analysis by Highlight.

 

Definitive Solution

Will be extended to all other files in a future release

 

Ticket

32720

 

Related Articles

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

CAST HIGHLIGHT - Analyzer - CLI - --ignoreDirectories command not excluding project for framework

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

Highlight Automated Code Scan (Command Line)

 

Additional Resources

CAST Highlight Troubleshooting Guides

CAST Highlight Product Documentation

 

 

Have more questions? Submit a request

Comments

Powered by Zendesk