fix: Add new ZIA and ZPA endpoints, AI Guard OneAPI support (1.9.39) - #554
Merged
Conversation
ZIA: added Endpoint DLP coverage (applications, custom applications, application groups, resources, resource groups, rules, and exception sub-rules), DLP Advanced Settings, Outbound Email DLP rule actions, DNS application groups, End User Notification templates, IPS categories, and NSS collectors. ZPA: added Policy Group, Policy Group Rule, and Policy Group Set resources. AI Guard: added full OneAPI support via client.aiguard for detection policies, policy match rules, LLM providers and provider types, LLM provider credentials, LLM applications, and LLM application credentials. The package was renamed from zaiguard to aiguard, with client.zguard kept as a deprecated alias. Policy detection stays on LegacyAIGuardClient because those endpoints are not exposed through OneAPI. Bumped version to 1.9.39 and updated the changelog, release notes, and reference documentation for the new resources.
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
The dev dependency allowed any ruff >=0.15.0 and the lock file had picked up 0.16.0, which significantly expands the set of rules enabled by default. Because no explicit rule selection is configured, that upgrade silently turned on several new rule families and caused the lint job to report over 15,000 findings across the repository, nearly all of them in files unrelated to any recent change. Cap the dependency at <0.16 and relock, which returns ruff to the 0.15 series used on master. Both lint steps pass again with no source changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Release 1.9.39, adding new ZIA and ZPA endpoints and full OneAPI support for Zscaler AI Guard.
ZIA
New Endpoint DLP coverage — applications, custom applications, application groups, resources, resource groups, rules, and exception (sub) rules — plus DLP Advanced Settings, Outbound Email DLP rule actions, DNS application groups, End User Notification templates, IPS categories, and NSS collectors.
ZPA
New Policy Group, Policy Group Rule, and Policy Group Set resources.
AI Guard
Full OneAPI support via
client.aiguard, covering detection policies, policy match rules, LLM providers and provider types, LLM provider credentials, LLM applications, and LLM application credentials.zaiguardtoaiguard;client.zguardis kept as a deprecated alias for backward compatibility./v1/detection/execute-policyand/v1/detection/resolve-and-execute-policy) is not exposed through OneAPI, so it remains available throughLegacyAIGuardClientviaclient.aiguard.policy_detection.Docs and versioning
Version bumped to 1.9.39, with the changelog, release notes, and reference documentation updated for the new resources.
Test plan
poetry run black --check zscaler tests— cleanpoetry run ruff check .andruff check . --select I— all checks passedpoetry run pytest tests/unit— 594 passedclient.zguarddeprecated aliasmake docs) renders the new reference pages