- For developers
- For admins
After Semgrep scans your project, you can review your findings and request an exception to ignore a finding.For blocking findings, you must request and receive approval to ignore the finding. Once you receive approval from a Semgrep admin, you can re-scan the project to unblock your pull request (PR) or merge request (MR).For non-blocking findings, you can merge the PR or MR without an approved exception request from an admin. However, the finding’s status remains unchanged and is only changed to Ignored when a Semgrep admin approves the request.
Request an exception
To request an exception:- Respond to the PR or MR comment that Semgrep posted
- Triage a finding and submit a request in Semgrep AppSec Platform. Whenever you triage a finding in Semgrep AppSec Platform, your actions are automatically converted to requests instead of directly modifying the status of the finding.
Respond to a PR or MR comment
When Semgrep identifies a finding in your PR or MR, it posts a comment that indicates whether the finding is blocking, provides a description of the issue, provides instructions on resolving the issue, and provides a link to the finding on the Semgrep AppSec Platform.To request an exception, reply to Semgrep’s comment using one of the following options:/ignore <explanation of why the finding is safe to ignore>/fp <explanation of why the finding is a false positive>/ar <explanation of why the finding is an acceptable risk>
Triage a finding and submit a request in Semgrep AppSec Platform
- Log in to Semgrep AppSec Platform.
- Go to the Findings page for the product of interest: Code, Supply Chain, or Secrets.
- To triage a finding in the Group by Rule view:
- Find the rule used to generate the finding. Select the checkbox for the associated finding. Then, click Triage > Ignored.
- Select Ignore reason, and optionally, provide Comments to describe why you’re ignoring the finding.
- Click Request to ignore.
- To triage a finding in the No grouping view:
- Select the checkbox next to the finding you want to ignore, and click Triage > Ignored.
- Select Ignore reason, and optionally, provide Comments to describe why you’re ignoring the finding.
- Click Request to ignore.