FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
BenchmarkJava/scripts/runCodeQLFull.sh at master · mortendaehli/BenchmarkJava · GitHub
mortendaehli
/
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
/
runCodeQLFull.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
12 lines (9 loc) · 1.02 KB
Breadcrumbs
BenchmarkJava
/
scripts
/
runCodeQLFull.sh
Copy path
File metadata and controls
executable file
·
12 lines (9 loc) · 1.02 KB
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
#
The full list of java CodeQL query sets is:
#
tested: java-code-scanning.qls - Standard Code Scanning queries for Java - This does NOT include Weak Random rule.
#
tested: java-security-extended.qls - Adds a bunch of rules to previous ruleset.
#
tested: java-security-and-quality.qls - Adds a bunch of other rules, but scores identical to security-extended ruleset.
#
tested: java-lgtm.qls - Standard LGTM queries for Java - scores the same as standard java-code-scanning.qls
#
tested: java-lgtm-full.qls - Standard LGTM queries for Java, including ones not displayed by default. Scores the same as security-extended ruleset.
#
This script assumes CodeQL has been installed and the owasp-benchmark database has already been initialized per the instructions in runCodeQL.sh
benchmark_version=
$(
scripts/getBenchmarkVersion.sh
)
../../tools/codeql-home/codeql/codeql database analyze owasp-benchmark java-security-and-quality.qls --format=sarifv2.1.0 --output=results/Benchmark_
$benchmark_version
-codeql_java-security-and-quality.sarif
Back
|
FazBrowse Home
|
New Git URL