Skip to content

CodeQL

CodeQL #5

Manually triggered September 4, 2023 07:15
Status Success
Total duration 3m 22s
Artifacts

codeql-analysis.yml

on: workflow_dispatch
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Analyze (csharp): src/TBC.OpenAPI.SDK.DBI/Models/SecurityConfig.cs#L28
Do not nest type UsernameToken. Alternatively, change its accessibility so that it is not externally visible.
Analyze (csharp): src/TBC.OpenAPI.SDK.DBI/Models/ServiceConfig.cs#L11
Exception type System.Exception is not sufficiently specific
Analyze (csharp): src/TBC.OpenAPI.SDK.DBI/Models/SecurityConfig.cs#L22
In externally visible method 'SecurityConfig.SecurityConfig(SecurityCredentials securityCredentials)', validate parameter 'securityCredentials' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument.
Analyze (csharp): src/TBC.OpenAPI.SDK.DBI/Extensions/ServiceCollectionExtension.cs#L18
In externally visible method 'IServiceCollection ServiceCollectionExtension.AddDBIServices(IServiceCollection services, ServiceSettings settings)', validate parameter 'settings' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument.
Analyze (csharp): src/TBC.OpenAPI.SDK.DBI/Models/SecurityConfig.cs#L28
Do not nest type UsernameToken. Alternatively, change its accessibility so that it is not externally visible.
Analyze (csharp): src/TBC.OpenAPI.SDK.DBI/Models/ServiceConfig.cs#L11
Exception type System.Exception is not sufficiently specific
Analyze (csharp): src/TBC.OpenAPI.SDK.DBI/Models/SecurityConfig.cs#L22
In externally visible method 'SecurityConfig.SecurityConfig(SecurityCredentials securityCredentials)', validate parameter 'securityCredentials' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument.
Analyze (csharp): src/TBC.OpenAPI.SDK.DBI/Extensions/ServiceCollectionExtension.cs#L18
In externally visible method 'IServiceCollection ServiceCollectionExtension.AddDBIServices(IServiceCollection services, ServiceSettings settings)', validate parameter 'settings' is non-null before using it. If appropriate, throw an ArgumentNullException when the argument is null or add a Code Contract precondition asserting non-null argument.
Analyze (csharp): src/TBC.OpenAPI.SDK.DBI/Models/SecurityConfig.cs#L28
Do not nest type UsernameToken. Alternatively, change its accessibility so that it is not externally visible.
Analyze (csharp): src/TBC.OpenAPI.SDK.DBI/Models/ServiceConfig.cs#L11
Exception type System.Exception is not sufficiently specific