Zscaler
Create Zscaler service requests on the right endpoint
A fork of the Zscaler connector that fixes the service request operation, whose old endpoint path returned 404.
zscaler_2.2.1.tgz
Community code that runs on your platform. A maintainer reviewed this exact source; the download is rebuilt from it. Follow the to install it.
Fork of a Content Hub connector
An enhanced copy of Zscaler zscaler v2.2.0Original's documentation
The operation list matches the Content Hub original exactly, so anything this fork changes lives below the operation level.
What the author changed: Fixes the service request operation: its endpoint path now matches the documented Zscaler API instead of returning 404.
Keeps the original's machine name, so importing this upgrades the Content Hub connector in place and existing configurations survive. Differences are re-measured against the current Content Hub index at every site build, so this stays truthful as the original moves.
Configuration · 3 fields
- Server URL
server_urltext requiredURL of the Zscaler server to which you will connect and perform the automated operations.
- Authentication Type
authentication_typeselect requiredSelect an authentication method. You can choose from the following options: Basic Authentication or OAuth Authentication.
Options Basic AuthenticationOAuth AuthenticationWhen Authentication Type is Basic Authentication
- API Key
api_keypassword requiredAPI key used to access the Zscaler endpoint to which you will connect and perform the automated operations.
- User Name
usernametext requiredUsername of the Zscaler server to which you will connect and perform automated operations.
- Password
passwordpassword requiredPassword to access the Zscaler server to which you will connect and perform the automated operations.
When Authentication Type is OAuth Authentication
- Client ID
client_idtext requiredAuto-generated unique ID of the client application requesting the access token.
- Client Secret
client_secretpassword requiredShared secret string that the instance and the OAuth application use to authorize communications with one another.
- OAuth URL
oauth_urltext requiredOAuth URL or Zscaler Cloud Name to access the Zscaler server.
- Verify SSL
verify_sslcheckboxSpecifies whether the SSL certificate for the server is to be verified. By default, this option is set as True.
Default
true
Operations · 17
Get Whitelist URLs
get_whitelist_urlsget_whitelist_urlsRetrieves the list of all the whitelisted URLs from Zscaler.
No parameters.
ReturnswhitelistUrlsGet Blacklist URLs
get_blacklist_urlsget_blacklist_urlsRetrieves the list of all the blacklisted URLs from Zscaler.
No parameters.
ReturnsblacklistUrlsUpdate Whitelist URLs 2 params
update_whitelist_urlsupdate_whitelist_urlsAdds or removes URLs from the "Whitelisted URL List" in Zscaler based on the URL and action you have specified.
- URLs
urlstext requiredCSV list of URLs that you want to add or remove from the 'Whitelisted URL List' in Zscaler.
- Action
actionselect requiredAction that you want to perform on the specified list of URLs. Choose the Add in List option to add the specified URLs to the 'Whitelisted URL List' in Zscaler. Choose the Remove from List option to remove the specified URLs from the 'Whitelisted URL List' in Zscaler.
Options Add in ListRemove from List
ReturnswhitelistUrlsBlock URLs 1 param
block_urlblock_urlAdds URLs to the "Blacklisted URL List" in Zscaler based on the URLs you have specified.
- URLs
urlstext requiredCSV list of URLs that you want to add to the 'Blacklisted URL List' in Zscaler.
ReturnsstatusresultUnblock URLs 1 param
unblock_urlunblock_urlRemoves URLs from the "Blacklisted URL List" in Zscaler based on the URLs you have specified.
- URLs
urlstext requiredCSV list of URLs that you want to remove from the 'Blacklisted URL List' in Zscaler.
ReturnsstatusresultGet Cloud Sandbox Report Quota
get_sandbox_report_quotaget_sandbox_report_quotaRetrieves the cloud sandbox report quota from Zscaler. Note: The resource access quota for retrieving Sandbox Detail Reports is restricted to 1000 requests per day, with a rate limit of 2/sec and 1000/hour from Zscaler.
No parameters.
ReturnsstartTimeusedallowedscaleunusedGet MD5 Cloud Sandbox Report 2 params
get_sandbox_report_md5_hashget_sandbox_report_md5_hashRetrieves a report (full or summary) of the file that was analyzed by the Sandbox in Zscaler based on the MD5 filehash value you have specified.
- MD5 Hash
md5Hashtext requiredSpecify the MD5 filehash value of the file that was analyzed by the Sandbox in Zscaler for which you want to retrieve the report from Zscaler.
- Report Type
detailsselect(Optional) Select the type of report you want to retrieve from Zscaler. You can choose between full (default) or summary.
Default
fullOptions FullSummary
ReturnsDBotScoreFileAdd URL Category 2 params
add_new_categoryadd_new_categoryAdds a new custom URL category in Zscaler based on the URLs and additional fields you have specified.
- URLs
urlstext requiredSpecify the set of URLs to be added in Zscaler.
- Additional Fields
other_fieldsjson requiredSpecify additional fields in the JSON format that you want to add to the new URL category in Zscaler. For example, {"configuredName": "configname", "urls": ["url"]}
ReturnsidconfiguredNamekeywordskeywordsRetainingParentCategoryurlsdbCategorizedUrlsipRangesipRangesRetainingParentCategorycustomCategoryscopeseditabledescriptiontypeurlKeywordCountscustomUrlsCounturlsRetainingParentCategoryCountcustomIpRangesCountipRangesRetainingParentCategoryCountGet URL Categories 2 params
get_url_categoriesget_url_categoriesRetrieves a list of all URL categories from Zscaler.
- Custom Only
customOnlycheckbox(Optional) Select this option to retrieve information for only custom URL categories from Zscaler.
Default
false - Include Only URL Keyword Counts
includeOnlyUrlKeywordCountscheckbox(Optional) Select this option, i.e., set it to true to include only URLs and keyword counts in the response. If this option is cleared, i.e., set to false (default), the response includes URLs and keywords.
Default
false
ReturnsidconfiguredNamekeywordskeywordsRetainingParentCategoryurlsdbCategorizedUrlsipRangesipRangesRetainingParentCategorycustomCategoryscopeseditabledescriptiontypeurlKeywordCountscustomUrlsCounturlsRetainingParentCategoryCountcustomIpRangesCountipRangesRetainingParentCategoryCountGet Lightweight URL Categories
get_lightweight_url_categoriesget_lightweight_url_categoriesRetrieves a lightweight key-value list of all (including custom) URL categories from Zscaler.
No parameters.
ReturnsidconfiguredNamekeywordskeywordsRetainingParentCategoryurlsdbCategorizedUrlsipRangesipRangesRetainingParentCategorycustomCategoryscopeseditabledescriptiontypeurlKeywordCountscustomUrlsCounturlsRetainingParentCategoryCountcustomIpRangesCountipRangesRetainingParentCategoryCountGet URL Categories Quota
get_url_categories_quotaget_url_categories_quotaRetrieves information on the number of unique URLs that are currently provisioned for your organization. It also includes the information on how many URLs you can add before reaching the categories quota number for your organization.
No parameters.
ReturnsuniqueUrlsProvisionedremainingUrlsQuotaGet URL Category Details 1 param
get_url_category_infoget_url_category_infoRetrieves the URL category information for the specified category ID from Zscaler.
- Category ID
categoryIdtext requiredSpecify the unique identifier for the URL category for which you want to retrieve information from Zscaler.
ReturnsidconfiguredNamekeywordskeywordsRetainingParentCategoryurlsdbCategorizedUrlsipRangesipRangesRetainingParentCategorycustomCategoryscopeseditabledescriptiontypeurlKeywordCountscustomUrlsCounturlsRetainingParentCategoryCountcustomIpRangesCountipRangesRetainingParentCategoryCountUpdate URL Category 6 params
update_url_categoryupdate_url_categoryAdds or removes URLs from the category list in Zscaler based on the category ID, URLs, and other input parameters you have specified.
- Category ID
categoryIdtext requiredSpecify the unique identifier of the URL category in which you want to add or remove URLs in Zscaler.
- Action
actionselect requiredSelect the action that you want to perform on the specified list of URLs. You can choose between Add to List to add the specified URLs to the 'Whitelisted URL List' in Zscaler or Remove from List to remove the specified URLs from the 'Whitelisted URL List' in Zscaler.
Options Add to ListRemove from List - URLs
urlstext requiredSpecify the set of URLs to be updated in the specified URL category in Zscaler.
- URL Category Name
configuredNametext(Optional) Name of the URL category. This is only required for custom URL categories.
- Super Category
superCategorytext(Optional) Specify the super category of the URL category. This field is required when creating custom URL categories.
- Additional Fields
other_fieldsjson(Optional) Specify additional fields in the JSON format that you want to update in the URL category in Zscaler. For example, {"configuredName": "configname", "urls": ["url"]}
ReturnsidconfiguredNamekeywordskeywordsRetainingParentCategoryurlsdbCategorizedUrlsipRangesipRangesRetainingParentCategorycustomCategoryscopeseditabledescriptiontypeurlKeywordCountscustomUrlsCounturlsRetainingParentCategoryCountcustomIpRangesCountipRangesRetainingParentCategoryCountDelete URL Category 1 param
delete_url_categorydelete_url_categoryDeletes a specific URL category from Zscaler based on the category ID you have specified.
- Category ID
categoryIdtext requiredSpecify the unique identifier of the URL category that you want to delete from Zscaler.
ReturnsZscalerURL Lookup 1 param
url_lookupurl_lookupLooks up the categorization of the specified set of URLs in Zscaler.
- URLs
urlstext(Optional) Specify the set of URLs that you want to be looked up in Zscaler.
ReturnsurlurlClassificationsurlClassificationsWithSecurityAlertGet Exempted URLs
get_exempted_urlsget_exempted_urlsRetrieves a list of URLs that are exempted from the cookie authentication in Zscaler.
No parameters.
ReturnsurlsUpdate exempted URLs 1 param
update_exempted_urlsupdate_exempted_urlsAdds or removes a URL from the cookie authentication exempt list in Zscaler based on the URLs you have specified.
- Action
actionselect requiredThe action applied to the exempted URLs list. To add a URL to the list, set the action parameter to Add to List. To remove a URL, set action to Remove from List.
Options Add to ListRemove from List
Returnsurls