CAST HIGHLIGHT - CLI - Docker Image - Scanning the Image throws the error perl: error: Cannot run program

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

--perlInstallDir (optional)
Directory of perl installation (default: C:\Program Files\CAST\HighlightAgent\COTS\strawberry-perl-5.12.3.0).

 

Related Pages

How to use our Docker image

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

CAST HIGHLIGHT - CLI - Docker Image - Best practices for scanning an applications docker image and source code together

 

 

Additional Resources

CAST Highlight Troubleshooting Guides

CAST Highlight Product Documentation

 

Ticket Number 

41652, 

Have more questions? Submit a request

Comments

Powered by Zendesk