Skip to content

Commit

Permalink
Remove unused CSP
Browse files Browse the repository at this point in the history
  • Loading branch information
nwarms committed Oct 16, 2023
1 parent 6a1bc1e commit 1f511d2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion DfE.FindInformationAcademiesTrusts/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ private static HeaderPolicyCollection GetSecurityHeaderPolicies()
.From("https://js.monitor.azure.com/scripts/b/ai.2.min.js");

Check warning on line 114 in DfE.FindInformationAcademiesTrusts/Program.cs

View workflow job for this annotation

GitHub Actions / Build .NET

Refactor your code not to use hardcoded absolute paths or URIs. (https://rules.sonarsource.com/csharp/RSPEC-1075)

Check warning on line 114 in DfE.FindInformationAcademiesTrusts/Program.cs

View workflow job for this annotation

GitHub Actions / Build .NET

Refactor your code not to use hardcoded absolute paths or URIs. (https://rules.sonarsource.com/csharp/RSPEC-1075)

Check warning on line 114 in DfE.FindInformationAcademiesTrusts/Program.cs

View workflow job for this annotation

GitHub Actions / Build .NET

Refactor your code not to use hardcoded absolute paths or URIs. (https://rules.sonarsource.com/csharp/RSPEC-1075)
cspBuilder.AddConnectSrc()
.Self()
.WithNonce()
.From("https://*.in.applicationinsights.azure.com//v2/track");

Check warning on line 117 in DfE.FindInformationAcademiesTrusts/Program.cs

View workflow job for this annotation

GitHub Actions / Build .NET

Refactor your code not to use hardcoded absolute paths or URIs. (https://rules.sonarsource.com/csharp/RSPEC-1075)

Check warning on line 117 in DfE.FindInformationAcademiesTrusts/Program.cs

View workflow job for this annotation

GitHub Actions / Build .NET

Refactor your code not to use hardcoded absolute paths or URIs. (https://rules.sonarsource.com/csharp/RSPEC-1075)

Check warning on line 117 in DfE.FindInformationAcademiesTrusts/Program.cs

View workflow job for this annotation

GitHub Actions / Build .NET

Refactor your code not to use hardcoded absolute paths or URIs. (https://rules.sonarsource.com/csharp/RSPEC-1075)
cspBuilder.AddObjectSrc().None();
cspBuilder.AddBlockAllMixedContent();
Expand Down

0 comments on commit 1f511d2

Please sign in to comment.