chore(deps): update dependency semgrep to ~=1.70.0 #575
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
~=1.68.0
->~=1.70.0
Release Notes
returntocorp/semgrep (semgrep)
v1.70.0
Compare Source
Added
Added guidance for resolving API token issues in CI environments. (gh-10133)
The osemgrep show command supports 2 new options:
dump-ast
dump-pattern
.See
osemgrep show --help
for more information. (osemgrep_show)Added additional output flags which allow you to write output to multiple files in multiple formats.
For example, the comand
semgrep ci --text --json-output=result.json --sarif-output=result.sarif.json
Displays text output on stdout, writes the output that would be generated by passing the
--json
flagto
result.json
, and writes the output that would be generated by passing the--sarif
toresult.sarif.json
. (saf-341)Added an experimental feature for users to use osemgrep to format
SARIF output.
When both the flags --sarif and --use-osemgrep-sarif are specified,
semgrep will use the ocaml implementation to format SARIF.
This flag is experimental and can be removed any time. Users must not
rely on it being available. (saf-978)
Changed
compatible, there are some minor instances where updates to rules may be
needed, since PCRE2 is slightly more strict in some cases. For example, while
we previously accepted
[\w-.]
, such a pattern would now need to be written[\w.-]
or[\w\-.]
since PCRE2 rejects the first as having an invalid range. (scrt-467)Fixed
Semgrep LS now waits longer for users to login (gh-10109)
When semgrep ci finishes scanning and uploads findings, it tells the
app to mark the scan as completed.
For large findings, this may take a while and marking the scan as
completed may timeout. When a scan is not marked as completed, the app
may show that the repo is still processing, and confuses the user.
This change increases the timeout (previously 20 minutes) to 30
minutes. (saf-980)
Fix
semgrep ci --oss-only
when secrets product is enabled. (scrt-223)v1.69.0
Compare Source
Added
--trace-endpoint <url>
.This change is for an internal feature for debugging performance. (saf-885)
Changed
not want --debug's output to be enormous, as it tends not to be useful and yet
cause some problems. Note that --debug is mainly intended for Semgrep developers,
please ask for help if needed. (gh-10044)
Fixed
ends with an ellipsis now favors the longest match rather than the shortest
match when multiple matches are possible. For example, for a given target
program
a a b
, the patterna ... b
will matcha b
as before butthe pattern
a ...
will now match the longera a b
rather thana b
. (gh-10039)didn't work properly when adding a new file or renaming an existing file. (saf-897)
Configuration
📅 Schedule: Branch creation - "* 0-4 * * 3" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.