FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
BenchmarkJava/scripts/mvnFortifyScan.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
/
mvnFortifyScan.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
9 lines (6 loc) · 448 Bytes
Breadcrumbs
BenchmarkJava
/
scripts
/
mvnFortifyScan.sh
Copy path
File metadata and controls
executable file
·
9 lines (6 loc) · 448 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
benchmark_version=
$(
scripts/getBenchmarkVersion.sh
)
FortifySCA_version=
$(
sourceanalyzer -v
|
grep
'
Fortify Static
'
|
cut -d
"
"
-f5
)
FortifyRulePack_version=
$(
fortifyupdate -showInstalledRules
|
grep
"
Core, Java v
"
|
cut -d
"
"
-f7
)
results_file=
"
results/Benchmark_
${benchmark_version}
-Fortify
${FortifySCA_version}
_
${FortifyRulePack_version}
.fpr
"
sourceanalyzer -b benchmark -Xmx10G -scan -f
$results_file
echo
"
Results written to:
$results_file
"
Back
|
FazBrowse Home
|
New Git URL