Semgrep
Semgrep is a static analysis tool designed to scan code for security vulnerabilities and code quality issues..
Files
Semgrep will run on the following files and extensions:
ApexBash.c.cpp.cs.clj.dartDockerfile.ex.html.go.java.js.jsx.json.jl.jsonnet.kt.ktsLisp.lua.ml.php.py.r.rb.rs.scalaScheme.sol.swift.tf.ts.tsx.yaml.xmlERBJinja
Configuration
Semgrep uses a YAML style configuration file.
Semgrep supports the following config files:
- User-defined config file set at
reviews.tools.semgrep.config_filein your project's.coderabbit.yamlfile or setting the "Review → Tools → Semgrep → Config File" field in CodeRabbit's settings page.