Semgrep
Last updated
Last updated
Semgrep is an open-source static analysis tool used for identifying and fixing security issues in source code. It is designed to be fast, developer-friendly, and can be integrated into the development workflow. Semgrep uses a pattern-based approach to detect and fix security vulnerabilities, coding errors, and other issues in codebases.
Delivery Shield mandates source code scanning. It connects with Semgrep to identify if the scanning was performed on the repository and if not done it generates security issues.
The scanned data is collected by Delivery Shield and used to analyse the overall image and application risk scoring.
The fetched results are available in the Vulnerability Management page, Artifact section of the DBOM page, and the View Open Security Issues page.
Users can also create custom policies based on the SAST scan results, for example, users can create a policy that blocks images built from a repository that contains a critical SAST issue.
Navigate to Setup > Integrations.
In the Source panel, click Semgrep.
You can use the toggle button provided below the integration tile to enable or disable it as needed.
The Semgrep integration page is displayed.
Enter the Token value of your SemGrep account. (See API Token for details on how to generate a API token).
Click the Sast/ Dast scan toggle button to enable this scan.
Click Save. The tool is integrated in the source stage.
To delete the integration, click the Delete button.
You can edit the entered values by clicking the Edit option as shown below:
Enter the and new token value and click Update.
The new values get updated.