Question?
How do I override language detected by CodeSec Scan?
Answer
When performing a SAST scan, CodeSec will automatically determine the language of the input files. In the rare scenario that an unrecognised filetype is in use and this is unsuccessful, it's possible to manually set the language with the following command:
contrast scan -l <language>
Valid values for <language>
are JAVA
, JAVASCRIPT
and DOTNET
.