Skip to main content

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:

NameTypeRequiredDescription
customer_idlongYes-

Returns: BrowserProtectionProfile

Example:

resource = session.zpa.BrowserProtectionProfile()
result = resource.get_active_browser_protection_profile(customer_id=3600)
print(result)

Attributes​

NameTypeRequiredDescription
idlongNo-
modified_timeintegerNo-
creation_timeintegerNo-
modified_bylongNo-
namestringYes-
descriptionstringNo-
criteriaSessionManagementCriteriaNo-
criteria_flags_masklongNo-
default_CSPbooleanNo-
name_without_trimstringNo-