Skip to content

Commit 0664f17

Browse files
Add sxp domain filter resource and remove default attributes from resources (#92)
1 parent 49be1ad commit 0664f17

File tree

48 files changed

+912
-100
lines changed

Some content is hidden

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

48 files changed

+912
-100
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,5 @@ website/vendor
3333

3434
# Keep windows files with windows line endings
3535
*.winfile eol=crlf
36+
37+
.envrc

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## 0.2.5 (unreleased)
2+
3+
- Remove default_value from `systemDefined` attribute in `ise_endpoint_identity_group`
4+
- Remove `default` from `ise_device_admin_authorization_global_exception_rule` and `ise_network_access_authorization_global_exception_rule`
5+
- Remove default_value from `isReadOnly` and `readOnly` attributes in `ise_trustsec_security_group` and `ise_trustsec_security_group_acl`
6+
- Add `ise_sxp_domain_filter` resource and data_source
7+
18
## 0.2.4
29

310
- Fix managing `Default` network access and device administration resources

docs/data-sources/device_admin_authorization_global_exception_rule.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ data "ise_device_admin_authorization_global_exception_rule" "example" {
3838
- `condition_is_negate` (Boolean) Indicates whereas this condition is in negate mode
3939
- `condition_operator` (String) Equality operator
4040
- `condition_type` (String) Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute.
41-
- `default` (Boolean) Indicates if this rule is the default one
4241
- `profile` (String) Device admin profiles control the initial login session of the device administrator
4342
- `rank` (Number) The rank (priority) in relation to other rules. Lower rank is higher priority.
4443
- `state` (String) The state that the rule is in. A disabled rule cannot be matched.

docs/data-sources/network_access_authorization_global_exception_rule.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ data "ise_network_access_authorization_global_exception_rule" "example" {
3737
- `condition_is_negate` (Boolean) Indicates whereas this condition is in negate mode
3838
- `condition_operator` (String) Equality operator
3939
- `condition_type` (String) Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute.
40-
- `default` (Boolean) Indicates if this rule is the default one
4140
- `profiles` (Set of String) The authorization profile(s)
4241
- `rank` (Number) The rank (priority) in relation to other rules. Lower rank is higher priority.
4342
- `security_group` (String) Security group used in authorization policies
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
# generated by https://github.com/hashicorp/terraform-plugin-docs
3+
page_title: "ise_sxp_domain_filter Data Source - terraform-provider-ise"
4+
subcategory: "TrustSec"
5+
description: |-
6+
This data source can read the SXP Domain Filter.
7+
---
8+
9+
# ise_sxp_domain_filter (Data Source)
10+
11+
This data source can read the SXP Domain Filter.
12+
13+
## Example Usage
14+
15+
```terraform
16+
data "ise_sxp_domain_filter" "example" {
17+
id = "76d24097-41c4-4558-a4d0-a8c07ac08470"
18+
}
19+
```
20+
21+
<!-- schema generated by tfplugindocs -->
22+
## Schema
23+
24+
### Optional
25+
26+
- `id` (String) The id of the object
27+
- `name` (String) Resource name
28+
29+
### Read-Only
30+
31+
- `description` (String) Description
32+
- `domains` (String) List of SXP Domains, separated with comma
33+
- `sgt` (String) SGT name or ID. At least one of subnet or sgt or vn should be defined
34+
- `subnet` (String) Subnet for filter policy (hostname is not supported). At least one of subnet or sgt or vn should be defined
35+
- `vn` (String) Virtual Network. At least one of subnet or sgt or vn should be defined

docs/guides/changelog.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ description: |-
77

88
# Changelog
99

10+
## 0.2.5 (unreleased)
11+
12+
- Remove default_value from `systemDefined` attribute in `ise_endpoint_identity_group`
13+
- Remove `default` from `ise_device_admin_authorization_global_exception_rule` and `ise_network_access_authorization_global_exception_rule`
14+
- Remove default_value from `isReadOnly` and `readOnly` attributes in `ise_trustsec_security_group` and `ise_trustsec_security_group_acl`
15+
- Add `ise_sxp_domain_filter` resource and data_source
16+
1017
## 0.2.4
1118

1219
- Fix managing `Default` network access and device administration resources

docs/resources/device_admin_authorization_global_exception_rule.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ This resource can manage a Device Admin Authorization Global Exception Rule.
1515
```terraform
1616
resource "ise_device_admin_authorization_global_exception_rule" "example" {
1717
name = "Rule1"
18-
default = false
1918
rank = 0
2019
state = "enabled"
2120
condition_type = "ConditionAttributes"
@@ -50,7 +49,6 @@ resource "ise_device_admin_authorization_global_exception_rule" "example" {
5049
- Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith`
5150
- `condition_type` (String) Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute.
5251
- Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference`
53-
- `default` (Boolean) Indicates if this rule is the default one
5452
- `profile` (String) Device admin profiles control the initial login session of the device administrator
5553
- `rank` (Number) The rank (priority) in relation to other rules. Lower rank is higher priority.
5654
- `state` (String) The state that the rule is in. A disabled rule cannot be matched.

docs/resources/endpoint_identity_group.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ resource "ise_endpoint_identity_group" "example" {
3232
- `description` (String) Description
3333
- `parent_endpoint_identity_group_id` (String) Parent endpoint identity group ID
3434
- `system_defined` (Boolean) System defined endpoint identity group
35-
- Default value: `false`
3635

3736
### Read-Only
3837

docs/resources/network_access_authorization_global_exception_rule.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ This resource can manage a Network Access Authorization Global Exception Rule.
1515
```terraform
1616
resource "ise_network_access_authorization_global_exception_rule" "example" {
1717
name = "Rule1"
18-
default = false
1918
rank = 0
2019
state = "enabled"
2120
condition_type = "ConditionAttributes"
@@ -49,7 +48,6 @@ resource "ise_network_access_authorization_global_exception_rule" "example" {
4948
- Choices: `contains`, `endsWith`, `equals`, `greaterOrEquals`, `greaterThan`, `in`, `ipEquals`, `ipGreaterThan`, `ipLessThan`, `ipNotEquals`, `lessOrEquals`, `lessThan`, `matches`, `notContains`, `notEndsWith`, `notEquals`, `notIn`, `notStartsWith`, `startsWith`
5049
- `condition_type` (String) Indicates whether the record is the condition itself or a logical aggregation. Logical aggreation indicates that additional conditions are present under the children attribute.
5150
- Choices: `ConditionAndBlock`, `ConditionAttributes`, `ConditionOrBlock`, `ConditionReference`
52-
- `default` (Boolean) Indicates if this rule is the default one
5351
- `profiles` (Set of String) The authorization profile(s)
5452
- `rank` (Number) The rank (priority) in relation to other rules. Lower rank is higher priority.
5553
- `security_group` (String) Security group used in authorization policies
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
# generated by https://github.com/hashicorp/terraform-plugin-docs
3+
page_title: "ise_sxp_domain_filter Resource - terraform-provider-ise"
4+
subcategory: "TrustSec"
5+
description: |-
6+
This resource can manage a SXP Domain Filter.
7+
---
8+
9+
# ise_sxp_domain_filter (Resource)
10+
11+
This resource can manage a SXP Domain Filter.
12+
13+
## Example Usage
14+
15+
```terraform
16+
resource "ise_sxp_domain_filter" "example" {
17+
subnet = "1.0.0.0/24"
18+
vn = "VN1"
19+
domains = "default"
20+
}
21+
```
22+
23+
<!-- schema generated by tfplugindocs -->
24+
## Schema
25+
26+
### Required
27+
28+
- `domains` (String) List of SXP Domains, separated with comma
29+
30+
### Optional
31+
32+
- `description` (String) Description
33+
- `name` (String) Resource name
34+
- `sgt` (String) SGT name or ID. At least one of subnet or sgt or vn should be defined
35+
- `subnet` (String) Subnet for filter policy (hostname is not supported). At least one of subnet or sgt or vn should be defined
36+
- `vn` (String) Virtual Network. At least one of subnet or sgt or vn should be defined
37+
38+
### Read-Only
39+
40+
- `id` (String) The id of the object
41+
42+
## Import
43+
44+
Import is supported using the following syntax:
45+
46+
```shell
47+
terraform import ise_sxp_domain_filter.example "76d24097-41c4-4558-a4d0-a8c07ac08470"
48+
```

0 commit comments

Comments
 (0)