Skip to content
New issue

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

Adds HSTS related parameters #1209

Merged
merged 1 commit into from
Apr 23, 2024
Merged

Conversation

cimnine
Copy link
Collaborator

@cimnine cimnine commented Apr 23, 2024

Related Issue: N/A

New Behavior

HSTS and SECURE_SSL_REDIRECT can be configured via env variables. Both features are disabled by default.
See netbox-community/netbox#15644.

Contrast to Current Behavior

A custom configuration is necessary to configure these. Or a custom reverse proxy configuration.

Discussion: Benefits and Drawbacks

Makes it easier for users to use these security features.

Changes to the Wiki

n/a

Proposed Release Note Entry

Support the following env variables from NetBox. See the NetBox's Security documentation for details.

  • SECURE_HSTS_INCLUDE_SUBDOMAINS
  • SECURE_HSTS_PRELOAD
  • SECURE_HSTS_SECONDS
  • SECURE_SSL_REDIRECT

Double Check

  • I have read the comments and followed the PR template.
  • I have explained my PR according to the information in the comments.
  • My PR targets the develop branch.

@cimnine cimnine requested a review from tobiasge April 23, 2024 14:45
@cimnine cimnine self-assigned this Apr 23, 2024
@cimnine cimnine marked this pull request as ready for review April 23, 2024 14:45
@cimnine cimnine merged commit d52ef44 into netbox-community:develop Apr 23, 2024
9 checks passed
@cimnine cimnine deleted the HSTS branch April 23, 2024 19:43
@tobiasge tobiasge mentioned this pull request May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants