Skip to content

Commit c84195f

Browse files
Copilotnick-benoit
andcommitted
Remove duplicate examples from resource descriptions to fix doc duplication
Co-authored-by: nick-benoit <[email protected]>
1 parent 2aa87db commit c84195f

File tree

4 files changed

+0
-108
lines changed

4 files changed

+0
-108
lines changed

docs/resources/kibana_security_exception_item.md

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,6 @@ subcategory: "Kibana"
55
description: |-
66
Manages a Kibana Exception Item. Exception items define the specific query conditions used to prevent rules from generating alerts.
77
See the Kibana Exceptions API documentation https://www.elastic.co/docs/api/doc/kibana/group/endpoint-security-exceptions-api for more details.
8-
Example Usage
9-
10-
resource "elasticstack_kibana_security_exception_item" "example" {
11-
list_id = elasticstack_kibana_security_exception_list.example.list_id
12-
item_id = "my-exception-item"
13-
name = "My Exception Item"
14-
description = "Exclude specific processes from alerts"
15-
type = "simple"
16-
namespace_type = "single"
17-
18-
entries = jsonencode([
19-
{
20-
field = "process.name"
21-
operator = "included"
22-
type = "match"
23-
value = "my-process"
24-
}
25-
])
26-
27-
tags = ["tag1", "tag2"]
28-
}
298
---
309

3110
# elasticstack_kibana_security_exception_item (Resource)
@@ -36,30 +15,6 @@ See the [Kibana Exceptions API documentation](https://www.elastic.co/docs/api/do
3615

3716
## Example Usage
3817

39-
```terraform
40-
resource "elasticstack_kibana_security_exception_item" "example" {
41-
list_id = elasticstack_kibana_security_exception_list.example.list_id
42-
item_id = "my-exception-item"
43-
name = "My Exception Item"
44-
description = "Exclude specific processes from alerts"
45-
type = "simple"
46-
namespace_type = "single"
47-
48-
entries = jsonencode([
49-
{
50-
field = "process.name"
51-
operator = "included"
52-
type = "match"
53-
value = "my-process"
54-
}
55-
])
56-
57-
tags = ["tag1", "tag2"]
58-
}
59-
```
60-
61-
## Example Usage
62-
6318
### Basic exception item
6419

6520
```terraform

docs/resources/kibana_security_exception_list.md

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,6 @@ subcategory: "Kibana"
55
description: |-
66
Manages a Kibana Exception List. Exception lists are containers for exception items used to prevent security rules from generating alerts.
77
See the Kibana Exceptions API documentation https://www.elastic.co/docs/api/doc/kibana/group/endpoint-security-exceptions-api for more details.
8-
Example Usage
9-
10-
resource "elasticstack_kibana_security_exception_list" "example" {
11-
list_id = "my-exception-list"
12-
name = "My Exception List"
13-
description = "List of exceptions for security rules"
14-
type = "detection"
15-
namespace_type = "single"
16-
17-
tags = ["tag1", "tag2"]
18-
}
198
---
209

2110
# elasticstack_kibana_security_exception_list (Resource)
@@ -26,20 +15,6 @@ See the [Kibana Exceptions API documentation](https://www.elastic.co/docs/api/do
2615

2716
## Example Usage
2817

29-
```terraform
30-
resource "elasticstack_kibana_security_exception_list" "example" {
31-
list_id = "my-exception-list"
32-
name = "My Exception List"
33-
description = "List of exceptions for security rules"
34-
type = "detection"
35-
namespace_type = "single"
36-
37-
tags = ["tag1", "tag2"]
38-
}
39-
```
40-
41-
## Example Usage
42-
4318
### Basic exception list
4419

4520
```terraform
Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,3 @@
11
Manages a Kibana Exception Item. Exception items define the specific query conditions used to prevent rules from generating alerts.
22

33
See the [Kibana Exceptions API documentation](https://www.elastic.co/docs/api/doc/kibana/group/endpoint-security-exceptions-api) for more details.
4-
5-
## Example Usage
6-
7-
```terraform
8-
resource "elasticstack_kibana_security_exception_item" "example" {
9-
list_id = elasticstack_kibana_security_exception_list.example.list_id
10-
item_id = "my-exception-item"
11-
name = "My Exception Item"
12-
description = "Exclude specific processes from alerts"
13-
type = "simple"
14-
namespace_type = "single"
15-
16-
entries = jsonencode([
17-
{
18-
field = "process.name"
19-
operator = "included"
20-
type = "match"
21-
value = "my-process"
22-
}
23-
])
24-
25-
tags = ["tag1", "tag2"]
26-
}
27-
```
Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,3 @@
11
Manages a Kibana Exception List. Exception lists are containers for exception items used to prevent security rules from generating alerts.
22

33
See the [Kibana Exceptions API documentation](https://www.elastic.co/docs/api/doc/kibana/group/endpoint-security-exceptions-api) for more details.
4-
5-
## Example Usage
6-
7-
```terraform
8-
resource "elasticstack_kibana_security_exception_list" "example" {
9-
list_id = "my-exception-list"
10-
name = "My Exception List"
11-
description = "List of exceptions for security rules"
12-
type = "detection"
13-
namespace_type = "single"
14-
15-
tags = ["tag1", "tag2"]
16-
}
17-
```

0 commit comments

Comments
 (0)