fix(csp): add exceptions for ANDI A11y Tool #8542
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
We helped the ITAP team over in RegTech make some exceptions to our CSP during testing so they could use the ANDI accessibility tool for their accessibility audits, and they were hoping they could also run it on cf.gov. This PR adds the few CSP tweaks they need for the tool to start working.
You can see the current CSP issues by following the "How to test this PR" steps or take a peek at the screenshots.
Closes #8541
Notes and todos
Test this out in a dev environmentHave someone from ITAP confirm that it's working as expectedTalk to someone from D+D about the Akamai shenanigans that need to be done before this change could go liveChecked with Wyatt about the CSPAdditions
How to test this PR
Screenshots
Before
![Screenshot 2024-08-22 at 4 56 16 AM](https://private-user-images.githubusercontent.com/19983248/360419613-b966cf87-a700-4e28-ba59-ae7a2d3198a7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MTc1NTksIm5iZiI6MTczOTYxNzI1OSwicGF0aCI6Ii8xOTk4MzI0OC8zNjA0MTk2MTMtYjk2NmNmODctYTcwMC00ZTI4LWJhNTktYWU3YTJkMzE5OGE3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDExMDA1OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWNhM2M3ZGJiM2QzYTIwNmFhY2VkYTc4ZWU5YTgxYTQyY2JiNmM4MmZmN2U5NmFiMDllOTYyNjRkYTk2ZTM0MzcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.BIMWkAFCUAA5KauHMLZ4GzAD9mdXKC2fxvKWbiF4xL4)
After