Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Adding URL to blacklist with zia.security.add_urls_to_blacklist returns "AttributeError: 'Response' object has no attribute 'blacklist_urls'" #143

Closed
northsaluki615 opened this issue Sep 30, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@northsaluki615
Copy link

Describe the bug

A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Run zia.security.add_urls_to_blacklist([urllist]) with correct credentials
  2. URL is added to blacklist within Zscaler console
  3. 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
@northsaluki615 northsaluki615 added the bug Something isn't working label Sep 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants