Skip to content

Commit 1729319

Browse files
authored
Merge pull request #11804 from michaelnebel/csharp/alignqueryids
C#: Align query IDs.
2 parents 18a0abd + 9d608a7 commit 1729319

File tree

12 files changed

+15
-11
lines changed

12 files changed

+15
-11
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
category: minorAnalysis
3+
---
4+
* Query id's have been aligned such that they are prefixed with `cs` instead of `csharp`.

csharp/ql/src/Metrics/Summaries/FrameworkCoverage.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @id csharp/summary/framework-coverage
2+
* @id cs/summary/framework-coverage
33
* @name Metrics of framework coverage
44
* @description Expose metrics for the number of API endpoints covered by CSV models.
55
* @kind metric

csharp/ql/src/Metrics/internal/ExtractorDiagnostics.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @name Extractor diagnostics
33
* @description This query is for internal use only and may change without notice.
44
* @kind table
5-
* @id csharp/extractor-diagnostics
5+
* @id cs/extractor-diagnostics
66
*/
77

88
import csharp

csharp/ql/src/Telemetry/ExternalLibraryUsage.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @description A list of external libraries used in the code given by their namespace.
44
* @kind metric
55
* @tags summary telemetry
6-
* @id csharp/telemetry/external-libs
6+
* @id cs/telemetry/external-libs
77
*/
88

99
private import csharp

csharp/ql/src/Telemetry/SupportedExternalApis.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @description A list of supported 3rd party APIs used in the codebase. Excludes APIs exposed by test libraries.
44
* @kind metric
55
* @tags summary telemetry
6-
* @id csharp/telemetry/supported-external-api
6+
* @id cs/telemetry/supported-external-api
77
*/
88

99
private import csharp

csharp/ql/src/Telemetry/SupportedExternalSinks.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @description A list of 3rd party APIs detected as sinks. Excludes APIs exposed by test libraries.
44
* @kind metric
55
* @tags summary telemetry
6-
* @id csharp/telemetry/supported-external-api-sinks
6+
* @id cs/telemetry/supported-external-api-sinks
77
*/
88

99
private import csharp

csharp/ql/src/Telemetry/SupportedExternalSources.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @description A list of 3rd party APIs detected as sources. Excludes APIs exposed by test libraries.
44
* @kind metric
55
* @tags summary telemetry
6-
* @id csharp/telemetry/supported-external-api-sources
6+
* @id cs/telemetry/supported-external-api-sources
77
*/
88

99
private import csharp

csharp/ql/src/Telemetry/SupportedExternalTaint.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @description A list of 3rd party APIs detected as flow steps. Excludes APIs exposed by test libraries.
44
* @kind metric
55
* @tags summary telemetry
6-
* @id csharp/telemetry/supported-external-api-taint
6+
* @id cs/telemetry/supported-external-api-taint
77
*/
88

99
private import csharp

csharp/ql/src/Telemetry/UnsupportedExternalAPIs.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @description A list of 3rd party APIs used in the codebase. Excludes APIs exposed by test libraries.
44
* @kind metric
55
* @tags summary telemetry
6-
* @id csharp/telemetry/unsupported-external-api
6+
* @id cs/telemetry/unsupported-external-api
77
*/
88

99
private import csharp

csharp/ql/src/meta/frameworks/UnsupportedExternalAPIs.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* @kind problem
55
* @problem.severity recommendation
66
* @tags meta
7-
* @id csharp/meta/unsupported-external-api
7+
* @id cs/meta/unsupported-external-api
88
* @precision very-low
99
*/
1010

csharp/ql/src/utils/model-generator/CaptureDiscardedSummaryModels.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @name Capture discarded summary models.
33
* @description Finds summary models that are discarded as handwritten counterparts exist.
4-
* @id csharp/utils/model-generator/discarded-summary-models
4+
* @id cs/utils/model-generator/discarded-summary-models
55
*/
66

77
import semmle.code.csharp.dataflow.ExternalFlow

csharp/ql/src/utils/modelconverter/ExtractNeutrals.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @name Extract MaD neutral model rows.
33
* @description This extracts the Models as data neutral model rows.
4-
* @id csharp/utils/modelconverter/generate-data-extensions-neutral
4+
* @id cs/utils/modelconverter/generate-data-extensions-neutral
55
*/
66

77
import csharp

0 commit comments

Comments
 (0)