Skip to content

Added CypressAuth extension and Cypress aware antiForgery logic #12

Added CypressAuth extension and Cypress aware antiForgery logic

Added CypressAuth extension and Cypress aware antiForgery logic #12

Triggered via pull request February 17, 2025 17:50
Status Success
Total duration 1m 36s
Artifacts

build-test-security.yml

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

Annotations

11 warnings
build-and-test / build-and-test
Cache not found for keys: Linux-sonar, Linux-sonar
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/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/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/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/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/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)