Skip to content

Commit f276525

Browse files
authored
feat: Added New ZIA Resources and Resources and minor fixes (#444)
* feat: Added New ZIA Resources and Resources and minor fixes * fix: Removed validateDestAddress validation function * fix: Fixed Location Management and DLP Web Rule Test * fix: Fixed DLP Web Rule Test
1 parent 76d7985 commit f276525

File tree

183 files changed

+7633
-384
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

183 files changed

+7633
-384
lines changed

CHANGELOG.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,45 @@
11
# Changelog
22

3+
## 4.3.0 (June, 19 2025)
4+
5+
### Notes
6+
7+
- Release date: **(June, 19 2025)**
8+
- Supported Terraform version: **v1.x**
9+
10+
### NEW - RESOURCES, DATA SOURCES
11+
12+
- [PR #444](https://github.com/zscaler/terraform-provider-zia/pull/444) - The following new resources and data sources have been introduced:
13+
14+
- [PR #444](https://github.com/zscaler/terraform-provider-zia/pull/444) - Added the datasource and resource ``zia_browser_control_policy`` - Browser Control Policy
15+
- [PR #444](https://github.com/zscaler/terraform-provider-zia/pull/444) - Added the datasource and resource ``zia_casb_dlp_rules`` - SaaS Security API (Casb DLP Rules)
16+
- [PR #444](https://github.com/zscaler/terraform-provider-zia/pull/444) - Added the datasource and resource ``zia_casb_malware_rules`` - SaaS Security API (Casb Malware Rules)
17+
- [PR #444](https://github.com/zscaler/terraform-provider-zia/pull/444) - Added the datasource and resource ``zia_cloud_application_instance`` - Cloud Application Instance
18+
- [PR #444](https://github.com/zscaler/terraform-provider-zia/pull/444) - Added the datasource and resource ``zia_risk_profiles`` - Risk Profiles
19+
20+
### NEW DATA SOURCES
21+
22+
- [PR #444](https://github.com/zscaler/terraform-provider-zia/pull/444) - Added the datasource and resource ``zia_casb_tenant`` - SaaS Security API (Casb Tenant)
23+
- [PR #444](https://github.com/zscaler/terraform-provider-zia/pull/444) - Added the datasource and resource ``zia_casb_email_label`` - SaaS Security API (Casb Email Label)
24+
- [PR #444](https://github.com/zscaler/terraform-provider-zia/pull/444) - Added the datasource and resource ``zia_casb_tombstone_template`` - SaaS Security API (Casb Quarantine Tombstone Template)
25+
- [PR #444](https://github.com/zscaler/terraform-provider-zia/pull/444) - Added the datasource and resource ``zia_casb_tombstone_template`` - SaaS Security API (Casb Quarantine Tombstone Template)
26+
- [PR #444](https://github.com/zscaler/terraform-provider-zia/pull/444) - Added the datasource and resource ``zia_domain_profiles`` - SaaS Security API (Casb Domain Profiles)
27+
- [PR #444](https://github.com/zscaler/terraform-provider-zia/pull/444) - Added the datasource and resource ``zia_tenant_restriction_profile`` - Tenant Restriction Profile
28+
29+
### Enhancements
30+
31+
- [PR #444](https://github.com/zscaler/terraform-provider-zia/pull/444) - The resource `zia_location_management` now supports the following attributes.
32+
- `extranet` - The ID of the extranet resource that must be assigned to the location
33+
- `extranetip_pool` - The ID of the traffic selector specified in the extranet
34+
- `extranet_dns` - The ID of the DNS server configuration used in the extranet
35+
- `default_extranet_ts_pool` - A Boolean value indicating that the traffic selector specified in the extranet is the designated default traffic selector
36+
- `default_extranet_dns` - A Boolean value indicating that the DNS server configuration used in the extranet is the designated default DNS server
37+
38+
### Bug Fixes
39+
40+
- [PR #444](https://github.com/zscaler/terraform-provider-zia/pull/444) - Added validation to ``zia_dlp_web_rules`` to prevent conflict between attributes: `auditor`, `external_auditor_email` and `notification_template`
41+
- [PR #444](https://github.com/zscaler/terraform-provider-zia/pull/444) - Removed validation function `validateDestAddress` for the attribute `dest_addresses` to support both IPv4 Addresses and Wildcard FQDN.
42+
343
## 4.2.0 (June, 11 2025)
444

545
### Notes

GNUmakefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,14 +196,14 @@ test\:integration\:zscalertwo:
196196
build13: GOOS=$(shell go env GOOS)
197197
build13: GOARCH=$(shell go env GOARCH)
198198
ifeq ($(OS),Windows_NT) # is Windows_NT on XP, 2000, 7, Vista, 10...
199-
build13: DESTINATION=$(APPDATA)/terraform.d/plugins/$(ZIA_PROVIDER_NAMESPACE)/4.2.0/$(GOOS)_$(GOARCH)
199+
build13: DESTINATION=$(APPDATA)/terraform.d/plugins/$(ZIA_PROVIDER_NAMESPACE)/4.3.0/$(GOOS)_$(GOARCH)
200200
else
201-
build13: DESTINATION=$(HOME)/.terraform.d/plugins/$(ZIA_PROVIDER_NAMESPACE)/4.2.0/$(GOOS)_$(GOARCH)
201+
build13: DESTINATION=$(HOME)/.terraform.d/plugins/$(ZIA_PROVIDER_NAMESPACE)/4.3.0/$(GOOS)_$(GOARCH)
202202
endif
203203
build13: fmtcheck
204204
@echo "==> Installing plugin to $(DESTINATION)"
205205
@mkdir -p $(DESTINATION)
206-
go build -o $(DESTINATION)/terraform-provider-zia_v4.2.0
206+
go build -o $(DESTINATION)/terraform-provider-zia_v4.3.0
207207

208208
coverage: test
209209
@echo "✓ Opening coverage for unit tests ..."

docs/data-sources/zia_activation_status.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,15 @@ subcategory: "Activation"
33
layout: "zscaler"
44
page_title: "ZIA: activation_status"
55
description: |-
6-
"Get Activation Status changes".
6+
Official documentation https://help.zscaler.com/zia/saving-and-activating-changes-zia-admin-portal
7+
API documentation https://help.zscaler.com/zia/activation#/status-get
8+
Gets the activation status for the saved configuration changes
79
---
810

9-
# Data Source: zia_activation_status
11+
# zia_activation_status (Data Source)
12+
13+
* [Official documentation](https://help.zscaler.com/zia/saving-and-activating-changes-zia-admin-portal)
14+
* [API documentation](https://help.zscaler.com/zia/activation#/status-get)
1015

1116
The **zia_activation_status** data source allows to get information about the activation status of ZIA configurations.
1217

docs/data-sources/zia_admin_roles.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,15 @@ subcategory: "Admin & Role Management"
33
layout: "zscaler"
44
page_title: "ZIA: admin_roles"
55
description: |-
6+
Official documentation https://help.zscaler.com/zia/about-role-management
7+
API documentationhttps://help.zscaler.com/zia/admin-role-management#/adminRoles-get
68
Get information about ZIA administrator roles.
79
---
810

9-
# Data Source: zia_admin_roles
11+
# zia_admin_roles (Data Source)
12+
13+
* [Official documentation](https://help.zscaler.com/zia/about-role-management)
14+
* [API documentation](https://help.zscaler.com/zia/admin-role-management#/adminRoles-get)
1015

1116
Use the **zia_admin_roles** data source to get information about an admin role created in the Zscaler Internet Access cloud or via the API. This data source can then be associated with a ZIA administrator account.
1217

docs/data-sources/zia_admin_users.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,16 @@ subcategory: "Admin & Role Management"
33
layout: "zscaler"
44
page_title: "ZIA: admin_users"
55
description: |-
6+
Official documentation https://help.zscaler.com/zia/about-administrators
7+
API documentation https://help.zscaler.com/zia/admin-role-management#/adminUsers-get
68
Get information about ZIA administrator users.
79
---
810

911
# Data Source: zia_admin_users
1012

13+
* [Official documentation](https://help.zscaler.com/zia/about-administrators)
14+
* [API documentation](https://help.zscaler.com/zia/admin-role-management#/adminUsers-get)
15+
1116
Use the **zia_admin_users** data source to get information about an admin user account created in the Zscaler Internet Access cloud or via the API. This data source can then be associated with a ZIA administrator role.
1217

1318
## Example Usage

docs/data-sources/zia_advanced_settings.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,15 @@ subcategory: "Advanced Settings"
33
layout: "zscaler"
44
page_title: "ZIA: advanced_settings"
55
description: |-
6+
Official documentation https://help.zscaler.com/zia/configuring-advanced-settings
7+
API documentation https://help.zscaler.com/zia/advanced-settings#/advancedSettings-get
68
Retrieves information about the advanced settings configured in the ZIA Admin Portal
79
---
810

9-
# Data Source: zia_advanced_settings
11+
# zia_advanced_settings (Data Source)
12+
13+
* [Official documentation](https://help.zscaler.com/zia/configuring-advanced-settings)
14+
* [API documentation](https://help.zscaler.com/zia/advanced-settings#/advancedSettings-get)
1015

1116
The **zia_advanced_settings** Retrieves information about the advanced settings configured in the ZIA Admin Portal. To learn more see [Configuring Advanced Settings](https://help.zscaler.com/zia/configuring-advanced-settings)
1217

docs/data-sources/zia_advanced_threat_settings.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,15 @@ subcategory: "Advanced Threat Protection"
33
layout: "zscaler"
44
page_title: "ZIA: advanced_threat_settings"
55
description: |-
6+
Official documentation https://help.zscaler.com/zia/configuring-advanced-threat-protection-policy
7+
API documentation https://help.zscaler.com/zia/advanced-threat-protection-policy#/cyberThreatProtection/advancedThreatSettings-put
68
Retrieves the advanced threat configuration settings in the ZIA Admin Portal
79
---
810

9-
# Data Source: zia_advanced_threat_settings
11+
# zia_advanced_threat_settings (Data Source)
12+
13+
* [Official documentation](https://help.zscaler.com/zia/configuring-advanced-threat-protection-policy)
14+
* [API documentation](https://help.zscaler.com/zia/advanced-threat-protection-policy#/)
1015

1116
Use the **zia_advanced_threat_settings** data source to retrieve the advanced threat configuration settings in the ZIA Admin Portal. To learn more see [Advanced Threat Protection](https://help.zscaler.com/unified/configuring-security-exceptions-advanced-threat-protection-policy)
1217

docs/data-sources/zia_atp_malicious_urls.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,15 @@ subcategory: "Advanced Threat Protection"
33
layout: "zscaler"
44
page_title: "ZIA: atp_malicious_urls"
55
description: |-
6+
Official documentation https://help.zscaler.com/zia/configuring-advanced-threat-protection-policy
7+
API documentation https://help.zscaler.com/zia/advanced-threat-protection-policy#/cyberThreatProtection/advancedThreatSettings-put
68
Retrieves the malicious URLs added to the denylist in the Advanced Threat Protection (ATP) policy
79
---
810

9-
# Data Source: zia_atp_malicious_urls
11+
# zia_atp_malicious_urls (Data Source)
12+
13+
* [Official documentation](https://help.zscaler.com/zia/configuring-advanced-threat-protection-policy)
14+
* [API documentation](https://help.zscaler.com/zia/advanced-threat-protection-policy#/)
1015

1116
Use the **zia_atp_malicious_urls** data source to Retrieves the malicious URLs added to the denylist in the Advanced Threat Protection (ATP) policy. To learn more see [Advanced Threat Protection](https://help.zscaler.com/unified/configuring-security-exceptions-advanced-threat-protection-policy)
1217

docs/data-sources/zia_atp_malware_inspection.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: |-
66
Retrieves the traffic inspection configurations of Malware Protection policy
77
---
88

9-
# Data Source: zia_atp_malware_inspection
9+
# zia_atp_malware_inspection (Data Source)
1010

1111
Use the **zia_atp_malware_inspection** data source to retrieves the traffic inspection configurations of Malware Protection policy. To learn more see [Configuring Malware Protection Policy](https://help.zscaler.com/unified/configuring-malware-protection-policy)
1212

docs/data-sources/zia_atp_malware_policy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: |-
66
Retrieves information about the security exceptions configured for the Malware Protection policy
77
---
88

9-
# Data Source: zia_atp_malware_policy
9+
# zia_atp_malware_policy (Data Source)
1010

1111
Use the **zia_atp_malware_policy** data source to retrieves information about the security exceptions configured for the Malware Protection policy. To learn more see [Configuring Malware Protection Policy](https://help.zscaler.com/unified/configuring-malware-protection-policy)
1212

0 commit comments

Comments
 (0)