Interface SemgrepRunner
public interface SemgrepRunner
Responsible for running semgrep
-
Method Summary
Modifier and TypeMethodDescriptionstatic SemgrepRunner
com.contrastsecurity.sarif.SarifSchema210
Execute semgrep.
-
Method Details
-
run
com.contrastsecurity.sarif.SarifSchema210 run(List<Path> yamls, Path codeDir, List<String> includePatterns, List<String> excludePatterns) throws IOException Execute semgrep.- Parameters:
yamls
- the file(s) where the rule(s) are storedcodeDir
- the directory containing the code to be run on- Returns:
- the resulting SARIF
- Throws:
IOException
-
createDefault
-