Translating Django
Fortify Static Code Analyzer supports the Django framework. To translate code created using the Django framework, add the following properties to the <sca_install_dir>/Core/config/fortify-sca.properties configuration file:
com.fortify.sca.limiters.MaxPassthroughChainDepth=8
com.fortify.sca.limiters.MaxChainDepth=8
By default, Fortify Static Code Analyzer attempts to discover Django templates in the project root directory. Any Django templates found are automatically added to the translation. If you do not want Fortify Static Code Analyzer to automatically discover Django templates, use the -django-disable-autodiscover option.
If your project requires Django templates, but the project is configured such that Django templates are in an unexpected location, use the -django-template-dirs option to specify the directories that contain the templates in addition to the -django-disable-autodiscover option.
You can specify additional locations of Django template files by adding the -django-template-dirs option to the sourceanalyzer command:
-django-template-dirs <dirs>