Prerequisites
You must have an existing Semgrep org account. See Sign in to Semgrep.Ignore findings in bulk
1
Sign in to Semgrep AppSec Platform.
2
Click Code for SAST findings, Secrets for secrets findings, or Supply Chain for SCA findings. You are taken to a page with all the findings for that product.
3
Click on Projects and branches, then click the drop-down arrow to view open branches, which is listed by its unique ID. For example, GitHub branches are represented by their PR number.
4
Click your branch. This filters the displayed findings to those specific to your PR or MR.
5
Click the findings you want to triage, then click Triage.
6
In the drop-down box, select a new Status, typically Ignored.
7
Optional: include a comment as to why you ignored a finding.
Appendix: triage statuses
Click to view all triage statuses.
Click to view all triage statuses.
Removed findings
Findings can also be removed. Semgrep considers a finding removed if it is not found in the most recent scan of the branch where Semgrep initially detected it due to any of the following conditions:- The rule that detected the finding isn’t enabled in the policy anymore.
- The rule that detected the finding was updated in a way that it no longer detects the finding.
- The file path where the finding appeared is no longer found. The file path was deleted, renamed, added to a
.semgrepignorefile, added to a.gitignorefile, or added to the list of ignored paths in Semgrep AppSec Platform. - For GitHub organization accounts: the pull request or merge request where the finding was detected has been closed without merging.
Triage behavior across refs and branches
- When you triage a finding as ignored, reviewing, fixing, or reopened, Semgrep always triages across other branches and Git references (refs).
- At scan time, there’s automatic triaging that occurs in specific cases, and the behavior changes depending on the type of scan:
- Full scans: if the current branch includes a finding that was
- Previously introduced in another branch and
- Triaged to a specific state
Then the finding in the current branch is triaged to that same state.
- Diff-aware scan: findings introduced in a diff-aware scan are not automatically triaged at scan time, even if there are other instances of that finding on branches that have been triaged.
- Full scans: if the current branch includes a finding that was