Skip to content

Commit 17d36cf

Browse files
committed
Exclude dependency-based query from C# Code Scanning
This query overlaps with tools such as dependabot.
1 parent 041af38 commit 17d36cf

File tree

5 files changed

+11
-1
lines changed

5 files changed

+11
-1
lines changed

cpp/ql/src/codeql-suites/cpp-security-extended.qls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
- qlpack: codeql-cpp
33
- apply: security-extended-selectors.yml
44
from: codeql-suite-helpers
5-
- apply: codeql-suites/excluded-slow-queries.yml
5+
- apply: codeql-suites/exclude-slow-queries.yml
66
from: codeql-cpp

csharp/ql/src/codeql-suites/csharp-code-scanning.qls

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22
- qlpack: codeql-csharp
33
- apply: code-scanning-selectors.yml
44
from: codeql-suite-helpers
5+
- apply: codeql-suites/exclude-dependency-queries.yml
6+
from: codeql-csharp

csharp/ql/src/codeql-suites/csharp-security-and-quality.qls

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22
- qlpack: codeql-csharp
33
- apply: security-and-quality-selectors.yml
44
from: codeql-suite-helpers
5+
- apply: codeql-suites/exclude-dependency-queries.yml
6+
from: codeql-csharp

csharp/ql/src/codeql-suites/csharp-security-extended.qls

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22
- qlpack: codeql-csharp
33
- apply: security-extended-selectors.yml
44
from: codeql-suite-helpers
5+
- apply: codeql-suites/exclude-dependency-queries.yml
6+
from: codeql-csharp
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
- description: C# queries which overlap with dependency analysis
2+
- exclude:
3+
query path:
4+
- Security Features/CWE-937/VulnerablePackage.ql

0 commit comments

Comments
 (0)