SAST scanner
Last updated: Oct 28, 2026
For the common configuration file keys of all the scanners, read Use a configuration file.
Specific configuration file keys
Only the SAST scanner has these keys:
sast
This key has three configuration options:
include(optional; if you do not use it, the default value is["."]): The paths to the files or directories to analyzeexclude(optional): The files or directories to exclude from the analysisrecursion_limit(optional): An integer limit for the recursion depth. Use it if the SAST execution is too long (more than 1 hour) or has memory or recursion errors. The recommended and default value is100.file_size_limit(optional): Set it tofalseto remove the default file size limit if the scanner ignores important files because of this limit.
For example:
sast:
include:
- relative/path/to/file
- relative/path/to/directory/
# Optional keys
exclude:
- node_modules/
recursion_limit: 100
file_size_limit: falseTo know how to specify paths in the include and exclude subsections,
read Use a configuration file.
Configuration file example
This is an example of a configuration file with many optional keys:
namespace: my_app
working_dir: ./
commit: e59607b9de3ef4c13d292705fg3da1ff0c67eb38
language: EN
output:
file_path: /fluid-attacks-results.csv
format: CSV
checks:
- F052
strict: false
sast:
include:
- src/main/java/org/test/Test.java
- "**/*.py"
exclude:
- src/**/test*.py
file_size_limit: falseDo you have a question about the scanner, or did you find a problem? Read "Scanner FAQ".
Search for vulnerabilities in your apps for free with Fluid Attacks' automated security testing! Start your 21-day free trial and discover the benefits of the Essential plan. If you prefer the Advanced plan, which includes the expertise of Fluid Attacks' pentesting team, complete this contact form.