Skip to content

Commit 118abd4

Browse files
jbjcklin
authored andcommitted
Java: add exclude-from-incremental tag to telemetry queries
In the future, this tag should signal to the action that the queries should be excluded from incremental scans because they are too slow and/or produce too many results. The three queries tagged here rely on global data-flow analysis to find all XSS sinks. All other metric and diagnostic queries are fast enough for incrementality.
1 parent 62fa136 commit 118abd4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

java/ql/src/Telemetry/SupportedExternalApis.ql

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @name Usage of supported APIs coming from external libraries
33
* @description A list of supported 3rd party APIs used in the codebase. Excludes test and generated code.
44
* @kind metric
5-
* @tags summary telemetry
5+
* @tags summary telemetry exclude-from-incremental
66
* @id java/telemetry/supported-external-api
77
*/
88

java/ql/src/Telemetry/SupportedExternalSinks.ql

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @name Supported sinks in external libraries
33
* @description A list of 3rd party APIs detected as sinks. Excludes test and generated code.
44
* @kind metric
5-
* @tags summary telemetry
5+
* @tags summary telemetry exclude-from-incremental
66
* @id java/telemetry/supported-external-api-sinks
77
*/
88

java/ql/src/Telemetry/UnsupportedExternalAPIs.ql

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @name Usage of unsupported APIs coming from external libraries
33
* @description A list of 3rd party APIs used in the codebase. Excludes test and generated code.
44
* @kind metric
5-
* @tags summary telemetry
5+
* @tags summary telemetry exclude-from-incremental
66
* @id java/telemetry/unsupported-external-api
77
*/
88

0 commit comments

Comments
 (0)