Added more test to the Security package #5
build-test-security.yml
on: pull_request
build-and-test
/
build-and-test
1m 27s
Annotations
6 warnings
build-and-test / build-and-test:
src/DfE.CoreLibs.Security/Authorization/ApiOboTokenService.cs#L43
Change this condition so that it does not always evaluate to 'False'. (https://rules.sonarsource.com/csharp/RSPEC-2589)
|
build-and-test / build-and-test:
src/DfE.CoreLibs.Security/Authorization/Events/RejectSessionCookieWhenAccountNotInCacheEvents.cs#L56
Either log this exception and handle it, or rethrow it with some contextual information. (https://rules.sonarsource.com/csharp/RSPEC-2139)
|
build-and-test / build-and-test:
src/DfE.CoreLibs.Security/Authorization/AuthorizationExtensions.cs#L25
Refactor this method to reduce its Cognitive Complexity from 41 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
build-and-test / build-and-test:
src/DfE.CoreLibs.Security/Authorization/ApiOboTokenService.cs#L43
Change this condition so that it does not always evaluate to 'False'. (https://rules.sonarsource.com/csharp/RSPEC-2589)
|
build-and-test / build-and-test:
src/DfE.CoreLibs.Security/Authorization/Events/RejectSessionCookieWhenAccountNotInCacheEvents.cs#L56
Either log this exception and handle it, or rethrow it with some contextual information. (https://rules.sonarsource.com/csharp/RSPEC-2139)
|
build-and-test / build-and-test:
src/DfE.CoreLibs.Security/Authorization/AuthorizationExtensions.cs#L25
Refactor this method to reduce its Cognitive Complexity from 41 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|