Open
Description
Description
Describe your issue here.
What type of issue is this? (place an x
in one of the [ ]
)
- bug
- enhancement (feature request)
- question
- documentation related
- testing related
- discussion
Requirements (place an x
in each of the [ ]
)
- I've read and understood the Contributing guidelines and have done my best effort to follow them.
- I've read and agree to the Code of Conduct.
- I've searched for any related issues and avoided creating a duplicate issue.
Feature Request:
Being able to enable/disable nonces for each directive is really nice, but in my specific case I want to disable all usage of nonces and the list of directives is steadily growing. If csp-html-webpack-plugin
updates and adds support for a new directive, I have to remember to disable that one too, and truth be told: I'll likely forget to do that.
If the option could take a value of true
to enable all (supported) directives and false
to disable all, that'd be pretty nice :-)
As an example:
before:
nonceEnabled: {
'base-uri': false,
'child-src': false,
'connect-src': false,
'default-src': false,
'font-src': false,
'form-action': false,
'frame-ancestors': false,
'frame-src': false,
'img-src': false,
'manifest-src': false,
'media-src': false,
'object-src': false,
'script-src': false,
'style-src': false,
'trusted-types': false,
'worker-src': false
}
after:
nonceEnabled: false
Metadata
Metadata
Assignees
Labels
No labels