Skip to main content

Understand the Projects page

A project is a repository, or part of a repository, that you scan through Semgrep AppSec Platform, either using CI or Semgrep Managed Scans. This also includes local CLI scans whose results you have sent for viewing on Semgrep AppSec Platform. A project’s scans can be viewed on the Project details page, and its findings can be viewed on the individual Semgrep products’ Findings pages. The Projects page features two tabs:
  • The Scanning tab lists all projects that have been provisioned or scanned by Semgrep, regardless of whether the project is actively being scanned. If the project is archived in Semgrep or in the source code manager, it is listed under Not scanning.
  • The Not scanning tab lists projects that are associated with source code manager (SCM) connections that you’ve added, but which aren’t actively being scanned by Semgrep. It also lists archived projects. See Archive a project.

Find, inspect, and scan projects

Sort projects

View all projects by navigating to Semgrep AppSec Platform and clicking Projects. To sort projects, click the attribute you want to sort by on the header row. You can only sort by one attribute. Sort by the following attributes:
  • Project: Click to toggle between sorting project names alphabetically in ascending or descending order.
  • Last scan: Click to toggle between sorting the projects’ latest scan times in ascending or descending order. Semgrep sorts by the scan’s completion time. If the scan hasn’t completed, Semgrep uses its start time. For a Managed Scans request that hasn’t created a scan yet, Semgrep uses the time the request was submitted. Workflow runs don’t affect this order.

Filter projects

To filter projects by the status of their latest scan or workflow run, follow these steps:
1
On the Scanning tab, click Any status, then select a status. The list shows projects whose latest scan or latest workflow run has that status.
2
Optional: To match only scans or only workflows, click the Additional project filters icon. Under Run status, click Scan status or Workflow status, then select a status.
To filter by tag, click the Additional project filters icon, then click Tags. You can edit or remove each status or tag filter that you add. If no projects match, click Clear filters to reset the filters. Click Priority findings or All findings to choose which finding counts the table displays.

Project details page

Each project listed on the Projects page has its own Project details page, which you can access by clicking the project’s name. The Project details page is where you can filter scans, configure settings, and view detailed logs for each scan that has been run. Use the Project details page to:
  • View trends over time, such as changes in scan duration.
  • Filter scans and workflow runs, open their details, and inspect available logs through the Scans & Workflows tab.
  • Update a project’s tags, primary branch, and path ignores through the Settings tab.
  • Rename, archive, or delete the project.

Filter a project’s scans and workflows

View scan and workflow history together on a project’s Scans & Workflows tab:
1
Navigate to the Projects section in Semgrep AppSec Platform.
2
Click the project name of interest for Project details.
3
Click Scans & Workflows.
4
Use the filters or search field to narrow the history. The table displays the matching scans and workflow runs.
The Scans & Workflows tab has these filters: You can also search by job ID, scan ID, or workflow name. To restore the unfiltered history, click Clear all filters. A sparkle icon, with the tooltip Includes AI Detection, identifies scans that include AI-powered detection. The icon doesn’t indicate whether the scan is a full or diff-aware scan. The history table starts with the ID & type and Host columns:
  • ID & type: A Managed Scans request that hasn’t created a scan yet shows - instead of a scan ID.
  • Host: Hover over or focus the icon to see where a scan or workflow run ran. Known CI providers show their logo, and Managed Scans and Semgrep-hosted workflows show Semgrep. Other CI environments show a terminal icon with the environment’s name. If host information is missing, a question mark icon appears.

View scan and workflow details

To view the latest scan or workflow run from the Projects page, follow these steps:
1
On the Scanning tab, find the project.
2
Click the timestamp under Last scan or Last workflow. If you have access to the details, the details drawer opens.
3
Review the results and details of the scan or workflow run.
4
Under Tasks, expand a scan task or workflow step to inspect its available logs.
You can also open the details drawer from a project’s Scans & Workflows tab by clicking a scan ID, workflow job ID, or timestamp. To view the details as a full page, click Open as page in the drawer header. Scan links are standard links, so you can open scan details in a new browser tab.

View workflow logs

  • To expand the log viewer inline, click Open full logs. To return to the preview, click Collapse log view. On the details page, workflow logs start expanded.
  • In the expanded viewer, select Standard error or Standard output, then search or filter by log level.
  • If a workflow task has multiple attempts, the newest attempt is expanded first and its panel shows the available logs. Earlier attempts show their timestamps and available error summaries.
  • If a step has multiple tasks without descriptive labels, the task rows use Item N of M.
Each workflow step shows the credits that it used next to its duration. Step credits are rounded to two significant digits. For billed credit usage, see AI credits.

