diff --git a/cisco_sccfm_core/constants.py b/cisco_sccfm_core/constants.py index 20ba29e1..f17a365b 100644 --- a/cisco_sccfm_core/constants.py +++ b/cisco_sccfm_core/constants.py @@ -8,7 +8,7 @@ from scc_firewall_manager_sdk import EntityType -SCCFM_REGIONS = ("int", "us", "eu", "apj", "au", "uae", "in", "ci") +SCCFM_REGIONS = ("int", "us", "eu", "apj", "au", "uae", "in", "ci", "scale") SCCFM_REGION_ALIASES = {"aus": "au"} SCCFM_REGION_CHOICES = SCCFM_REGIONS + tuple(SCCFM_REGION_ALIASES) diff --git a/cisco_sccfm_core/factories/api_client_factory.py b/cisco_sccfm_core/factories/api_client_factory.py index c4d9f74c..149b0369 100644 --- a/cisco_sccfm_core/factories/api_client_factory.py +++ b/cisco_sccfm_core/factories/api_client_factory.py @@ -2,12 +2,15 @@ # # SPDX-License-Identifier: Apache-2.0 +from __future__ import annotations + from scc_firewall_manager_sdk import ApiClient, Configuration from cisco_sccfm_core.types import ConfigLike _REGION_HOSTS: dict[str, str] = { "ci": "https://ci.manage.security.cisco.com/api/rest", + "scale": "https://scale.manage.security.cisco.com/api/rest", } _DEFAULT_HOST_TEMPLATE = "https://api.{region}.security.cisco.com/firewall" diff --git a/sccfm-ansible/CHANGELOG.rst b/sccfm-ansible/CHANGELOG.rst index cef0347c..a775f18f 100644 --- a/sccfm-ansible/CHANGELOG.rst +++ b/sccfm-ansible/CHANGELOG.rst @@ -4,6 +4,15 @@ Cisco SCCFM Collection Release Notes .. contents:: Topics +v0.45.0 +======== + +Minor Changes +------------- + +- Added support for the Scale application environment in API client and Ansible module + configuration. + v0.44.2 ======== diff --git a/sccfm-ansible/changelogs/changelog.yaml b/sccfm-ansible/changelogs/changelog.yaml index 3ed04fb1..250bfb0c 100644 --- a/sccfm-ansible/changelogs/changelog.yaml +++ b/sccfm-ansible/changelogs/changelog.yaml @@ -2,6 +2,13 @@ ancestor: null # sccfm-release-retarget-seed: 0.39.0 releases: + 0.45.0: + changes: + minor_changes: + - Added support for the Scale application environment in API client and Ansible + module configuration. + fragments: [] + release_date: '2026-12-04' 0.44.2: changes: bugfixes: diff --git a/sccfm-ansible/plugins/module_utils/config.py b/sccfm-ansible/plugins/module_utils/config.py index 39ae1445..09a424c8 100644 --- a/sccfm-ansible/plugins/module_utils/config.py +++ b/sccfm-ansible/plugins/module_utils/config.py @@ -18,7 +18,7 @@ if TYPE_CHECKING: from ansible.module_utils.basic import AnsibleModule -ALLOWED_REGIONS = ("int", "us", "eu", "apj", "au", "uae", "in", "ci") +ALLOWED_REGIONS = ("int", "us", "eu", "apj", "au", "uae", "in", "ci", "scale") REGION_ALIASES = {"aus": "au"} ALLOWED_REGIONS_TEXT = ", ".join(ALLOWED_REGIONS)