Skip to content

Add content-security-policy by default #292

Closed
@raffis

Description

@raffis

Describe the change

Add a default csp to allow only internal resources but block anything else.

Current situation

There is no csp by default. Deployments required to add these to traffic proxies (ingresses).

Should

nginx add headers:

add_header X-Frame-Options SAMEORIGIN;
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
add_header Content-Security-Policy "default-src 'self' 'unsafe-inline' 'unsafe-eval' data:;";

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions