[BUG]: Adding URL to blacklist with zia.security.add_urls_to_blacklist returns "AttributeError: 'Response' object has no attribute 'blacklist_urls'"
Closed this issue · 0 comments
northsaluki615 commented
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- Run zia.security.add_urls_to_blacklist([urllist]) with correct credentials
- URL is added to blacklist within Zscaler console
- Command returns:
return self._post("security/advanced/blacklistUrls?action=ADD_TO_LIST", json=payload).blacklist_urls
AttributeError: 'Response' object has no attribute 'blacklist_urls'
Expected behavior
URL is added to zscaler and list of updated blacklist is returned
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: Windows 10 and Pop!_OS 22.04 LTS