[PR #15683] [MERGED] Fixes #15644 - Add the ability to configure HSTS in NetBox #14642

Closed
opened 2025-12-29 23:25:42 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/15683
Author: @Julio-Oliveira-Encora
Created: 4/10/2024
Status: Merged
Merged: 4/15/2024
Merged by: @jeremystretch

Base: developHead: 15644-add_ability_to_configure_hsts


📝 Commits (3)

  • cec2ad4 Added SECURE_HSTS_SECONDSm SECURE_HSTS_INCLUDE_SUBDOMAINS, and SECURE_HSTS_PRELOAD to settings.py
  • ee1aa81 Addressed some PR comments.
  • 5b863d4 Apply suggestions from code review

📊 Changes

2 files changed (+27 additions, -0 deletions)

View changed files

📝 docs/configuration/security.md (+24 -0)
📝 netbox/netbox/settings.py (+3 -0)

📄 Description

Fixes: #15644

Added SECURE_HSTS_SECONDS, SECURE_HSTS_INCLUDE_SUBDOMAINS, and SECURE_HSTS_PRELOAD to settings.py.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/15683 **Author:** [@Julio-Oliveira-Encora](https://github.com/Julio-Oliveira-Encora) **Created:** 4/10/2024 **Status:** ✅ Merged **Merged:** 4/15/2024 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `15644-add_ability_to_configure_hsts` --- ### 📝 Commits (3) - [`cec2ad4`](https://github.com/netbox-community/netbox/commit/cec2ad48cc64c1e583b90b4e4ea9f251e673cfe9) Added SECURE_HSTS_SECONDSm SECURE_HSTS_INCLUDE_SUBDOMAINS, and SECURE_HSTS_PRELOAD to settings.py - [`ee1aa81`](https://github.com/netbox-community/netbox/commit/ee1aa8108f69ceacee6254dcb81f82d772665cd2) Addressed some PR comments. - [`5b863d4`](https://github.com/netbox-community/netbox/commit/5b863d4593ff80a60e678ff5793d359359b86091) Apply suggestions from code review ### 📊 Changes **2 files changed** (+27 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/configuration/security.md` (+24 -0) 📝 `netbox/netbox/settings.py` (+3 -0) </details> ### 📄 Description ### Fixes: #15644 Added SECURE_HSTS_SECONDS, SECURE_HSTS_INCLUDE_SUBDOMAINS, and SECURE_HSTS_PRELOAD to settings.py. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 23:25:42 +01:00
adam closed this issue 2025-12-29 23:25:43 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14642