diff --git a/CHANGELOG.md b/CHANGELOG.md index 28efb2fb..9a317fb5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ ### Enhacements +- [PR #215](https://github.com/zscaler/zscaler-sdk-go/pull/215) - Added new ZPA attributes for application segment. + - matchStyle + - inconsistentConfigDetails + - [PR #217](https://github.com/zscaler/zscaler-sdk-go/pull/217) - Added support for ZIA Workload Groups Tagging # 2.3.6 (January 15, 2024) diff --git a/docs/guides/release-notes.md b/docs/guides/release-notes.md index 54ac0137..df1a959f 100644 --- a/docs/guides/release-notes.md +++ b/docs/guides/release-notes.md @@ -24,6 +24,10 @@ Track all Zscaler SDK GO releases. New resources, features, and bug fixes will b ### Enhacements +- [PR #215](https://github.com/zscaler/zscaler-sdk-go/pull/215) - Added new ZPA attributes for application segment. + - matchStyle + - inconsistentConfigDetails + - [PR #217](https://github.com/zscaler/zscaler-sdk-go/pull/217) - Added support for ZIA Workload Groups Tagging # 2.3.6 (January 15, 2024) diff --git a/zia/services/dlp/dlp_web_rules/dlp_web_rules.go b/zia/services/dlp/dlp_web_rules/dlp_web_rules.go index 6b78446f..6f6281e0 100644 --- a/zia/services/dlp/dlp_web_rules/dlp_web_rules.go +++ b/zia/services/dlp/dlp_web_rules/dlp_web_rules.go @@ -14,7 +14,6 @@ const ( ) type WebDLPRules struct { - // The unique identifier for the DLP policy rule. ID int `json:"id,omitempty"` @@ -124,8 +123,17 @@ type WebDLPRules struct { // The name-ID pairs of the users that are excluded from the DLP policy rule. ExcludedUsers []common.IDNameExtensions `json:"excludedUsers,omitempty"` + // The list of domain profiles that must be added to the DLP rule criteria in order to apply the DLP rules only to domains that are part of the specified profiles. A maximum of 8 profiles can be selected. + IncludedDomainProfiles []common.IDNameExtensions `json:"includedDomainProfiles,omitempty"` + + // The list of domain profiles that must be added to the DLP rule criteria in order to apply the DLP rules to all domains excluding the domains that are part of the specified profiles. A maximum of 8 profiles can be selected. + ExcludedDomainProfiles []common.IDNameExtensions `json:"excludedDomainProfiles,omitempty"` + + // Source IP address groups for which the rule is applicable. If not set, the rule is not restricted to a specific source IP address group. + SourceIpGroups []common.IDNameExtensions `json:"sourceIpGroups,omitempty"` + // The list of preconfigured workload groups to which the policy must be applied. - WorkloadGroups []common.IDNameWorkloadGroup `json:"workloadGroups,omitempty"` + WorkloadGroups []common.IDNameExtensions `json:"workloadGroups,omitempty"` // Indicates the severity selected for the DLP rule violation Severity string `json:"severity,omitempty"` diff --git a/zia/services/urlfilteringpolicies/urlfilteringpolicies.go b/zia/services/urlfilteringpolicies/urlfilteringpolicies.go index 518b148a..2b4401be 100644 --- a/zia/services/urlfilteringpolicies/urlfilteringpolicies.go +++ b/zia/services/urlfilteringpolicies/urlfilteringpolicies.go @@ -75,7 +75,7 @@ type URLFilteringRule struct { // Action taken when traffic matches rule criteria Action string `json:"action,omitempty"` - //If set to true, the CIPA Compliance rule is enabled + // If set to true, the CIPA Compliance rule is enabled Ciparule bool `json:"ciparule,omitempty"` // List of device trust levels for which the rule must be applied. This field is applicable for devices that are managed using Zscaler Client Connector. The trust levels are assigned to the devices based on your posture configurations in the Zscaler Client Connector Portal. If no value is set, this field is ignored during the policy evaluation. @@ -118,7 +118,7 @@ type URLFilteringRule struct { TimeWindows []common.IDNameExtensions `json:"timeWindows,omitempty"` // The list of preconfigured workload groups to which the policy must be applied. - WorkloadGroups []common.IDNameWorkloadGroup `json:"workloadGroups,omitempty"` + WorkloadGroups []common.IDNameExtensions `json:"workloadGroups,omitempty"` // The cloud browser isolation profile to which the ISOLATE action is applied in the URL Filtering Policy rules. // Note: This parameter is required for the ISOLATE action and is not applicable to other actions.