File tree Expand file tree Collapse file tree 3 files changed +52
-0
lines changed Expand file tree Collapse file tree 3 files changed +52
-0
lines changed Original file line number Diff line number Diff line change
1
+ /**
2
+ * @name List of all known sinks
3
+ * @kind problem
4
+ * @problem.severity warning
5
+ * @security-severity 1.0
6
+ * @sub-severity low
7
+ * @precision high
8
+ * @id go/debugging/sinks
9
+ * @tags debugging
10
+ */
11
+
12
+ import ghsl
13
+
14
+ from AllSinks sinks
15
+ select sinks , "sink[" + sinks .sinkType ( ) + "]"
Original file line number Diff line number Diff line change
1
+ /**
2
+ * @name List of all known sources (remote, local, etc.)
3
+ * @kind problem
4
+ * @problem.severity warning
5
+ * @security-severity 1.0
6
+ * @sub-severity low
7
+ * @precision high
8
+ * @id go/debugging/sources
9
+ * @tags debugging
10
+ */
11
+
12
+ import ghsl
13
+
14
+ from AllSources sources , string threatModel
15
+ where threatModel = sources .getThreatModel ( )
16
+ // Local sources
17
+ // sources.getThreatModel() = "local"
18
+ select sources , "source[" + threatModel + "]"
Original file line number Diff line number Diff line change
1
+ - description: "GitHub's Community Packs Go Debugging Suite"
2
+
3
+ - queries: '.'
4
+ from: githubsecuritylab/codeql-go-queries
5
+
6
+ - include:
7
+ kind:
8
+ - problem
9
+ - path-problem
10
+ precision:
11
+ - very-high
12
+ - high
13
+ tags contain:
14
+ - debugging
15
+
16
+ # Remove local testing folders
17
+ - exclude:
18
+ query path:
19
+ - /testing\/.*/
You can’t perform that action at this time.
0 commit comments