FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
BenchmarkJava/scripts/runSemgrep.sh at master · wangwangping/BenchmarkJava · GitHub
wangwangping
/
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
·
16 lines (9 loc) · 509 Bytes
Breadcrumbs
BenchmarkJava
/
scripts
/
runSemgrep.sh
Copy path
File metadata and controls
executable file
·
16 lines (9 loc) · 509 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://semgrep.dev/docs/update/
source
scripts/requireCommand.sh
requireCommand docker
docker pull semgrep/semgrep
benchmark_version=
$(
scripts/getBenchmarkVersion.sh
)
semgrep_version=
$(
docker run --rm semgrep/semgrep semgrep --version
)
result_file=
"
/src/results/Benchmark_
$benchmark_version
-Semgrep-v
$semgrep_version
.sarif
"
docker run --rm -v
"
${PWD}
:/src
"
semgrep/semgrep semgrep --config p/security-audit -q --sarif -o
"
$result_file
"
.
>
/dev/null
Back
|
FazBrowse Home
|
New Git URL