Translating SQL
On Windows (and Linux for .NET projects only), Fortify Static Code Analyzer assumes that files with the .sql extension are T-SQL rather than PL/SQL. If you have PL/SQL files with the .sql extension on Windows, you must configure Fortify Static Code Analyzer to treat them as PL/SQL.
To specify the SQL type for translation on Windows platforms, type one of the following translation commands:
sourceanalyzer -b <build_id> -sql-language TSQL <files>
or
sourceanalyzer -b <build_id> -sql-language PL/SQL <files>
Alternatively, you can change the default behavior for files with the .sql extension. In the fortify-sca.properties file, set the com.fortify.sca.fileextensions.sql property to TSQL or PLSQL.
See Also