Skip to content

Commit

Permalink
feat: Added support to zpa policy access redirection
Browse files Browse the repository at this point in the history
  • Loading branch information
willguibr committed Feb 13, 2024
1 parent 9296d4e commit 431ef0e
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 0 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

# 2.3.9 (February 12, 2024)

## Notes
- Golang: **v1.19**

### Fixes

- [PR #224](https://github.com/zscaler/zscaler-sdk-go/pull/224) - Added support to ZPA Policy Access Redirection resource.
- **NOTE** This feature is in limited availability. Contact Zscaler Support to enable this feature for your organization.

# 2.3.8 (January 31, 2024)

## Notes
Expand Down
10 changes: 10 additions & 0 deletions docs/guides/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,16 @@ Track all Zscaler SDK GO releases. New resources, features, and bug fixes will b

---

# 2.3.9 (February 12, 2024)

## Notes
- Golang: **v1.19**

### Fixes

- [PR #224](https://github.com/zscaler/zscaler-sdk-go/pull/224) - Added support to ZPA Policy Access Redirection resource.
- **NOTE** This feature is in limited availability. Contact Zscaler Support to enable this feature for your organization.

# 2.3.8 (January 31, 2024)

## Notes
Expand Down
5 changes: 5 additions & 0 deletions zpa/services/policysetcontroller/policysetcontroller.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ type PolicyRule struct {
Conditions []Conditions `json:"conditions"`
AppServerGroups []AppServerGroups `json:"appServerGroups"`
AppConnectorGroups []AppConnectorGroups `json:"appConnectorGroups"`
ServiceEdgeGroups []ServiceEdgeGroups `json:"serviceEdgeGroups"`
}

type Conditions struct {
Expand Down Expand Up @@ -97,6 +98,10 @@ type AppConnectorGroups struct {
ID string `json:"id,omitempty"`
}

type ServiceEdgeGroups struct {
ID string `json:"id,omitempty"`
}

type Count struct {
Count string `json:"count"`
}
Expand Down
4 changes: 4 additions & 0 deletions zpa/services/serviceedgegroup/zpa_service_edge_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ type ServiceEdgeGroup struct {
VersionProfileID string `json:"versionProfileId,omitempty"`
VersionProfileName string `json:"versionProfileName,omitempty"`
VersionProfileVisibilityScope string `json:"versionProfileVisibilityScope,omitempty"`
ObjectType string `json:"objectType,omitempty"`
ScopeName string `json:"scopeName,omitempty"`
RestrictedEntity bool `json:"restrictedEntity,omitempty"`
AltCloud string `json:"altCloud,omitempty"`
MicroTenantID string `json:"microtenantId,omitempty"`
MicroTenantName string `json:"microtenantName,omitempty"`
}
Expand Down

0 comments on commit 431ef0e

Please sign in to comment.