-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathsynthetics-java.qls
More file actions
59 lines (52 loc) · 2.53 KB
/
synthetics-java.qls
File metadata and controls
59 lines (52 loc) · 2.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Use this query suite when looking to get the broadest coverage of security results from the CodeQL Built in packs and the GitHub Security Lab Community packs.
# WARNING: A notable amount of false positives may be found in this configuration. If you wish to reduce the number of false positives, use the default codeql suites :)
# NOTE: This suite will not include audit level queries intended for gathering information about the codebase, and debugging queries intended for CodeQL developers.
# NOTE: A suite cannot exclude directories from the scan. Consider pairing with a codeql-config.yml that excludes unwanted folders with `paths-ignore`
# NOTE: A suite cannot include library packs that contain data extensions. Consider pairing with a codeql-config.yml that includes needed data models.
# Run the following pack install commands to prime your workspace or run the analyze command using `--download` flag
#codeql pack download codeql/java-queries
#codeql pack download githubsecuritylab/codeql-java-queries
# All queries from CodeQL built in query packs
- queries: '.'
from: codeql/java-queries
# Curated packs from community repos
### GitHub Security Lab ###
# Queries via Community Packs https://github.com/GitHubSecurityLab/CodeQL-Community-Packs (NOTE: the default suites do not include audit/debugging queries)
- qlpack: githubsecuritylab/codeql-java-queries
# Queries via Community Packs that use local sources https://github.com/GitHubSecurityLab/CodeQL-Community-Packs
- qlpack: githubsecuritylab/codeql-java-queries:suites/java-local.qls
- include:
kind:
- problem
- path-problem
tags contain:
- security
- include:
kind:
- diagnostic
- include:
kind:
- metric
tags contain:
- summary
- exclude:
deprecated: //
- exclude:
query path:
# REMOVE exclude - OK even if they exist in experimental folder
#- /^experimental\/.*/
- Metrics/Summaries/FrameworkCoverage.ql
- /Diagnostics/Internal/.*/
- exclude:
tags contain:
- modeleditor
- modelgenerator
# Exclude audit queries from the CodeQL Built in packs
- exclude:
id:
- java/untrusted-data-to-external-api
# Remove debugging, and audit queries used by community packs (this is duplicative of the default suites from those community packs)
- exclude:
tags contain:
- debugging
- audit