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.
This commit is contained in:
Jonas Jensen
2025-04-02 14:19:45 -07:00
committed by Chuan-kai Lin
parent 62fa136506
commit 118abd40c9
3 changed files with 3 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
* @name Usage of unsupported APIs coming from external libraries
* @description A list of 3rd party APIs used in the codebase. Excludes test and generated code.
* @kind metric
* @tags summary telemetry
* @tags summary telemetry exclude-from-incremental
* @id java/telemetry/unsupported-external-api
*/