[PR #82] [MERGED] Feat: Update admin settings #81

Closed
opened 2026-02-27 23:18:58 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/sophos/sophos-firewall-sdk/pull/82
Author: @mamullen13316
Created: 9/18/2024
Status: Merged
Merged: 9/19/2024
Merged by: @mamullen13316

Base: mainHead: update_admin_settings


📝 Commits (2)

  • 63ca883 feat: add update methods for admin settings
  • 0917890 version: update to v0.1.53

📊 Changes

4 files changed (+307 additions, -4 deletions)

View changed files

📝 pyproject.toml (+1 -1)
📝 sophosfirewall_python/admin.py (+198 -0)
📝 sophosfirewall_python/api_client.py (+2 -1)
📝 sophosfirewall_python/firewallapi.py (+106 -2)

📄 Description

Added the following methods for working with settings under System > Administration > User and admin settings in the UI:

  • update_hostname_settings()
  • update_webadmin_settings()
  • update_loginsecurity_settings()
  • update_passwordcomplexity_settings()
  • update_login_disclaimer()

Note: The password complexity settings are for the admin user. User password complexity settings are either not yet in the API, or they are in a different location. Checking with the dev team.


🔄 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/sophos/sophos-firewall-sdk/pull/82 **Author:** [@mamullen13316](https://github.com/mamullen13316) **Created:** 9/18/2024 **Status:** ✅ Merged **Merged:** 9/19/2024 **Merged by:** [@mamullen13316](https://github.com/mamullen13316) **Base:** `main` ← **Head:** `update_admin_settings` --- ### 📝 Commits (2) - [`63ca883`](https://github.com/sophos/sophos-firewall-sdk/commit/63ca883c0863d990f8c4677212d084aa5bb51569) feat: add update methods for admin settings - [`0917890`](https://github.com/sophos/sophos-firewall-sdk/commit/0917890f5a0d7a3b7733263a8315f389e4051759) version: update to v0.1.53 ### 📊 Changes **4 files changed** (+307 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `pyproject.toml` (+1 -1) 📝 `sophosfirewall_python/admin.py` (+198 -0) 📝 `sophosfirewall_python/api_client.py` (+2 -1) 📝 `sophosfirewall_python/firewallapi.py` (+106 -2) </details> ### 📄 Description Added the following methods for working with settings under System > Administration > User and admin settings in the UI: - `update_hostname_settings()` - `update_webadmin_settings()` - `update_loginsecurity_settings()` - `update_passwordcomplexity_settings()` - `update_login_disclaimer()` Note: The password complexity settings are for the admin user. User password complexity settings are either not yet in the API, or they are in a different location. Checking with the dev team. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 23:18:58 +03:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/sophos-firewall-sdk#81
No description provided.