FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
BenchmarkJava/scripts/translateCodeQL.sh at master · watchanew/BenchmarkJava · GitHub
watchanew
/
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
/
translateCodeQL.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
11 lines (8 loc) · 755 Bytes
Breadcrumbs
BenchmarkJava
/
scripts
/
translateCodeQL.sh
Copy path
File metadata and controls
executable file
·
11 lines (8 loc) · 755 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
#
First, you have to get the platform binaries from: https://github.com/github/codeql-cli-binaries/releases
#
And then install them in a tools directory, that is a peer to your HOME_FOLDER. HOME_FOLDER should contain BenchmarkJava, BenchmarkUtils, etc.
#
The unzipped codeql-binaries codeql/ folder should be put in tools/codeql-home/
#
NOTE: This tool requires Java 11+
#
You have to download the rulepacks now. This does this.
../../tools/codeql-home/codeql/codeql pack download codeql/java-queries
#
This translates the current app, and builds up the rules databases. This only has to be run once after each code change.
../../tools/codeql-home/codeql/codeql database create owasp-benchmark --language=java --overwrite --command=
"
mvn clean package
"
Back
|
FazBrowse Home
|
New Git URL