Skip to content

Commit 3913751

Browse files
authored
Merge pull request github#3736 from rneatherway/exclude-cs-vulnerable-package
Exclude dependency-based query from C# Code Scanning
2 parents 7a5aae7 + 17d36cf commit 3913751

File tree

4 files changed

+10
-0
lines changed

4 files changed

+10
-0
lines changed

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)