mirror of
https://github.com/sophos/sophos-firewall-sdk.git
synced 2026-04-27 00:25:49 +03:00
[PR #82] [MERGED] Feat: Update admin settings #81
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/sophos-firewall-sdk#81
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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:
main← Head:update_admin_settings📝 Commits (2)
63ca883feat: add update methods for admin settings0917890version: 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.