Remediate Unsafe PAT Usage #3321
sonarcloud.yml
on: pull_request
check if SONAR_TOKEN is set in github secrets
0s
Build
3m 4s
Annotations
10 warnings
Build:
KnownIssuesService/Services/KnownIssuesService.cs#L82
Add logic to this catch clause or eliminate it and rethrow the exception automatically. (https://rules.sonarsource.com/csharp/RSPEC-2737)
|
Build:
KnownIssuesService/Services/KnownIssuesService.cs#L145
Refactor this method to reduce its Cognitive Complexity from 25 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
Build:
CodeSnippetsReflection.OpenAPI/LanguageGenerators/PhpGenerator.cs#L124
The switch expression does not handle all possible values of its input type (it is not exhaustive). For example, the pattern '""' is not covered.
|
Build:
CodeSnippetsReflection.OpenAPI/LanguageGenerators/PythonGenerator.cs#L81
The switch expression does not handle all possible values of its input type (it is not exhaustive). For example, the pattern '""' is not covered.
|
Build:
GraphWebApi/Startup.cs#L43
'ApplicationInsightsServiceOptions.InstrumentationKey' is obsolete: 'InstrumentationKey based global ingestion is being deprecated. Use ApplicationInsightsServiceOptions.ConnectionString. See https://github.com/microsoft/ApplicationInsights-dotnet/issues/2560 for more details.'
|
Build:
KnownIssuesService/Services/KnownIssuesService.cs#L82
Add logic to this catch clause or eliminate it and rethrow the exception automatically. (https://rules.sonarsource.com/csharp/RSPEC-2737)
|
Build:
KnownIssuesService/Services/KnownIssuesService.cs#L145
Refactor this method to reduce its Cognitive Complexity from 25 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
Build:
CodeSnippetsReflection.OpenAPI/LanguageGenerators/PhpGenerator.cs#L124
The switch expression does not handle all possible values of its input type (it is not exhaustive). For example, the pattern '""' is not covered.
|
Build:
CodeSnippetsReflection.OpenAPI/LanguageGenerators/PythonGenerator.cs#L81
The switch expression does not handle all possible values of its input type (it is not exhaustive). For example, the pattern '""' is not covered.
|
Build:
GraphWebApi/Startup.cs#L43
'ApplicationInsightsServiceOptions.InstrumentationKey' is obsolete: 'InstrumentationKey based global ingestion is being deprecated. Use ApplicationInsightsServiceOptions.ConnectionString. See https://github.com/microsoft/ApplicationInsights-dotnet/issues/2560 for more details.'
|