Skip to main content

MobileMalwareProtection

Mobile Malware Protection resource for Zscaler Internet Access.

Resource operations

This resource supports the following standard methods: load(), update(). They operate on the instance state — set properties with dot notation, then call the method with no arguments.

Quick Start​

import zssdk
import logging

# Enable debug logging for MobileMalwareProtection
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 load on MobileMalwareProtection
resource = session.zia.MobileMalwareProtection()
result = resource.load()
print(result)

# Debug output shows HTTP request/response details

Actions​

load()​

Fetches an existing MobileMalwareProtection by id. Only the id identifier is required; load() takes no other arguments.

Returns: MobileMalwareProtection

Example:

resource = session.zia.MobileMalwareProtection()
resource.load()
print(resource)

update()​

Updates an existing MobileMalwareProtection. Call load() first, modify properties, then call update() — this method takes no arguments.

Properties for update:

NameTypeRequiredDescription
block_apps_communicating_with_ad_websitesbooleanNo-
block_apps_communicating_with_remote_unknown_serversbooleanNo-
block_apps_sending_device_identifierbooleanNo-
block_apps_sending_location_infobooleanNo-
block_apps_sending_personally_identifiable_infobooleanNo-
block_apps_sending_unencrypted_user_credentialsbooleanNo-
block_apps_with_known_vulnerabilitiesbooleanNo-
block_apps_with_malicious_activitybooleanNo-

Returns: MobileMalwareProtection

Example:

resource = session.zia.MobileMalwareProtection(id="your-resource-id")
resource.load()
# Modify resource attributes here, then call update()
resource.update()

Attributes​

NameTypeRequiredDescription
block_apps_communicating_with_ad_websitesbooleanNo-
block_apps_communicating_with_remote_unknown_serversbooleanNo-
block_apps_sending_device_identifierbooleanNo-
block_apps_sending_location_infobooleanNo-
block_apps_sending_personally_identifiable_infobooleanNo-
block_apps_sending_unencrypted_user_credentialsbooleanNo-
block_apps_with_known_vulnerabilitiesbooleanNo-
block_apps_with_malicious_activitybooleanNo-