Skip to content

fix: Add AIGuard endpoints, ZTW delete method, and replace flatdict dependency (#457)#457

Merged
willguibr merged 5 commits intomasterfrom
zsdk-457-fix-new-aiguard-endpoints
Feb 11, 2026
Merged

fix: Add AIGuard endpoints, ZTW delete method, and replace flatdict dependency (#457)#457
willguibr merged 5 commits intomasterfrom
zsdk-457-fix-new-aiguard-endpoints

Conversation

@willguibr
Copy link
Member

@willguibr willguibr commented Feb 11, 2026

  • Added Zscaler AI Guard policy detection endpoints (execute-policy, resolve-and-execute-policy)
  • Added DELETE method for ZTW forwarding_rules resource
  • Replaced flatdict dependency with internal flatten_dict/unflatten_dict helpers (fixes [BUG] Build fails with setuptools 82+ due to flatdict dependency using deprecated pkg_resources #454)
  • Fixed flake8 F811 warning in zaiguard/legacy.py
  • Fixed ZIA rule_labels VCR cassette to use scoped search
  • Fixed ZIA sweep script ModuleNotFoundError
  • Updated changelog and release notes

Co-authored-by: pankaj28843 pankaj28843@users.noreply.github.com Co-authored-by: enza252 enza252@users.noreply.github.com

Provide a general summary of your changes in the title above. You should
remove this overview, any sections and any section descriptions you
don't need below before submitting. There isn't a strict requirement to
use this template if you can structure your description and still cover
these points.

Description

Describe your changes in detail through motivation and context. Why is
this change required? What problem does it solve? If it fixes an open
issue, link to the issue using GitHub's closing issues keywords1.

Has your change been tested?

Explain how the change has been tested and what you ran to confirm your
change affects other parts of the code. Automated tests are generally
expected and changes without tests should explain why they aren't
required.

Screenshots (if appropriate):

Types of changes

What sort of change does your code introduce/modify?

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • This change is using publicly documented and stable APIs.

…ependency (#457)

- Added Zscaler AI Guard policy detection endpoints (execute-policy, resolve-and-execute-policy)
- Added DELETE method for ZTW forwarding_rules resource
- Replaced flatdict dependency with internal flatten_dict/unflatten_dict helpers (fixes #454)
- Fixed flake8 F811 warning in zaiguard/legacy.py
- Fixed ZIA rule_labels VCR cassette to use scoped search
- Fixed ZIA sweep script ModuleNotFoundError
- Updated changelog and release notes

Co-authored-by: pankaj28843 <pankaj28843@users.noreply.github.com>
Co-authored-by: enza252 <enza252@users.noreply.github.com>
@willguibr willguibr self-assigned this Feb 11, 2026
@willguibr willguibr added 🐛 type/bug :bug: type/bug documentation Improvements or additions to documentation dependencies Pull requests that update a dependency file labels Feb 11, 2026
@codecov
Copy link

codecov bot commented Feb 11, 2026

@willguibr willguibr added the type/enhancement New feature or request label Feb 11, 2026
@willguibr willguibr moved this to ⚙️ In development in Zscaler Automation Dashboard 🛣 Feb 11, 2026
@willguibr willguibr merged commit 61486d6 into master Feb 11, 2026
37 of 38 checks passed
@github-project-automation github-project-automation bot moved this from ⚙️ In development to 🚀 Shipped in Zscaler Automation Dashboard 🛣 Feb 11, 2026
github-actions bot pushed a commit that referenced this pull request Feb 11, 2026
### [1.9.14](v1.9.13...v1.9.14) (2026-02-11)

### Bug Fixes

* Add AIGuard endpoints, ZTW delete method, and replace flatdict dependency ([#457](#457)) ([#457](#457)) ([61486d6](61486d6)), closes [#454](#454)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐛 type/bug :bug: type/bug dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation type/enhancement New feature or request

Projects

Status: 🚀 Shipped

Development

Successfully merging this pull request may close these issues.

[BUG] Build fails with setuptools 82+ due to flatdict dependency using deprecated pkg_resources

1 participant