mirror of
https://github.com/github/codeql.git
synced 2025-12-20 18:56:32 +01:00
Java: Convert telemetry queries to summary metrics
Use the support for summary metrics with messages that'll be in the next version of the CodeQL CLI.
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
* @name External libraries
|
* @name External libraries
|
||||||
* @description A list of external libraries used in the code
|
* @description A list of external libraries used in the code
|
||||||
* @kind metric
|
* @kind metric
|
||||||
* @metricType callable
|
* @tags summary
|
||||||
* @id java/telemetry/external-libs
|
* @id java/telemetry/external-libs
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
/**
|
/**
|
||||||
* @name Supported sinks in external libraries
|
* @name Supported sinks in external libraries
|
||||||
* @description A list of 3rd party APIs detected as sinks. Excludes test and generated code.
|
* @description A list of 3rd party APIs detected as sinks. Excludes test and generated code.
|
||||||
* @id java/telemetry/supported-external-api-sinks
|
|
||||||
* @kind metric
|
* @kind metric
|
||||||
* @metricType callable
|
* @tags summary
|
||||||
|
* @id java/telemetry/supported-external-api-sinks
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import java
|
import java
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
/**
|
/**
|
||||||
* @name Supported sources in external libraries
|
* @name Supported sources in external libraries
|
||||||
* @description A list of 3rd party APIs detected as sources. Excludes test and generated code.
|
* @description A list of 3rd party APIs detected as sources. Excludes test and generated code.
|
||||||
* @id java/telemetry/supported-external-api-sources
|
|
||||||
* @kind metric
|
* @kind metric
|
||||||
* @metricType callable
|
* @tags summary
|
||||||
|
* @id java/telemetry/supported-external-api-sources
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import java
|
import java
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
/**
|
/**
|
||||||
* @name Supported sinks in external libraries
|
* @name Supported sinks in external libraries
|
||||||
* @description A list of 3rd party APIs detected as sinks. Excludes test and generated code.
|
* @description A list of 3rd party APIs detected as sinks. Excludes test and generated code.
|
||||||
* @id java/telemetry/supported-external-api-taint
|
|
||||||
* @kind metric
|
* @kind metric
|
||||||
* @metricType callable
|
* @tags summary
|
||||||
|
* @id java/telemetry/supported-external-api-taint
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import java
|
import java
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
/**
|
/**
|
||||||
* @name Usage of unsupported APIs coming from external libraries
|
* @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.
|
* @description A list of 3rd party APIs used in the codebase. Excludes test and generated code.
|
||||||
* @id java/telemetry/unsupported-external-api
|
|
||||||
* @kind metric
|
* @kind metric
|
||||||
* @metricType callable
|
* @tags summary
|
||||||
|
* @id java/telemetry/unsupported-external-api
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import java
|
import java
|
||||||
|
|||||||
Reference in New Issue
Block a user