FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
BenchmarkJava/scripts/runHorusec.sh at master · HuntingFighter/BenchmarkJava · GitHub
HuntingFighter
/
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
/
runHorusec.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
20 lines (15 loc) · 734 Bytes
Breadcrumbs
BenchmarkJava
/
scripts
/
runHorusec.sh
Copy path
File metadata and controls
executable file
·
20 lines (15 loc) · 734 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
16
17
18
19
20
#!
/usr/bin/env bash
#
Check for install/updates at https://github.com/ZupIT/horusec
source
scripts/requireCommand.sh
requireCommand docker
#
Make sure we're using most recent version
docker pull horuszup/horusec-cli
benchmark_version=
$(
scripts/getBenchmarkVersion.sh
)
horusec_version=
$(
docker run --rm horuszup/horusec-cli horusec version
2>&1
|
grep Version
|
awk
'
{print $NF}
'
)
result_file=
"
./results/Benchmark_
$benchmark_version
-horusec-
$horusec_version
.json
"
docker run --rm \
-v /var/run/docker.sock:/var/run/docker.sock \
-v
"
$(
pwd
)
"
:/src horuszup/horusec-cli \
horusec start -p /src -P
"
$(
pwd
)
"
-t 3600 \
-i=
'
results/*,scorecard/*,scripts/*
'
\
-o=
"
json
"
-O=
"
$result_file
"
Back
|
FazBrowse Home
|
New Git URL