When a docker image is scanned the following error is generated perl: error: Cannot run program ""C:\Program Files\CAST\HighlightAgent\strawberry\perl\bin\perl.exe"": CreateProcess error=2, The system cannot find the file specified
The logs are as follows:
2023-05-15 14:07:26,123 INFO highlight: perl\technos\find_technos.pl D:\SCA\Scan\DockerTest\tempDockerImgAnalyse6780 --output=D:\SCA\Scan\DockerTest\HLTemporary\discover --ignore= --ignorePath= --export=csv --nocrashprevent
2023-05-15 14:07:26,134 INFO perl: error: Cannot run program ""C:\Program Files\CAST\HighlightAgent\strawberry\perl\bin\perl.exe"": CreateProcess error=2, The system cannot find the file specified
Details
- This could be due to not specifying the Perl installation directory. Please use the following option in the command line as mentioned in Highlight Automated Code Scan (Command Line)
--perlInstallDir (optional)
Directory of perl installation (default: C:\Program Files\CAST\HighlightAgent\COTS\strawberry-perl-5.12.3.0).
-
Please check whether the requirements as mentioned in Scanning Docker Images
are followed
Related Pages
To know about the usage, proxy settings etc https://hub.docker.com/r/casthighlight/hl-agent-cli
CAST HIGHLIGHT - Results Upload - CLI - Scan is failing with error code 5
Additional Resources
CAST Highlight Troubleshooting Guides
CAST Highlight Product Documentation
Ticket Number
41652,
Comments