semgrep-action
A specialized Docker image for running Semgrep in CI environments
5M+
Semgrep now supports GitHub Actions natively! :tada:
Refer to the GitHub Actions configuration document to run Semgrep natively in CI environments.
| ⚠️ Warning ⚠️ |
|---|
| This wrapper script is deprecated. It is recommended to stop using this wrapper script and migrate to native Semgrep support instead. Refer to the GitHub Actions configuration document. |
Semgrep Action runs Semgrep in CI environments. It can also connect to Semgrep App to configure rules and review findings on a web UI.
To see all the configuration options, check Semgrep docs. Semgrep Action runs Semgrep in CI environments. It can also connect to Semgrep App to configure rules and review findings on a web UI.
Semgrep runs fully in your build environment: code is never sent anywhere.
Semgrep behaves like other static analysis and linting tools: it runs a set of user-configured rules and returns a non-zero exit code if there are findings, resulting in its job showing a ✅ or ❌.
Refer to Getting started with Semgrep in CI to set up a CI job with Semgrep.
Once Semgrep Action is running, explore the Semgrep Registry to find and add more project-specific rules.
See the Semgrep in CI configuration reference for further customizations, such as scanning with custom rules, ignoring files, and tuning performance.
Semgrep collects opt-out non-identifiable aggregate metrics for improving the user experience, guiding Semgrep feature development, and identifying regressions.
The PRIVACY.md file describes the principles that guide our data-collection decisions, the breakdown of the data that are and are not collected, and how to opt-out of Semgrep CI’s metrics.
Semgrep never sends your source code anywhere.
The Semgrep Action GitHub Marketplace listing
runs the semgrep-agent Docker image.
New versions of Semgrep CI and the Docker image above are released by Semgrep maintainers on a regular basis.
To run all jobs with the latest releases, use the returntocorp/semgrep Docker image, or the returntocorp/semgrep-action@v1 action.
See CONTRIBUTING.md
Content type
Image
Digest
sha256:5dc78ee61…
Size
96.1 MB
Last updated
over 2 years ago
docker pull returntocorp/semgrep-action:sha-688b98c