Sometimes the analysis is more exclusive and need include only Source Code result output such as when Analysis is focused only on Software Health and Cloud Readiness or other specific scenarios
Details
In the automated scan approach when using CLI, files can be excluded by
1. Scanning the source with the CLI, having the option --skipUpload active. Move (or extract the path to) filtered result CSV files in a folder (filtered as suggested in the SCA guidelines)
2. Scanning the build/deployed output with the CLI, having the option --skipUpload active. Move (or extract the path to) result CSV files to another folder than above (filtered as suggested in the SCA guidelines) or need not scan or use the --ignorepaths option to exclude folders
3. In the folder where you centralized the result CSVs, zip the result CSV files with a Linux command (zip OPTIONS ARCHIVE_NAME FILES, see this page: https://linuxize.com/post/how-to-zip-files-and-directories-in-linux/)
4. Run the CLI by using the option --uploadZipFile “path_to_your_folder”
Related Articles
CAST HIGHLIGHT - Analyzer - CLI - Highlight Automation - How to ignore Files, Directories and Path
Additional Resources
CAST Highlight Troubleshooting Guides
CAST Highlight Product Documentation
Zendesk Ticket Number
# 22719
Comments