Skip to main content

A small wrapper for Zscaler API

Project description

PySimpleZscaler

A simple wrapper for some basic ZScaler API functionality. Its purpose is to make it developing of scripts which utilize ZIA.

Module mainly consists of functions for looking up URLs and updating categories. Session is represented as ZscalerSession class' object.

Example

Here is example of starting new session with ZScaler API and looking up some URLs.

from PySimpleZscaler import zscaler as zs

zscaler = zs.ZScalerSession(cloud_name, base_path, username, password, api_key)
lookupResult = zscaler.lookup_urls(['testurl1.com'])
print(lookupResult)
zscaler.delete()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pysimplezscaler-0.1.2.tar.gz (7.7 kB view hashes)

Uploaded Source

Built Distribution

pysimplezscaler-0.1.2-py3-none-any.whl (8.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page