-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmanifest.yml
30 lines (30 loc) · 1.38 KB
/
manifest.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: netlify-csp-generator
inputs:
- name: buildDir
description: Publish directory. Defaults to Netlify's publish directory.
- name: exclude
default: []
- name: policies
description: Content-Security-Policy separated by keys. Possible options are defaultSrc, childSrc, connectSrc, fontSrc, frameSrc, imgSrc, manifestSrc, mediaSrc, objectSrc, scriptSrc, scriptSrcElem, scriptSrcAttr, styleSrc, styleSrcElem, styleSrcAttr, workerSrc, baseUri, formAction, frameAncestors
default: {}
- name: disablePolicies
description: Array of policy keys that shouldn't ever be set.
default: []
- name: disableGeneratedPolicies
description: Array of policy keys that shouldn't ever be computed. Useful for disabling script-src or style-src generation.
default: []
- name: reportOnly
description: Boolean value for whether policy should be set to report only, instead of blocking violations.
default: false
- name: reportURI
description: URL to report violations to.
default: ''
- name: reportTo
description: Reporting-Endpoints group name to report violations to.
default: ''
- name: generateForAllFiles
description: Generate Content-Security-Policy headers for all file extensions. The alternative is to only generate for HTML files.
default: false
- name: debug
description: Log path-matching information to the console.
default: false