zscaler-sdk-python 0.1.5__tar.gz → 0.1.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/PKG-INFO +2 -1
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/README.md +1 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/pyproject.toml +1 -1
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/__init__.py +1 -1
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zpa/policies.py +35 -2
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/LICENSE.md +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/cache/__init__.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/cache/cache.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/cache/no_op_cache.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/cache/zscaler_cache.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/constants.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/errors/__init__.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/errors/error.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/errors/http_error.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/errors/zscaler_api_error.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/exceptions/__init__.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/exceptions/exceptions.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/logger.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/ratelimiter/__init__.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/ratelimiter/ratelimiter.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/user_agent.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/utils.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zia/__init__.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zia/activate.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zia/admin_and_role_management.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zia/apptotal.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zia/audit_logs.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zia/authentication_settings.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zia/client.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zia/cloud_apps.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zia/device_management.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zia/dlp.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zia/errors.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zia/firewall.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zia/forwarding_control.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zia/isolation_profile.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zia/labels.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zia/locations.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zia/sandbox.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zia/security.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zia/ssl_inspection.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zia/traffic.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zia/url_categories.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zia/url_filtering.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zia/users.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zia/web_dlp.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zia/workload_groups.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zia/zpa_gateway.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zpa/README.md +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zpa/__init__.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zpa/app_segments.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zpa/app_segments_inspection.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zpa/app_segments_pra.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zpa/certificates.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zpa/client.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zpa/cloud_connector_groups.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zpa/connectors.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zpa/emergency_access.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zpa/errors.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zpa/idp.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zpa/inspection.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zpa/isolation_profile.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zpa/lss.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zpa/machine_groups.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zpa/posture_profiles.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zpa/privileged_remote_access.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zpa/provisioning.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zpa/saml_attributes.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zpa/scim_attributes.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zpa/scim_groups.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zpa/segment_groups.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zpa/server_groups.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zpa/servers.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zpa/service_edges.py +0 -0
- {zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zpa/trusted_networks.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: zscaler-sdk-python
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.6
|
|
4
4
|
Summary: Official Python SDK for the Zscaler Products (Beta)
|
|
5
5
|
Home-page: https://github.com/zscaler/zscaler-sdk-python
|
|
6
6
|
License: MIT
|
|
@@ -54,6 +54,7 @@ Description-Content-Type: text/markdown
|
|
|
54
54
|
[](https://zscaler-sdk-python.readthedocs.io/en/latest/?badge=latest)
|
|
55
55
|
[](https://pypi.org/project/zscaler-sdk-python)
|
|
56
56
|
[](https://pypi.python.org/pypi/zscaler-sdk-python/)
|
|
57
|
+
[](https://codecov.io/gh/zscaler/zscaler-sdk-python)
|
|
57
58
|
[](https://community.zscaler.com/)
|
|
58
59
|
|
|
59
60
|
## Support Disclaimer
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
[](https://zscaler-sdk-python.readthedocs.io/en/latest/?badge=latest)
|
|
6
6
|
[](https://pypi.org/project/zscaler-sdk-python)
|
|
7
7
|
[](https://pypi.python.org/pypi/zscaler-sdk-python/)
|
|
8
|
+
[](https://codecov.io/gh/zscaler/zscaler-sdk-python)
|
|
8
9
|
[](https://community.zscaler.com/)
|
|
9
10
|
|
|
10
11
|
## Support Disclaimer
|
|
@@ -34,12 +34,16 @@ class PolicySetsAPI:
|
|
|
34
34
|
"client_forwarding": "CLIENT_FORWARDING_POLICY",
|
|
35
35
|
"isolation": "ISOLATION_POLICY",
|
|
36
36
|
"inspection": "INSPECTION_POLICY",
|
|
37
|
+
"redirection": "REDIRECTION_POLICY",
|
|
38
|
+
"credential": "CREDENTIAL_POLICY",
|
|
39
|
+
"capabilities": "CAPABILITIES_POLICY",
|
|
37
40
|
"siem": "SIEM_POLICY",
|
|
38
41
|
}
|
|
39
42
|
|
|
40
43
|
reformat_params = [
|
|
41
44
|
("app_server_group_ids", "appServerGroups"),
|
|
42
45
|
("app_connector_group_ids", "appConnectorGroups"),
|
|
46
|
+
("service_edge_group_ids", "serviceEdgeGroups"),
|
|
43
47
|
]
|
|
44
48
|
|
|
45
49
|
@staticmethod
|
|
@@ -148,7 +152,13 @@ class PolicySetsAPI:
|
|
|
148
152
|
| ``access``
|
|
149
153
|
| ``timeout``
|
|
150
154
|
| ``client_forwarding``
|
|
155
|
+
| ``isolation``
|
|
156
|
+
| ``inspection``
|
|
157
|
+
| ``redirection``
|
|
158
|
+
| ``credential``
|
|
159
|
+
| ``capabilities``
|
|
151
160
|
| ``siem``
|
|
161
|
+
|
|
152
162
|
rule_id (str): The unique identifier for the policy rule.
|
|
153
163
|
|
|
154
164
|
Returns:
|
|
@@ -197,7 +207,12 @@ class PolicySetsAPI:
|
|
|
197
207
|
| ``access`` - returns Access Policy rules
|
|
198
208
|
| ``timeout`` - returns Timeout Policy rules
|
|
199
209
|
| ``client_forwarding`` - returns Client Forwarding Policy rules
|
|
200
|
-
|
|
210
|
+
| ``isolation`` - returns Isolation Policy rules
|
|
211
|
+
| ``inspection`` - returns Inspection Policy rules
|
|
212
|
+
| ``redirection`` - returns Redirection Policy rules
|
|
213
|
+
| ``credential`` - returns Credential Policy rules
|
|
214
|
+
| ``capabilities`` - returns Capabilities Policy rules
|
|
215
|
+
| ``siem`` - returns SIEM Policy rules
|
|
201
216
|
Returns:
|
|
202
217
|
:obj:`list`: A list of all policy rules that match the requested type.
|
|
203
218
|
|
|
@@ -234,7 +249,13 @@ class PolicySetsAPI:
|
|
|
234
249
|
| ``access``
|
|
235
250
|
| ``timeout``
|
|
236
251
|
| ``client_forwarding``
|
|
252
|
+
| ``isolation``
|
|
253
|
+
| ``inspection``
|
|
254
|
+
| ``redirection``
|
|
255
|
+
| ``credential``
|
|
256
|
+
| ``capabilities``
|
|
237
257
|
| ``siem``
|
|
258
|
+
|
|
238
259
|
rule_id (str):
|
|
239
260
|
The unique identifier for the policy rule.
|
|
240
261
|
|
|
@@ -753,6 +774,12 @@ class PolicySetsAPI:
|
|
|
753
774
|
| ``access``
|
|
754
775
|
| ``timeout``
|
|
755
776
|
| ``client_forwarding``
|
|
777
|
+
| ``isolation``
|
|
778
|
+
| ``inspection``
|
|
779
|
+
| ``redirection``
|
|
780
|
+
| ``credential``
|
|
781
|
+
| ``capabilities``
|
|
782
|
+
| ``siem``
|
|
756
783
|
|
|
757
784
|
Returns:
|
|
758
785
|
:obj:`Box`: The updated policy rule resource record.
|
|
@@ -768,7 +795,7 @@ class PolicySetsAPI:
|
|
|
768
795
|
# Get policy id for specified policy type
|
|
769
796
|
policy_id = self.get_policy(policy_type).id
|
|
770
797
|
|
|
771
|
-
resp = self.
|
|
798
|
+
resp = self.rest.put(f"policySet/{policy_id}/rule/{rule_id}/reorder/{rule_order}").status_code
|
|
772
799
|
|
|
773
800
|
if resp == 204:
|
|
774
801
|
return self.get_rule(policy_type, rule_id)
|
|
@@ -803,6 +830,12 @@ class PolicySetsAPI:
|
|
|
803
830
|
| ``access``
|
|
804
831
|
| ``timeout``
|
|
805
832
|
| ``client_forwarding``
|
|
833
|
+
| ``isolation``
|
|
834
|
+
| ``inspection``
|
|
835
|
+
| ``redirection``
|
|
836
|
+
| ``credential``
|
|
837
|
+
| ``capabilities``
|
|
838
|
+
| ``siem``
|
|
806
839
|
|
|
807
840
|
"""
|
|
808
841
|
# Get policy id for specified policy type
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zia/admin_and_role_management.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zia/authentication_settings.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zpa/app_segments_inspection.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{zscaler_sdk_python-0.1.5 → zscaler_sdk_python-0.1.6}/zscaler/zpa/privileged_remote_access.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|