Skip to content

Feature/cypress antiforgery utils #14

Feature/cypress antiforgery utils

Feature/cypress antiforgery utils #14

Triggered via pull request February 18, 2025 13:09
Status Success
Total duration 1m 54s
Artifacts

build-test-security.yml

on: pull_request
build-and-test  /  build-and-test
1m 42s
build-and-test / build-and-test
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build-and-test / build-and-test: src/DfE.CoreLibs.Security/Cypress/CypressAuthenticationExtensions.cs#L24
Cannot convert null literal to non-nullable reference type.
build-and-test / build-and-test: src/DfE.CoreLibs.Security/Cypress/CypressAuthenticationHandler.cs#L35
Possible null reference argument for parameter 'value' in 'KeyValuePair<string, string>.KeyValuePair(string key, string value)'.
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/Cypress/CypressAuthenticationHandler.cs#L35
Indexing at 0 should be used instead of the "Enumerable" extension method "First" (https://rules.sonarsource.com/csharp/RSPEC-6608)
build-and-test / build-and-test: src/DfE.CoreLibs.Security/Cypress/CypressAuthenticationExtensions.cs#L24
Cannot convert null literal to non-nullable reference type.
build-and-test / build-and-test: src/DfE.CoreLibs.Security/Cypress/CypressAuthenticationHandler.cs#L35
Possible null reference argument for parameter 'value' in 'KeyValuePair<string, string>.KeyValuePair(string key, string value)'.
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/Cypress/CypressAuthenticationHandler.cs#L35
Indexing at 0 should be used instead of the "Enumerable" extension method "First" (https://rules.sonarsource.com/csharp/RSPEC-6608)