View scan logs

  • To view stored scan logs, click Open full logs in the drawer. The logs open on the details page.
  • If your CI provider hosts the logs, click View logs in CI.
You can share a scan or workflow run with collaborators who have access to it. In the details header, click Copy link to copy its permalink.

Run scans in bulk

You can scan multiple projects at once from the Projects page. This is useful when you want to rescan multiple projects after changing your ruleset or configuration. To run scans in bulk, select the checkbox for each project, then click Run a new scan and choose a scan type. You can also use the header checkbox:
  • If no projects are selected, it selects the projects on the current page that you can manage or delete. Projects pending deletion aren’t selected.
  • If any projects are selected, it clears the selection on all pages.

Manage project settings

You can configure a project’s settings by going to the Project details page and clicking the Settings tab. See the following pages for more information: Additionally, the Semgrep API allows you to filter tags for use in additional workflows and integrations within your own systems. Create tags based on engineering or department teams, external-facing or internal codebases, and so on. See Tags for more information.

Keep projects in sync with SCM repositories

When you rename or move a repository in your SCM, a CI scan can create a second project under the new name. To keep your findings history in one project, see Keep projects in sync with SCM repositories.

Archive a project

Project archiving is in public beta.
Archive a project to stop scanning it and make its findings read-only, without deleting its data. You can unarchive the project later to resume scanning. Semgrep also treats a project as archived when its repository is archived in GitHub, GitLab, or Bitbucket Data Center. Semgrep hides the project’s open findings from default views and makes all of its findings read-only. It also rejects new scans of the project, including CI scans, Managed Scans, and Semgrep Agentic Workflows runs. A rejected CI scan fails with an error that names your SCM, for example This project is archived in GitHub. Unarchive it in GitHub to resume scanning. To unarchive one of these projects, unarchive its repository in your SCM. You can’t unarchive it in Semgrep. When you archive a project, Semgrep AppSec Platform does the following:
  • Rejects new CI scans and Managed Scans of the project. A rejected CI scan fails with the error This project is archived in Semgrep. Unarchive it in Semgrep to resume scanning.
  • Stops syncing the project’s metadata from your SCM.
  • Hides the project’s open findings from the default views of the Findings page, the Dashboard, and the Reporting page. Fixed and removed findings keep their current state.
  • Makes the project’s findings read-only. You can’t triage them, create tickets for them, apply Autofix to them, or run Semgrep Agentic Workflows on the project.
  • Hides the project’s dependencies from the Semgrep Supply Chain Dependencies page by default.
  • Moves the project to the Not scanning tab of the Projects page and labels it Archived.

Prerequisites

Archive one project

1
In Semgrep AppSec Platform, click Projects.
2
Click the project name for Project details.
3
In the page header, click the three-dot button, then click Archive project.
4
In the Archive project dialog, click Confirm.
The Project details page shows an Archived label next to the project name.

Archive several projects

1
In Semgrep AppSec Platform, click Projects.
2
On the Scanning tab, select the checkbox for each project you want to archive.
3
Click Edit (N) and click Archive projects.
4
In the Archive projects dialog, click Archive N projects.
The archived projects move to the Not scanning tab.

Unarchive a project

1
In Semgrep AppSec Platform, click Projects.
2
On the Not scanning tab, select the Show archived checkbox.
3
Click the project name for Project details.
4
In the page header, click the three-dot button, then click Unarchive project.
Semgrep accepts new scans of the project, and its open findings appear in the default views again.

View findings from archived projects

To view findings from archived projects, follow these steps:
1
In Semgrep AppSec Platform, go to the Findings page.
2
Click the Show additional filters icon, then click Archived.
The page lists only findings from archived projects. To view only dependencies from archived projects, go to the Dependencies page, then turn on Archived projects.

Delete a project

Deleting a project removes all of its findings, metadata, and other records from Semgrep AppSec Platform. You can’t undo a deletion.
1
In Semgrep AppSec Platform, click Projects.
2
Search for your project’s name.
3
Click the project name for Project details.
4
In the header, click the icon, then click Delete project.

Delete an archived project

Archived projects are listed on the Not scanning tab. To delete one, follow these steps:
1
In Semgrep AppSec Platform, click Projects.
2
Switch to the Not scanning tab of the Projects page.
3
Select the checkbox to Show archived projects.
4
Search for the archived project’s name.
5
Click the project name or Project details.
6
Click the dropdown at the header and click Delete project.
It can take up to a day (24 hours) for the Reporting page to correctly update and remove findings associated with a recently deleted project.