Skip to main content

Semgrep release notes for June 2024

๐ŸŒ Semgrep AppSec Platformโ€‹

Addedโ€‹

  • The Semgrep Jira integration is now in public beta. Create Jira project tickets from Semgrep AppSec Platform and configure mappings from Semgrep fields to Jira fields. Read the Jira integration documentation to learn more.
    • Assistant remediation guidance is now available in Jira tickets you create.
    • Added a red Jira ticket icon in the Findings page to make it clear when Jira ticket creation fails.
  • The onboarding checklist modal now expands automatically to show more items when you first sign in to Semgrep AppSec Platform.
  • You can now sort projects by name and latest scan by navigating to the Projects page and clicking the arrow next to their respective headers. Arrows used to sort projects by name and latest scan.
  • Playground: Added the fix key to structure mode.
  • Added a setup page for Semgrep Managed Scanning. New users are now able to create a source code manager when setting up managed scans for the first time.
  • Added the ability to define separate path ignores lists. Users can now define one for Semgrep Code and Supply Chain and another for Semgrep Secrets.
  • Added two additional triage states for all Semgrep products:
    • Reviewing
    • Fixing

Changedโ€‹

  • Updated the Settings > Integrations tab with the latest supported integration information.

Fixedโ€‹

  • Previously, users whose access token had expired found themselves redirected back and forth between /login and /orgs/-, ultimately navigating them to /login. This issue has been fixed and the user is now properly redirected based on the state of the access token.

๐Ÿ’ป Semgrep Codeโ€‹

Addedโ€‹

  • Added support for the --subdir command, which enables scanning monorepos in parts. --subdir accepts the path to a subdirectory, then runs Semgrep only on the specified subdirectory and ensures that the file links displayed in Semgrep AppSec Platform are correct.
  • Added traces to help debug the performance of tainting. To send traces added in the PR, pass --trace and set the environment variable SEMGREP_TRACE_LEVEL=trace. To send traces to a local endpoint instead of Semgrep's default endpoint, use --trace-endpoint.

Changedโ€‹

  • Removed URLs at the end of logs generated whenever semgrep ci --dryrun is run. Dry runs occur locally without results uploaded to Semgrep AppSec Platform, so the URL is unnecessary.

Fixedโ€‹

  • Fixed an issue that caused findings to be flagged as Untriaged and display the message, "Untriaged by Semgrep because a related issue was untriaged."
  • Fixed an issue with last seen scan dates when projects are scanned with individual products, such as Code and Supply Chain, not simultaneously.

โ›“๏ธ Semgrep Supply Chainโ€‹

Addedโ€‹

  • You can now disable Supply Chain PR comments for reachable findings. Navigate to Settings > Deployment, and within the Supply Chain section, click the PR/MR Comments toggle.

Changedโ€‹

  • The Supply Chain > Advisories tab search box now allows you to search by CVE number, such as CVE-2023-44487, or GitHub Security Advisory (GHSA) ID.

Fixedโ€‹

  • Clicking the Clear filters button in Supply Chain > Vulnerabilities now clears all filters correctly.

๐Ÿค– Semgrep Assistantโ€‹

Addedโ€‹

  • Added the Assistant Analyze button to Semgrep Code's Finding Details page so that users do not have to return to the Findings page to trigger Assistant actions.
  • Assistant features have been added to the Jira integration. See Semgrep AppSec Platform for more information.

Fixedโ€‹

  • Fixed an issue with Assistant causing long wait times for analysis results.

๐Ÿ” Semgrep Secretsโ€‹

Addedโ€‹

  • Added a pop-up confirmation in Semgrep AppSec Platform that enabling historical secrets results in longer scan times.

Changedโ€‹

  • Changed the details page for Secrets findings to match findings identified by Semgrep Code and Semgrep Supply Chain.
  • Changed Secrets findings to rely on the findings severity instead of rule severity, since a validator can override the latter value.

Fixedโ€‹

  • Fixed an issue where Semgrep Code incorrectly ran alongside Semgrep Secrets. This occurred when there were files that:
    • Should be scanned by Semgrep Secrets but ignored by Semgrep Code, and
    • Contained Python functions with annotations ending in endpoint, route, get, patch, post, put, delete, before_request, or after_request

๐Ÿ“ Documentation and knowledge baseโ€‹

Addedโ€‹

Changedโ€‹

  • Revised the definitions for the following fields in the API documentation:
    • State
    • Status
    • Triage state
  • Major updates have been made to the following documentation:
  • Updated webhook samples.
  • Site look and feel: minor cosmetic improvements.

Fixedโ€‹

  • Fixed various broken links.
  • Various troubleshooting documents have been restored and re-edited for clarity and quality.

๐Ÿ”ง Semgrep OSS Engineโ€‹

The following versions of Semgrep OSS Engine were released in June 2024:


Not finding what you need in this doc? Ask questions in our Community Slack group, or see Support for other ways to get help.