FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
BenchmarkJava/scripts/runSemgrep.sh at master · mayaba/BenchmarkJava · GitHub
mayaba
/
BenchmarkJava
Public
forked from
OWASP-Benchmark/BenchmarkJava
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
BenchmarkJava
/
scripts
/
runSemgrep.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
15 lines (9 loc) · 528 Bytes
Breadcrumbs
BenchmarkJava
/
scripts
/
runSemgrep.sh
Copy path
File metadata and controls
executable file
·
15 lines (9 loc) · 528 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!
/usr/bin/env bash
#
Check for install/updates at https://github.com/returntocorp/semgrep
source
scripts/requireCommand.sh
requireCommand docker
docker pull returntocorp/semgrep
benchmark_version=
$(
scripts/getBenchmarkVersion.sh
)
semgrep_version=
$(
docker run --rm returntocorp/semgrep semgrep --version
)
result_file=
"
/src/results/Benchmark_
$benchmark_version
-Semgrep-v
$semgrep_version
.json
"
docker run --rm -v
"
${PWD}
:/src
"
returntocorp/semgrep semgrep --config p/security-audit -q --json -o
"
$result_file
"
.
>
/dev/null
Back
|
FazBrowse Home
|
New Git URL