Skip to content

Commit 09a0e8c

Browse files
Merge pull request #791 from antonymartinsumo/DET-1139-docs
DET-1139: Added the correct example
2 parents d8102af + bfe35ba commit 09a0e8c

File tree

2 files changed

+27
-21
lines changed

2 files changed

+27
-21
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ FEATURES:
55
* **Updated sumologic_monitor resource:** Added support for automated playbooks in monitors
66
* **New Data Source:** sumologic_monitor_folder
77

8+
## 3.1.2 (July 23, 2025)
9+
10+
BUG FIXES:
11+
* Corrected example usage in documentation for sumologic_cse_outlier_rule
12+
813
## 3.1.1 (July 8, 2025)
914

1015
ENHANCEMENTS:

website/docs/r/cse_outlier_rule.html.markdown

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
___
1+
---
22
layout: "sumologic"
33
page_title: "SumoLogic: sumologic_cse_outlier_rule"
44
description: |-
@@ -10,31 +10,32 @@ Provides a Sumo Logic CSE [Outlier Rule](https://help.sumologic.com/docs/cse/rul
1010

1111
## Example Usage
1212
```hcl
13-
resource "sumologic_cse_first_seen_rule" "first_seen_rule" {
13+
resource "sumologic_cse_outlier_rule" "outlier_rule" {
14+
name = "Outlier Rule Example"
15+
name_expression = "Signal name"
16+
description_expression = "Signal description"
17+
enabled = true
18+
baseline_window_size = "2592000000"
19+
floor_value = 3
20+
deviation_threshold = 3
21+
is_prototype = false
22+
match_expression = "objectType = \"Network\""
23+
retention_window_size = "7776000000"
24+
window_size = "T60M"
25+
severity = 3
26+
summary_expression = "Signal summary"
1427
aggregation_functions {
15-
name = "total"
16-
function = "count"
17-
arguments = ["true"]
28+
arguments = [
29+
"true",
30+
]
31+
function = "count"
32+
name = "current"
1833
}
19-
baseline_window_size = "1209600000" // 14 days
20-
description_expression = "Spike in Login Failures - {{ user_username }}"
21-
enabled = true
2234
entity_selectors {
2335
entity_type = "_username"
24-
expression = "user_username"
36+
expression = "user_username"
2537
}
26-
floor_value = 0
27-
deviation_threshold = 3
28-
group_by_fields = ["user_username"]
29-
is_prototype = false
30-
match_expression = "objectType=\"Authentication\" AND success=false"
31-
name = "Spike in Login Failures"
32-
name_expression = "Spike in Login Failures - {{ user_username }}"
33-
retention_window_size = "7776000000" // 90 days
34-
severity = 1
35-
summary_expression = "Spike in Login Failures - {{ user_username }}"
36-
window_size = "T24H"
37-
suppression_window_size = 90000000
38+
tags = ["_mitreAttackTactic:TA0005"]
3839
}
3940
```
4041
## Argument Reference

0 commit comments

Comments
 (0)