Skip to content

Update SecurityHeadersDefinitions.cs #149

Update SecurityHeadersDefinitions.cs

Update SecurityHeadersDefinitions.cs #149

Triggered via push February 3, 2024 16:07
Status Success
Total duration 1m 15s
Artifacts

dotnet.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

38 warnings
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-dotnet@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build: DownstreamApis/WebAppUserApis/Pages/Shared/_LoginPartial.cshtml#L3
Dereference of a possibly null reference.
build: DownstreamApis/WebAppUserApis/Pages/Shared/_LoginPartial.cshtml#L3
Dereference of a possibly null reference.
build: TokenManagement/AadTokenPolicies/TokenLifetimePolicyDto.cs#L7
Non-nullable property 'Id' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: TokenManagement/AadTokenPolicies/TokenLifetimePolicyDto.cs#L9
Non-nullable property 'Definition' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: TokenManagement/AadTokenPolicies/TokenLifetimePolicyDto.cs#L11
Non-nullable property 'DisplayName' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: TokenManagement/AadTokenPolicies/PolicyAssignedApplicationsDto.cs#L5
Non-nullable property 'Id' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: TokenManagement/AadTokenPolicies/PolicyAssignedApplicationsDto.cs#L6
Non-nullable property 'AppId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: TokenManagement/AadTokenPolicies/PolicyAssignedApplicationsDto.cs#L7
Non-nullable property 'DisplayName' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: TokenManagement/AadTokenPolicies/PolicyAssignedApplicationsDto.cs#L12
Non-nullable property 'SignInAudience' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: TokenManagement/AadTokenPolicies/PolicyAssignedApplicationsDto.cs#L14
Non-nullable property 'PolicyAssigned' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: TokenManagement/Pages/AadTokenPolicies/AssignNewApplicationToPolicy.cshtml.cs#L13
Non-nullable property 'TokenLifetimePolicyDto' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: TokenManagement/Pages/AadTokenPolicies/AssignNewApplicationToPolicy.cshtml.cs#L13
Non-nullable property 'ApplicationGraphId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: ConfidentialClientCredentialsCertificate/MyServerRenderedPortal/CallApi/ClientAssertionsApiService.cs#L44
Possible null reference argument for parameter 'tenantId' in 'string ClientAssertionsApiService.GetSignedClientAssertion(X509Certificate2 certificate, string tenantId, string confidentialClientID)'.
build: ConfidentialClientCredentialsCertificate/MyServerRenderedPortal/CallApi/ClientAssertionsApiService.cs#L44
Possible null reference argument for parameter 'confidentialClientID' in 'string ClientAssertionsApiService.GetSignedClientAssertion(X509Certificate2 certificate, string tenantId, string confidentialClientID)'.
build: ConfidentialClientCredentialsCertificate/MyServerRenderedPortal/CallApi/ClientAssertionsApiService.cs#L57
Possible null reference argument for parameter 'uriString' in 'Uri.Uri(string uriString)'.
build: ConfidentialClientCredentialsCertificate/MyServerRenderedPortal/CallApi/ConfidentialClientApiService.cs#L49
Possible null reference argument for parameter 'uriString' in 'Uri.Uri(string uriString)'.
build: ConfidentialClientCredentialsCertificate/MyServerRenderedPortal/CallApi/ClientAssertionsApiService.cs#L44
Possible null reference argument for parameter 'tenantId' in 'string ClientAssertionsApiService.GetSignedClientAssertion(X509Certificate2 certificate, string tenantId, string confidentialClientID)'.
build: ConfidentialClientCredentialsCertificate/MyServerRenderedPortal/CallApi/ClientAssertionsApiService.cs#L44
Possible null reference argument for parameter 'confidentialClientID' in 'string ClientAssertionsApiService.GetSignedClientAssertion(X509Certificate2 certificate, string tenantId, string confidentialClientID)'.
build: ConfidentialClientCredentialsCertificate/MyServerRenderedPortal/CallApi/ClientAssertionsApiService.cs#L57
Possible null reference argument for parameter 'uriString' in 'Uri.Uri(string uriString)'.
build: ConfidentialClientCredentialsCertificate/MyServerRenderedPortal/CallApi/ConfidentialClientApiService.cs#L49
Possible null reference argument for parameter 'uriString' in 'Uri.Uri(string uriString)'.
build: DeviceFlowWeb/MissingSecurityHeaders.cs#L17
Use IHeaderDictionary.Append or the indexer to append or set headers. IDictionary.Add will throw an ArgumentException when attempting to add a duplicate key. (https://aka.ms/aspnet/analyzers)
build: DeviceFlowWeb/MissingSecurityHeaders.cs#L24
Use IHeaderDictionary.Append or the indexer to append or set headers. IDictionary.Add will throw an ArgumentException when attempting to add a duplicate key. (https://aka.ms/aspnet/analyzers)
build: DeviceFlowWeb/MissingSecurityHeaders.cs#L17
Use IHeaderDictionary.Append or the indexer to append or set headers. IDictionary.Add will throw an ArgumentException when attempting to add a duplicate key. (https://aka.ms/aspnet/analyzers)
build: DeviceFlowWeb/MissingSecurityHeaders.cs#L24
Use IHeaderDictionary.Append or the indexer to append or set headers. IDictionary.Add will throw an ArgumentException when attempting to add a duplicate key. (https://aka.ms/aspnet/analyzers)
build
'SignOutSessionStateManager' is obsolete: 'Use 'Microsoft.AspNetCore.Components.Webassembly.Authentication.NavigationManagerExtensions.NavigateToLogout' instead.'
build: BlazorWithApis/BlazorAzureADWithApis/Client/Pages/Authentication.razor#L6
Non-nullable property 'Action' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: BlazorWithApis/BlazorAzureADWithApis/Client/Shared/NavMenu.razor#L41
Possible null reference return.
build: BlazorWithApis/BlazorAzureADWithApis/Client/App.razor#L6
Dereference of a possibly null reference.
build
'SignOutSessionStateManager' is obsolete: 'Use 'Microsoft.AspNetCore.Components.Webassembly.Authentication.NavigationManagerExtensions.NavigateToLogout' instead.'
build: BlazorWithApis/BlazorAzureADWithApis/Client/Pages/Authentication.razor#L6
Non-nullable property 'Action' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: BlazorWithApis/BlazorAzureADWithApis/Client/Shared/NavMenu.razor#L41
Possible null reference return.
build: BlazorWithApis/BlazorAzureADWithApis/Client/App.razor#L6
Dereference of a possibly null reference.