Last active
November 10, 2022 02:30
-
-
Save ReesMorris/6010c617f35681aaee1ea4dec74864a5 to your computer and use it in GitHub Desktop.
TypeScript Content Security Policy (CSP) Types
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Directive = | |
| 'child-src' | |
| 'connect-src' | |
| 'default-src' | |
| 'font-src' | |
| 'frame-src' | |
| 'img-src' | |
| 'manifest-src' | |
| 'media-src' | |
| 'object-src' | |
| 'prefetch-src' | |
| 'script-src' | |
| 'script-src-elem' | |
| 'script-src-attr' | |
| 'style-src' | |
| 'style-src-elem' | |
| 'style-src-attr' | |
| 'worker-src' | |
| 'base-uri' | |
| 'plugin-types' | |
| 'sandbox' | |
| 'form-action' | |
| 'frame-ancestors' | |
| 'navigate-to' | |
| 'report-uri' | |
| 'report-to' | |
| 'block-all-mixed-content' | |
| 'referrer' | |
| 'require-sri-for' | |
| 'require-trusted-types-for' | |
| 'trusted-types' | |
| 'upgrade-insecure-requests'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment