mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
fix(security): add initial support for HSTS and CSP BE-11311 (#52)
This commit is contained in:
parent
55cda8c78e
commit
9421e9d452
5 changed files with 43 additions and 24 deletions
|
@ -1653,11 +1653,15 @@ const (
|
|||
|
||||
// List of supported features
|
||||
const (
|
||||
FeatureFdo = "fdo"
|
||||
FeatureFdo = "fdo"
|
||||
FeatureHSTS = "hsts"
|
||||
FeatureCSP = "csp"
|
||||
)
|
||||
|
||||
var SupportedFeatureFlags = []featureflags.Feature{
|
||||
FeatureFdo,
|
||||
FeatureHSTS,
|
||||
FeatureCSP,
|
||||
}
|
||||
|
||||
const (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue