Skip to content

Commit 24dcc05

Browse files
author
Alvaro Muñoz
authored
Merge pull request #7 from GitHubSecurityLab/csharp_packs
Combine C# packs
2 parents 77dd288 + 5a8cfee commit 24dcc05

File tree

325 files changed

+4318
-9
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

325 files changed

+4318
-9
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
language: [ 'java', 'go' ]
15+
language: [ 'csharp', 'go', 'java' ]
1616

1717
steps:
1818
- uses: actions/checkout@v3
@@ -72,7 +72,7 @@ jobs:
7272
strategy:
7373
fail-fast: false
7474
matrix:
75-
language: [ 'java' ]
75+
language: [ 'csharp', 'java' ]
7676

7777
steps:
7878
- uses: actions/checkout@v3
@@ -110,7 +110,7 @@ jobs:
110110
strategy:
111111
fail-fast: false
112112
matrix:
113-
language: [ 'java' ]
113+
language: [ 'csharp', 'java' ]
114114

115115
steps:
116116
- uses: actions/checkout@v3

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
language: ["java"]
20+
language: ["csharp", "java"]
2121

2222
steps:
2323
- uses: actions/checkout@v3
@@ -54,7 +54,7 @@ jobs:
5454
strategy:
5555
fail-fast: false
5656
matrix:
57-
language: ["java"]
57+
language: ["csharp", "java"]
5858

5959
steps:
6060
- uses: actions/checkout@v3
@@ -87,7 +87,7 @@ jobs:
8787
strategy:
8888
fail-fast: false
8989
matrix:
90-
language: ["java"]
90+
language: ["csharp", "java"]
9191

9292
steps:
9393
- uses: actions/checkout@v3
@@ -120,7 +120,7 @@ jobs:
120120
strategy:
121121
fail-fast: false
122122
matrix:
123-
language: ["java"]
123+
language: ["csharp", "java"]
124124

125125
steps:
126126
- uses: actions/checkout@v3

