PREREQUISITEAt least one repository that scans for dependencies through Semgrep Supply Chain.
View findings
To view your findings in Semgrep AppSec Platform:1
Log in to Semgrep AppSec Platform.
2
In the Navigation bar, click Supply Chain.
- Have a severity level of critical or high
- Are reachable
LOCAL SCANSFindings from local scans are differentiated from their remote counterparts through their slugs. Remote repositories are identified as ACCOUNT_NAME/REPOSITORY_NAME, while local repositories are identified as local_scan/REPOSITORY_NAME.
Custom Priority tab
Semgrep admins can create a custom priority definition to change the criteria for the findings shown on the Priority tab:1
Log in to Semgrep AppSec Platform.
2
In the navigation bar, click Supply Chain. Ensure that you’re viewing the Priority tab.
3
Using the provided filters, set your parameters for priority findings.
4
Click Save.
5
You’ll see a dialog asking you to confirm that you want the changes saved for everyone. Click Save to proceed.
Filter findings
There are multiple grouping and filtering options available to you regardless of whether you use the Priority findings view or the All findings view.Time period
The time period filters allow you to see which vulnerabilities were opened, fixed, or triaged during a certain period of time. The time period filter is not additive. It is a filter operation that precedes other filters on the page. For example, if you select both Last triaged and Status Open, no findings appear because, by definition, there are no triaged findings that are also open. The following filters are available:- Triage state update action:
- Opened in
- Triaged in
- Fixed in
- Time period:
- Last day
- Last 7 days
- Last 30 days
- Last 3 months
- Last 6 months
- Last year
- All time
Project
The filter allows you to search for findings associated with the selected projects.Status
The Status filter allows you to search for findings in the selected statuses, which are the triage states of the findings:- Open: Findings for which there have been no triage or remediation action.
- Reviewing: Findings that require more investigation to determine what the next steps should be.
- To fix: Findings that you have decided to fix. Commonly used to indicate that these findings are tracked in Jira or assigned to developers for further work.
- Provisionally ignored: Unreachable findings.
- Ignored: Vulnerabilities that have been triaged as Ignored by the user. You can filter findings with a status of Ignored further by reason: False positive, Acceptable risk, No time to fix, or No triage reason.
- Closed: Vulnerabilities that are no longer detected after a scan. This typically means that the dependency containing the vulnerability has been updated. Semgrep Supply Chain automatically checks if the dependency has been updated and sets the vulnerability’s status as Fixed.
Additional filters
Semgrep offers additional filters that you can use to narrow down your results. The following filters are available:EPSS probability
The Exploit prediction scoring system (EPSS) probability represents the likelihood that the vulnerability will be exploited in the wild in the next 30 days. Its values range from 0% to 100%. The higher the score, the greater the probability the vulnerability will be exploited. Semgrep groups probabilities as follows:- High: 50 - 100%
- Medium: 10 - <50%
- Low: <10%
Reachability
The finding’s exposure to potential attacks, or whether it is reachable.- Reachable: A finding is reachable if there’s a vulnerable function call or vulnerable package in use. The finding should be addressed as soon as possible.
- Malicious dependency: A finding that indicates the use of a dangerous package, or dangerous version of a package, that are designed to compromise systems.
- Reachable in code: A finding is reachable in code if there’s a code pattern in the codebase that matches the vulnerability definition.
- Always reachable: A finding is always reachable if it’s something Semgrep recommends fixing, regardless of what’s in the code.
- Needs review: A finding that requires manual triage and review. Follow the instructions provided.
- Conditionally reachable: A finding is conditionally reachable if Semgrep finds a way to reach it when scanning your code when certain conditions are met.
- No Reachability Analysis: A finding that Semgrep does not scan for reachability.
- Unreachable: No vulnerable function call found. This finding can be deprioritized.
Transitivity
The transitivity of the finding:- Direct: Your project depends directly on the dependency.
- Transitive: Your project’s dependency depends on a vulnerable dependency.
- Undetermined: Semgrep had no transitivity information for the dependency as it relates to your project.
Upgrade guidance (beta)
The impact of a dependency upgrade on your project as determined by Semgrep Multimodal:- Safe: There are unlikely to be breaking changes introduced by the dependency upgrade.
- Breaking: The dependency upgrade likely introduces breaking changes, so code modifications are required.
Group and sort findings
You can view findings individually or grouped by the rule that identified the finding. By default, Semgrep displays your findings using the Group by Rule view. This view shows your findings grouped by the rule Semgrep used to match the code. Your findings are shown sorted by severity, but you can opt to sort by number of findings for a given rule. A specific finding in the code is called a usage. entries are sorted as cards by severity from critical to low, then from oldest to newest.Export findings
You can export findings to a CSV file. Semgrep can export the 10,000 most recent findings when you request the report in Semgrep AppSec Platform:1
On the navigation bar, go to Supply Chain.
2
Click the icon.
Click to view a description of fields included in the CSV.
Click to view a description of fields included in the CSV.
The following fields are exclusive to Supply Chain scans:
View details about a specific finding
To view in-depth information about a specific finding, select the finding whose details you want to view. Then:- If the default Group by Rule is enabled, click the Details icon on the card of the finding.
- If the No grouping view is enabled, click the header hyperlink on the card of the finding.
How Semgrep displays findings present on multiple branches
A single finding may appear in several branches. These appearances are called instances of a finding. Several instances of the same finding may differ in which line of code (LOC) they are on or in their triage state. For example, onproduction the finding may be on line 20, but the same finding was moved further to line 26 in feature-branch-a.
Semgrep automatically recognizes that they are fundamentally the same finding and deduplicates these instances so that you do not get an inflated count of findings per ref that the finding is present in.
By default, the Supply Chain page displays findings from the primary branches of all repositories (projects), arranged by most recent scan. You are viewing the primary branch’s instance of that finding, so you may see variations in LOC or triage state when comparing the finding across branches.
When filtering by primary branch and triage status, the filters are applied based on the triage status of the finding on the primary branch. This means that on some feature branches, the instance may already be Fixed, but on the primary branch, the finding is still Open. The finding status on the primary branch is updated when the PR or MR is merged and Semgrep has scanned the code.