File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 3
3
# Check for install/updates at https://github.com/ZupIT/horusec
4
4
5
5
source scripts/requireCommand.sh
6
-
7
6
requireCommand docker
8
7
8
+ # Make sure we're using most recent version
9
+ docker pull horuszup/horusec-cli
10
+
9
11
benchmark_version=$( scripts/getBenchmarkVersion.sh)
10
- horusec_version=$( docker run --rm horuszup/horusec-cli horusec version 2>&1 | grep version | awk ' {print $NF}' )
11
- result_file=" /src/results/Benchmark_$benchmark_version -horusec-$horusec_version .json"
12
+ horusec_version=$( docker run --rm horuszup/horusec-cli horusec version 2>&1 | grep Version | awk ' {print $NF}' )
12
13
14
+ result_file=" /src/results/Benchmark_$benchmark_version -horusec-$horusec_version .json"
13
15
docker run --rm \
14
16
-v /var/run/docker.sock:/var/run/docker.sock \
15
17
-v " $( pwd) " :/src horuszup/horusec-cli \
16
18
horusec start -p /src -P " $( pwd) " -t 3600 \
19
+ -i=' results/*,scorecard/*,scripts/*' \
17
20
-o=" json" -O=" $result_file "
You can’t perform that action at this time.
0 commit comments