Skip to content

Commit aa07543

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add evaluation_window and keep_alive for Security monitoring rule (#2725)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 46a0c27 commit aa07543

File tree

4 files changed

+32
-6
lines changed

4 files changed

+32
-6
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-02-21 18:16:25.164341",
8-
"spec_repo_commit": "5de91bd6"
7+
"regenerated": "2025-02-21 19:13:50.295635",
8+
"spec_repo_commit": "47fc5add"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-02-21 18:16:25.179171",
13-
"spec_repo_commit": "5de91bd6"
12+
"regenerated": "2025-02-21 19:13:50.311443",
13+
"spec_repo_commit": "47fc5add"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25121,6 +25121,10 @@ components:
2512125121
- 1800
2512225122
- 3600
2512325123
- 7200
25124+
- 10800
25125+
- 21600
25126+
- 43200
25127+
- 86400
2512425128
format: int32
2512525129
type: integer
2512625130
x-enum-varnames:
@@ -25132,6 +25136,10 @@ components:
2513225136
- THIRTY_MINUTES
2513325137
- ONE_HOUR
2513425138
- TWO_HOURS
25139+
- THREE_HOURS
25140+
- SIX_HOURS
25141+
- TWELVE_HOURS
25142+
- ONE_DAY
2513525143
SecurityMonitoringRuleHardcodedEvaluatorType:
2513625144
description: Hardcoded evaluator type.
2513725145
enum:
@@ -25168,6 +25176,8 @@ components:
2516825176
- 7200
2516925177
- 10800
2517025178
- 21600
25179+
- 43200
25180+
- 86400
2517125181
format: int32
2517225182
type: integer
2517325183
x-enum-varnames:
@@ -25181,6 +25191,8 @@ components:
2518125191
- TWO_HOURS
2518225192
- THREE_HOURS
2518325193
- SIX_HOURS
25194+
- TWELVE_HOURS
25195+
- ONE_DAY
2518425196
SecurityMonitoringRuleMaxSignalDuration:
2518525197
description: "A signal will \u201Cclose\u201D regardless of the query being
2518625198
matched once the time exceeds the maximum duration.\nThis time is calculated

src/main/java/com/datadog/api/client/v2/model/SecurityMonitoringRuleEvaluationWindow.java

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030
public class SecurityMonitoringRuleEvaluationWindow extends ModelEnum<Integer> {
3131

3232
private static final Set<Integer> allowedValues =
33-
new HashSet<Integer>(Arrays.asList(0, 60, 300, 600, 900, 1800, 3600, 7200));
33+
new HashSet<Integer>(
34+
Arrays.asList(0, 60, 300, 600, 900, 1800, 3600, 7200, 10800, 21600, 43200, 86400));
3435

3536
public static final SecurityMonitoringRuleEvaluationWindow ZERO_MINUTES =
3637
new SecurityMonitoringRuleEvaluationWindow(0);
@@ -48,6 +49,14 @@ public class SecurityMonitoringRuleEvaluationWindow extends ModelEnum<Integer> {
4849
new SecurityMonitoringRuleEvaluationWindow(3600);
4950
public static final SecurityMonitoringRuleEvaluationWindow TWO_HOURS =
5051
new SecurityMonitoringRuleEvaluationWindow(7200);
52+
public static final SecurityMonitoringRuleEvaluationWindow THREE_HOURS =
53+
new SecurityMonitoringRuleEvaluationWindow(10800);
54+
public static final SecurityMonitoringRuleEvaluationWindow SIX_HOURS =
55+
new SecurityMonitoringRuleEvaluationWindow(21600);
56+
public static final SecurityMonitoringRuleEvaluationWindow TWELVE_HOURS =
57+
new SecurityMonitoringRuleEvaluationWindow(43200);
58+
public static final SecurityMonitoringRuleEvaluationWindow ONE_DAY =
59+
new SecurityMonitoringRuleEvaluationWindow(86400);
5160

5261
SecurityMonitoringRuleEvaluationWindow(Integer value) {
5362
super(value, allowedValues);

src/main/java/com/datadog/api/client/v2/model/SecurityMonitoringRuleKeepAlive.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
public class SecurityMonitoringRuleKeepAlive extends ModelEnum<Integer> {
2828

2929
private static final Set<Integer> allowedValues =
30-
new HashSet<Integer>(Arrays.asList(0, 60, 300, 600, 900, 1800, 3600, 7200, 10800, 21600));
30+
new HashSet<Integer>(
31+
Arrays.asList(0, 60, 300, 600, 900, 1800, 3600, 7200, 10800, 21600, 43200, 86400));
3132

3233
public static final SecurityMonitoringRuleKeepAlive ZERO_MINUTES =
3334
new SecurityMonitoringRuleKeepAlive(0);
@@ -49,6 +50,10 @@ public class SecurityMonitoringRuleKeepAlive extends ModelEnum<Integer> {
4950
new SecurityMonitoringRuleKeepAlive(10800);
5051
public static final SecurityMonitoringRuleKeepAlive SIX_HOURS =
5152
new SecurityMonitoringRuleKeepAlive(21600);
53+
public static final SecurityMonitoringRuleKeepAlive TWELVE_HOURS =
54+
new SecurityMonitoringRuleKeepAlive(43200);
55+
public static final SecurityMonitoringRuleKeepAlive ONE_DAY =
56+
new SecurityMonitoringRuleKeepAlive(86400);
5257

5358
SecurityMonitoringRuleKeepAlive(Integer value) {
5459
super(value, allowedValues);

0 commit comments

Comments
 (0)