Skip to main content

EndPointApplication

End Point Application resource for Zscaler Internet Access.

Resource operations

This resource supports the following standard methods: delete(). They operate on the instance state — set properties with dot notation, then call the method with no arguments. Any other 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 EndPointApplication
logging.getLogger('zssdk.zia').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 create_custom_application_dlp_resource on EndPointApplication
resource = session.zia.EndPointApplication()
result = resource.create_custom_application_dlp_resource()
print(result)

# Debug output shows HTTP request/response details

Actions​

create_custom_application_dlp_resource()​

Parameters:

NameTypeRequiredDescription
app_idlongNo-
applicationDlpApplicationNo-
channelstringNo-
descriptionstringNo-
idintegerNo-
is_predefinedbooleanNo-
namestringNo-
network_drive_typestringNo-
network_drivesDlpNetworkDriveWrapperCollectionNo-
printerDlpPrinterNo-
removable_storageDlpRemovableStorageNo-
server_namestringNo-

Returns: EndpointDlpResource

Example:

resource = session.zia.EndPointApplication()
result = resource.create_custom_application_dlp_resource()
print(result)

delete()​

Deletes a EndPointApplication by id. Only the id identifier is required; delete() takes no other arguments.

Example:

resource = session.zia.EndPointApplication(id="your-resource-id")
resource.delete()

get_application_count()​

Parameters:

NameTypeRequiredDescription
searchstringNo-
os_typestringNo-
application_typestringNo-
pageintegerNo-
page_sizeintegerNo-

Example:

resource = session.zia.EndPointApplication()
result = resource.get_application_count()
print(result)

get_cloud_application_count()​

Parameters:

NameTypeRequiredDescription
searchstringNo-
os_typestringNo-
application_typestringNo-
pageintegerNo-
page_sizeintegerNo-

Example:

resource = session.zia.EndPointApplication()
result = resource.get_cloud_application_count()
print(result)

update_application()​

Parameters:

NameTypeRequiredDescription
application_namestringNo-
application_typestringNo-
bundle_IDstringNo-
deletedbooleanNo-
digitally_signedbooleanNo-
filenamestringNo-
org_idintegerNo-
original_file_namestringNo-
os_typestringNo-
resource_idintegerNo-
threat_levelstringNo-
z_ver_id_md32integerNo-
zapp_idstringNo-

Example:

resource = session.zia.EndPointApplication(id="your-resource-id")
result = resource.update_application()
print(result)

update_custom_application_dlp_resource()​

Parameters:

NameTypeRequiredDescription
app_idlongNo-
applicationDlpApplicationNo-
channelstringNo-
descriptionstringNo-
idintegerYes-
is_predefinedbooleanNo-
namestringNo-
network_drive_typestringNo-
network_drivesDlpNetworkDriveWrapperCollectionNo-
printerDlpPrinterNo-
removable_storageDlpRemovableStorageNo-
server_namestringNo-

Returns: EndpointDlpResource

Example:

resource = session.zia.EndPointApplication(id="your-resource-id")
result = resource.update_custom_application_dlp_resource(id=3600)
print(result)

Attributes​

NameTypeRequiredDescription
application_namestringNo-
application_typestringNo-
bundle_IDstringNo-
deletedbooleanNo-
descriptionstringNo-
digitally_signedbooleanNo-
file_namestringNo-
last_modified_timeintegerNo-
mod_UIdintegerNo-
org_idintegerNo-
original_file_namestringNo-
os_typestringNo-
resource_idintegerNo-
versionEndPointApplicationVersionNo-
versionsEndPointApplicationVersionCollectionNo-
z_app_idstringNo-