web_app_service

The following methods allow for interaction with the ZCC Web Application Service API endpoints.

Methods are accessible via zcc.web_app_service

Copyright (c) 2023, Zscaler Inc.

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

class WebAppServiceAPI

Bases: APIClient

list_by_company(query_params=None)

Returns the list of Fail Open Policy By Company in the Client Connector Portal.

Parameters:

{dict} (query_params) – Map of query parameters for the request. [query_params.page] {int}: Specifies the page offset. [query_params.page_size] {int}: Specifies the page size. [query_params.search] {str}: The search string used to partially match.

Returns:

A list containing Fail Open Policy By Company in the Client Connector Portal.

Return type:

list

Examples

>>> policies, resp, err = client.zcc.web_app_service.list_by_company({"search": "example"})
>>> if err:
...     print(f"Error: {err}")
... else:
...     for policy in policies:
...         print(policy)