We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The current module doesn't support content security policy settings.
Support for setting the content security policy settings
From: https://docs.gitlab.com/omnibus/settings/configuration.html#set-a-content-security-policy
Basic example (by default it is disabled)
gitlab_rails['content_security_policy'] = { enabled: true, report_only: false }
Supported directives:
gitlab_rails['content_security_policy'] = { 'enabled' => false, 'report_only' => false, # Each directive is a String (e.g. "'self'"). # This section only needs to be set if you need custom CSP directives # See https://docs.gitlab.com/omnibus/settings/configuration.html#set-a-content-security-policy 'directives' => { 'base_uri' => nil, 'child_src' => nil, 'connect_src' => nil, 'default_src' => nil, 'font_src' => nil, 'form_action' => nil, 'frame_ancestors' => nil, 'frame_src' => nil, 'img_src' => nil, 'manifest_src' => nil, 'media_src' => nil, 'object_src' => nil, 'script_src' => nil, 'style_src' => nil, 'worker_src' => nil, 'report_uri' => nil, } }
The text was updated successfully, but these errors were encountered:
Looks like it's already possible via something like:
# CSP settings 'content_security_policy' => { 'enabled' => true, 'directives' => { 'frame_ancestors' => 'self' } }
Sorry, puppet newbie here.
Sorry, something went wrong.
No branches or pull requests
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
The current module doesn't support content security policy settings.
What are you seeing
The current module doesn't support content security policy settings.
What behaviour did you expect instead
Support for setting the content security policy settings
Any additional information you'd like to impart
From: https://docs.gitlab.com/omnibus/settings/configuration.html#set-a-content-security-policy
Basic example (by default it is disabled)
Supported directives:
The text was updated successfully, but these errors were encountered: