BrowserProtectionProfile
Browser Protection Profile resource for Zscaler Private Access V1.
Resource operations
This resource does not support standard CRUDL methods. Each action listed below is a custom action that takes explicit keyword arguments and returns a value.
Quick Start
import zssdk
import logging
# Enable debug logging for BrowserProtectionProfile
logging.getLogger('zssdk.zpa').setLevel(logging.DEBUG)
logging.basicConfig(level=logging.DEBUG)
session = zssdk.Session(
vanity_domain="your-vanity-domain",
client_id="your-client-id",
client_secret="your-client-secret",
)
# Call get_active_browser_protection_profile on BrowserProtectionProfile
resource = session.zpa.BrowserProtectionProfile()
result = resource.get_active_browser_protection_profile(customer_id=3600)
print(result)
# Debug output shows HTTP request/response details
Actions
get_active_browser_protection_profile()
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
customer_id | long | Yes | - |
Returns: BrowserProtectionProfile
Example:
resource = session.zpa.BrowserProtectionProfile()
result = resource.get_active_browser_protection_profile(customer_id=3600)
print(result)
Attributes
| Name | Type | Required | Description |
|---|---|---|---|
id | long | No | - |
modified_time | integer | No | - |
creation_time | integer | No | - |
modified_by | long | No | - |
name | string | Yes | - |
description | string | No | - |
criteria | SessionManagementCriteria | No | - |
criteria_flags_mask | long | No | - |
default_CSP | boolean | No | - |
name_without_trim | string | No | - |
Related
- BrowserProtectionProfile - Data structure definition
- Logging guide - enable verbose logs while debugging this resource