Skip to main content

AppDetail

App Detail resource for Zscaler Digital Experience.

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 AppDetail
logging.getLogger('zssdk.zdx').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_application on AppDetail
resource = session.zdx.AppDetail()
result = resource.get_application(id=3600)
print(result)

# Debug output shows HTTP request/response details

Actions​

get_application()​

Gets the application’s ZDX score (for the last 2 hours), most impacted locations, and the total number of users impacted.

Parameters:

NameTypeRequiredDescription
idlongYes-
fromlongNo-
tolongNo-
loclongNo-
deptlongNo-
geostringNo-

Returns: Application

Example:

resource = session.zdx.AppDetail()
result = resource.get_application(id=3600)
print(result)

get_app_score()​

Gets the application’s ZDX score trend. If the time range is not specified, the endpoint defaults to the last 2 hours.

Parameters:

NameTypeRequiredDescription
idlongYes-
fromlongNo-
tolongNo-
loclongNo-
deptlongNo-
geostringNo-

Returns: Series

Example:

resource = session.zdx.AppDetail()
result = resource.get_app_score(id=3600)
print(result)

get_app_user()​

Gets user details including the device information, active geolocations, and Zscaler locations. If the time range is not specified, the endpoint defaults to the last 2 hours.

Parameters:

NameTypeRequiredDescription
idlongYes-
useridstringYes-
fromlongNo-
tolongNo-

Returns: UserDetail

Example:

resource = session.zdx.AppDetail()
result = resource.get_app_user(id=3600, userid="resource-id")
print(result)

Attributes​

NameTypeRequiredDescription
idlongNo-
namestringNo-
scoreintegerNo-
most_impacted_regionUserLocationNo-
total_userslongNo-
application_statsApplicationStatsNo-