Skip to content

Commit dffe77b

Browse files
authored
Merge pull request #1127 from secureCodeBox/dependencies/upgrading-semgrep-to-0.89.0
[SCB-Bot] Upgraded semgrep from 0.85.0 to 0.92.0
2 parents d3e0e5f + e999efb commit dffe77b

File tree

6 files changed

+6
-14
lines changed

6 files changed

+6
-14
lines changed

scanners/semgrep/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ version: "v3.1.0-alpha1"
1818
# incremented each time you make changes to the application. Versions are not expected to
1919
# follow Semantic Versioning. They should reflect the version the application is using.
2020
# It is recommended to use it with quotes.
21-
appVersion: "0.85.0"
21+
appVersion: "0.92.0"
2222
annotations:
2323
versionApi: https://api.github.com/repos/returntocorp/semgrep/releases/latest
2424
kubeVersion: ">=v1.11.0-0"

scanners/semgrep/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Semgrep"
33
category: "scanner"
44
type: "Repository"
55
state: "released"
6-
appVersion: "0.85.0"
6+
appVersion: "0.92.0"
77
usecase: "Static Code Analysis"
88
---
99

@@ -195,7 +195,7 @@ Kubernetes: `>=v1.11.0-0`
195195
| scanner.securityContext.capabilities.drop[0] | string | `"all"` | |
196196
| scanner.securityContext.privileged | bool | `false` | |
197197
| scanner.securityContext.readOnlyRootFilesystem | bool | `false` | |
198-
| scanner.securityContext.runAsNonRoot | bool | `true` | |
198+
| scanner.securityContext.runAsNonRoot | bool | `false` | |
199199
| scanner.tolerations | list | `[]` | Optional tolerations settings that control how the scanner job is scheduled (see: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/) |
200200
| scanner.ttlSecondsAfterFinished | string | `nil` | |
201201

scanners/semgrep/docs/README.ArtifactHub.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ Kubernetes: `>=v1.11.0-0`
200200
| scanner.securityContext.capabilities.drop[0] | string | `"all"` | |
201201
| scanner.securityContext.privileged | bool | `false` | |
202202
| scanner.securityContext.readOnlyRootFilesystem | bool | `false` | |
203-
| scanner.securityContext.runAsNonRoot | bool | `true` | |
203+
| scanner.securityContext.runAsNonRoot | bool | `false` | |
204204
| scanner.tolerations | list | `[]` | Optional tolerations settings that control how the scanner job is scheduled (see: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/) |
205205
| scanner.ttlSecondsAfterFinished | string | `nil` | |
206206

scanners/semgrep/docs/README.DockerHub-Parser.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ You can find resources to help you get started on our [documentation website](ht
4242

4343
## Supported Tags
4444
- `latest` (represents the latest stable release build)
45-
- tagged releases, e.g. `0.85.0`
45+
- tagged releases, e.g. `0.92.0`
4646

4747
## How to use this image
4848
This `parser` image is intended to work in combination with the corresponding security scanner docker image to parse the `findings` results. For more information details please take a look at the documentation page: https://docs.securecodebox.io/docs/scanners/semgrep.

scanners/semgrep/integration-tests/semgrep.test.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,6 @@ test(
1515
[
1616
"-c",
1717
"p/ci",
18-
// Exclude subfolders beginning with .. to work around a strange
19-
// interaction between Kubernetes and Semgrep: Kubernetes stores
20-
// ConfigMap files in a hidden subdirectory and links to them.
21-
// This leads to the file being found twice by semgrep. We thus
22-
// exclude the relevant subdirectory from the integration test
23-
// scans to avoid getting double the number of matches.
24-
"--exclude",
25-
"..*",
2618
"/test/",
2719
],
2820
90,

scanners/semgrep/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ scanner:
4444
extraContainers: []
4545

4646
securityContext:
47-
runAsNonRoot: true
47+
runAsNonRoot: false
4848
readOnlyRootFilesystem: false
4949
allowPrivilegeEscalation: false
5050
privileged: false

0 commit comments

Comments
 (0)