codeql-workspace.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
provide:
2-
- java/**/qlpack.yml
2+
- csharp/**/qlpack.yml
33
- go/**/qlpack.yml
4+
- java/**/qlpack.yml
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
lockVersion: 1.0.0
3+
dependencies:
4+
codeql/controlflow:
5+
version: 0.0.3
6+
codeql/csharp-all:
7+
version: 0.7.4
8+
codeql/dataflow:
9+
version: 0.0.3
10+
codeql/mad:
11+
version: 0.1.4
12+
codeql/ssa:
13+
version: 0.1.4
14+
codeql/tutorial:
15+
version: 0.1.4
16+
codeql/util:
17+
version: 0.1.4
18+
compiled: false
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
extensions:
2+
- addsTo:
3+
pack: codeql/csharp-all
4+
extensible: sourceModel
5+
data:
6+
- ["Abp.Application.Services.Dto", "EntityDto", False, "EntityDto", "(System.Int32)", "", "Parameter[0]", "remote", "manual"]
7+
- ["Abp.Application.Services.Dto", "EntityDto<>", False, "EntityDto", "(TPrimaryKey)", "", "Parameter[0]", "remote", "manual"]
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
extensions:
2+
- addsTo:
3+
pack: codeql/csharp-all
4+
extensible: sourceModel
5+
data:
6+
- ["Abp.Authorization.Users", "AbpUserBase", True, "set_EmailAddress", "(System.String)", "", "Parameter[0]", "remote", "manual"]
7+
- ["Abp.Authorization.Users", "AbpUserBase", True, "set_Name", "(System.String)", "", "Parameter[0]", "remote", "manual"]
8+
- ["Abp.Authorization.Users", "AbpUserBase", True, "set_Surname", "(System.String)", "", "Parameter[0]", "remote", "manual"]
9+
- ["Abp.Authorization.Users", "AbpUserBase", True, "set_UserName", "(System.String)", "", "Parameter[0]", "remote", "manual"]
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
extensions:
2+
- addsTo:
3+
pack: codeql/csharp-all
4+
extensible: sourceModel
5+
data:
6+
- ["Abp.Authorization", "AbpLogInManager<,,>", False, "LoginAsync", "(System.String,System.String,System.String,System.Boolean)", "", "Parameter[0]", "remote", "manual"]
7+
- ["Abp.Authorization", "AbpLogInManager<,,>", False, "LoginAsync", "(System.String,System.String,System.String,System.Boolean)", "", "Parameter[1]", "remote", "manual"]
8+
- ["Abp.Authorization", "AbpSignInManager<,,>", False, "SignInAsync", "(System.Security.Claims.ClaimsIdentity,System.Boolean)", "", "Parameter[1]", "remote", "manual"]
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
extensions:
2+
- addsTo:
3+
pack: codeql/csharp-all
4+
extensible: sourceModel
5+
data:
6+
- ["Abp.Extensions", "StringExtensions", False, "IsNullOrEmpty", "(System.String)", "", "Parameter[0]", "remote", "manual"]
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
extensions:
2+
- addsTo:
3+
pack: codeql/csharp-all
4+
extensible: sourceModel
5+
data:
6+
- ["Abp.Notifications", "MessageNotificationData", False, "MessageNotificationData", "(System.String)", "", "Parameter[0]", "remote", "manual"]
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
extensions:
2+
- addsTo:
3+
pack: codeql/csharp-all
4+
extensible: sourceModel
5+
data:
6+
- ["Abp.Runtime.Security", "SimpleStringCipher", False, "Decrypt", "(System.String,System.String,System.Byte[],System.Nullable<System.Int32>,System.Byte[])", "", "Parameter[0]", "remote", "manual"]
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
extensions:
2+
- addsTo:
3+
pack: codeql/csharp-all
4+
extensible: sourceModel
5+
data:
6+
- ["Abp.Web.Models", "AjaxResponseBase", False, "set_TargetUrl", "(System.String)", "", "Parameter[0]", "remote", "manual"]
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
extensions:
2+
- addsTo:
3+
pack: codeql/csharp-all
4+
extensible: sourceModel
5+
data:
6+
- ["Abp", "AbpServiceBase", True, "L", "(System.String,System.Object[])", "", "Parameter[1]", "remote", "manual"]
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
extensions:
2+
- addsTo:
3+
pack: codeql/csharp-all
4+
extensible: sourceModel
5+
data:
6+
- ["AgileHttp", "ExtMethods", False, "AsHttp", "(System.String,System.String,System.Object)", "", "Parameter[0]", "remote", "manual"]
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
extensions:
2+
- addsTo:
3+
pack: codeql/csharp-all
4+
extensible: sourceModel
5+
data:
6+
- ["Alipay.AopSdk.Core.Domain", "AlipayTradePagePayModel", False, "set_OutTradeNo", "(System.String)", "", "Parameter[0]", "remote", "manual"]
7+
- ["Alipay.AopSdk.Core.Domain", "AlipayTradeRefundModel", False, "set_RefundReason", "(System.String)", "", "Parameter[0]", "remote", "manual"]
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
extensions:
2+
- addsTo:
3+
pack: codeql/csharp-all
4+
extensible: sourceModel
5+
data:
6+
- ["Alipay.AopSdk.Core.Request", "AlipayTradePagePayRequest", False, "SetNotifyUrl", "(System.String)", "", "Parameter[0]", "remote", "manual"]
7+
- ["Alipay.AopSdk.Core.Request", "AlipayTradePagePayRequest", False, "SetReturnUrl", "(System.String)", "", "Parameter[0]", "remote", "manual"]
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
extensions:
2+
- addsTo:
3+
pack: codeql/csharp-all
4+
extensible: sourceModel
5+
data:
6+
- ["Aliyun.OSS", "ListObjectsRequest", False, "set_Prefix", "(System.String)", "", "Parameter[0]", "remote", "manual"]
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
extensions:
2+
- addsTo:
3+
pack: codeql/csharp-all
4+
extensible: sourceModel
5+
data:
6+
- ["Altinn.Platform.Storage.Interface.Models", "Application", False, "set_Id", "(System.String)", "", "Parameter[0]", "remote", "manual"]
7+
- ["Altinn.Platform.Storage.Interface.Models", "Application", False, "set_Org", "(System.String)", "", "Parameter[0]", "remote", "manual"]
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
extensions:
2+
- addsTo:
3+
pack: codeql/csharp-all
4+
extensible: sourceModel
5+
data:
6+
- ["Amazon.DynamoDBv2.DataModel", "DynamoDBContext", False, "SaveAsync<>", "(T,System.Threading.CancellationToken)", "", "Parameter[1]", "remote", "manual"]
7+
- ["Amazon.DynamoDBv2.DataModel", "DynamoDBContext", False, "DeleteAsync<>", "(T,System.Threading.CancellationToken)", "", "Parameter[1]", "remote", "manual"]
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
extensions:
2+
- addsTo:
3+
pack: codeql/csharp-all
4+
extensible: sourceModel
5+
data:
6+
- ["Amazon.DynamoDBv2.Model", "AttributeValue", False, "AttributeValue", "(System.String)", "", "Parameter[0]", "remote", "manual"]
7+
- ["Amazon.DynamoDBv2.Model", "AttributeValue", False, "set_S", "(System.String)", "", "Parameter[0]", "remote", "manual"]
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
extensions:
2+
- addsTo:
3+
pack: codeql/csharp-all
4+
extensible: sourceModel
5+
data:
6+
- ["Amazon.DynamoDBv2", "IAmazonDynamoDB", True, "TransactWriteItemsAsync", "(Amazon.DynamoDBv2.Model.TransactWriteItemsRequest,System.Threading.CancellationToken)", "", "Parameter[1]", "remote", "manual"]
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
extensions:
2+
- addsTo:
3+
pack: codeql/csharp-all
4+
extensible: sourceModel
5+
data:
6+
- ["Amazon.Runtime.Internal.Util", "Logger", False, "DebugFormat", "(System.String,System.Object[])", "", "Parameter[3]", "remote", "manual"]
7+
- ["Amazon.Runtime.Internal.Util", "Logger", False, "DebugFormat", "(System.String,System.Object[])", "", "Parameter[2]", "remote", "manual"]
8+
- ["Amazon.Runtime.Internal.Util", "Logger", False, "DebugFormat", "(System.String,System.Object[])", "", "Parameter[1]", "remote", "manual"]
9+
- ["Amazon.Runtime.Internal.Util", "Logger", False, "Error", "(System.Exception,System.String,System.Object[])", "", "Parameter[7]", "remote", "manual"]
10+
- ["Amazon.Runtime.Internal.Util", "Logger", False, "Error", "(System.Exception,System.String,System.Object[])", "", "Parameter[6]", "remote", "manual"]
11+
- ["Amazon.Runtime.Internal.Util", "Logger", False, "Error", "(System.Exception,System.String,System.Object[])", "", "Parameter[9]", "remote", "manual"]
12+
- ["Amazon.Runtime.Internal.Util", "Logger", False, "Error", "(System.Exception,System.String,System.Object[])", "", "Parameter[8]", "remote", "manual"]
13+
- ["Amazon.Runtime.Internal.Util", "Logger", False, "Error", "(System.Exception,System.String,System.Object[])", "", "Parameter[5]", "remote", "manual"]
14+
- ["Amazon.Runtime.Internal.Util", "Logger", False, "Error", "(System.Exception,System.String,System.Object[])", "", "Parameter[2]", "remote", "manual"]
15+
- ["Amazon.Runtime.Internal.Util", "Logger", False, "Debug", "(System.Exception,System.String,System.Object[])", "", "Parameter[2]", "remote", "manual"]
16+
- ["Amazon.Runtime.Internal.Util", "Logger", False, "DebugFormat", "(System.String,System.Object[])", "", "Parameter[4]", "remote", "manual"]
17+
- ["Amazon.Runtime.Internal.Util", "Logger", False, "Error", "(System.Exception,System.String,System.Object[])", "", "Parameter[10]", "remote", "manual"]
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
extensions:
2+
- addsTo:
3+
pack: codeql/csharp-all
4+
extensible: sourceModel
5+
data:
6+
- ["Amazon.S3.Model", "DeleteObjectRequest", False, "set_Key", "(System.String)", "", "Parameter[0]", "remote", "manual"]
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
extensions:
2+
- addsTo:
3+
pack: codeql/csharp-all
4+
extensible: sourceModel
5+
data:
6+
- ["Amazon.SQS.Model", "SendMessageRequest", False, "SendMessageRequest", "(System.String,System.String)", "", "Parameter[1]", "remote", "manual"]
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
extensions:
2+
- addsTo:
3+
pack: codeql/csharp-all
4+
extensible: sourceModel
5+
data:
6+
- ["Ardalis.GuardClauses", "GuardClauseExtensions", False, "Zero", "(Ardalis.GuardClauses.IGuardClause,System.Int32,System.String,System.String)", "", "Parameter[1]", "remote", "manual"]
7+
- ["Ardalis.GuardClauses", "GuardClauseExtensions", False, "NullOrEmpty", "(Ardalis.GuardClauses.IGuardClause,System.String,System.String,System.String)", "", "Parameter[1]", "remote", "manual"]
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
extensions:
2+
- addsTo:
3+
pack: codeql/csharp-all
4+
extensible: sourceModel
5+
data:
6+
- ["Ardalis.Specification", "IReadRepositoryBase<>", True, "GetByIdAsync<>", "(TId,System.Threading.CancellationToken)", "", "Parameter[0]", "remote", "manual"]
7+
- ["Ardalis.Specification", "IReadRepositoryBase<>", True, "GetByIdAsync<>", "(TId,System.Threading.CancellationToken)", "", "Parameter[1]", "remote", "manual"]
8+
- ["Ardalis.Specification", "IReadRepositoryBase<>", True, "FirstOrDefaultAsync", "(Ardalis.Specification.ISpecification<T>,System.Threading.CancellationToken)", "", "Parameter[1]", "remote", "manual"]
9+
- ["Ardalis.Specification", "IReadRepositoryBase<>", True, "ListAsync", "(System.Threading.CancellationToken)", "", "Parameter[0]", "remote", "manual"]
10+
- ["Ardalis.Specification", "IRepositoryBase<>", True, "AddAsync", "(T,System.Threading.CancellationToken)", "", "Parameter[1]", "remote", "manual"]
11+
- ["Ardalis.Specification", "IRepositoryBase<>", True, "DeleteAsync", "(T,System.Threading.CancellationToken)", "", "Parameter[1]", "remote", "manual"]
12+
- ["Ardalis.Specification", "IRepositoryBase<>", True, "UpdateAsync", "(T,System.Threading.CancellationToken)", "", "Parameter[1]", "remote", "manual"]
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
extensions:
2+
- addsTo:
3+
pack: codeql/csharp-all
4+
extensible: sourceModel
5+
data:
6+
- ["AutoFixture.Dsl", "IPostprocessComposer<>", True, "With<>", "(System.Linq.Expressions.Expression<System.Func<T,TProperty>>,TProperty)", "", "Parameter[1]", "remote", "manual"]
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
extensions:
2+
- addsTo:
3+
pack: codeql/csharp-all
4+
extensible: sourceModel
5+
data:
6+
- ["AutoMapper", "IMapperBase", True, "Map<>", "(System.Object)", "", "Parameter[0]", "remote", "manual"]
7+
- ["AutoMapper", "IMapperBase", True, "Map<,>", "(TSource,TDestination)", "", "Parameter[0]", "remote", "manual"]
8+
- ["AutoMapper", "IMapperBase", True, "Map<,>", "(TSource)", "", "Parameter[0]", "remote", "manual"]
9+
- ["AutoMapper", "IMapperBase", True, "Map<,>", "(TSource,TDestination)", "", "Parameter[1]", "remote", "manual"]
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
extensions:
2+
- addsTo:
3+
pack: codeql/csharp-all
4+
extensible: sourceModel
5+
data:
6+
- ["Avalara.AvaTax.RestClient", "AvaTaxClient", False, "DownloadCertificateImage", "(System.Int32,System.Int32,System.Nullable<System.Int32>,System.Nullable<Avalara.AvaTax.RestClient.CertificatePreviewType>)", "", "Parameter[1]", "remote", "manual"]

0 commit comments

Comments
 (0)