Skip to content

Commit d0d384d

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
[SEC-2514]add documentation to keepAlive and evaluationWindow (#2073)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent f33e892 commit d0d384d

File tree

5 files changed

+12
-10
lines changed

5 files changed

+12
-10
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": "2024-07-26 19:58:47.789565",
8-
"spec_repo_commit": "2c4b4e85"
7+
"regenerated": "2024-07-30 17:56:17.160652",
8+
"spec_repo_commit": "4380003d"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-07-26 19:58:47.806497",
13-
"spec_repo_commit": "2c4b4e85"
12+
"regenerated": "2024-07-30 17:56:17.178544",
13+
"spec_repo_commit": "4380003d"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18006,7 +18006,8 @@ components:
1800618006
description: 'A time window is specified to match when at least one of the cases
1800718007
matches true. This is a sliding window
1800818008

18009-
and evaluates in real time.'
18009+
and evaluates in real time. For third party rules, it should equal max signal
18010+
duration.'
1801018011
enum:
1801118012
- 0
1801218013
- 60
@@ -18050,7 +18051,8 @@ components:
1805018051
type: boolean
1805118052
SecurityMonitoringRuleKeepAlive:
1805218053
description: "Once a signal is generated, the signal will remain \u201Copen\u201D
18053-
if a case is matched at least once within\nthis keep alive window."
18054+
if a case is matched at least once within\nthis keep alive window. For third
18055+
party rules, it should equal max signal duration."
1805418056
enum:
1805518057
- 0
1805618058
- 60

src/datadog_api_client/v2/model/security_monitoring_rule_evaluation_window.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
class SecurityMonitoringRuleEvaluationWindow(ModelSimple):
1616
"""
1717
A time window is specified to match when at least one of the cases matches true. This is a sliding window
18-
and evaluates in real time.
18+
and evaluates in real time. For third party rules, it should equal max signal duration.
1919
2020
:param value: Must be one of [0, 60, 300, 600, 900, 1800, 3600, 7200].
2121
:type value: int

src/datadog_api_client/v2/model/security_monitoring_rule_keep_alive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
class SecurityMonitoringRuleKeepAlive(ModelSimple):
1616
"""
1717
Once a signal is generated, the signal will remain “open” if a case is matched at least once within
18-
this keep alive window.
18+
this keep alive window. For third party rules, it should equal max signal duration.
1919
2020
:param value: Must be one of [0, 60, 300, 600, 900, 1800, 3600, 7200, 10800, 21600].
2121
:type value: int

src/datadog_api_client/v2/model/security_monitoring_rule_options.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def __init__(
126126
:type detection_method: SecurityMonitoringRuleDetectionMethod, optional
127127
128128
:param evaluation_window: A time window is specified to match when at least one of the cases matches true. This is a sliding window
129-
and evaluates in real time.
129+
and evaluates in real time. For third party rules, it should equal max signal duration.
130130
:type evaluation_window: SecurityMonitoringRuleEvaluationWindow, optional
131131
132132
:param hardcoded_evaluator_type: Hardcoded evaluator type.
@@ -136,7 +136,7 @@ def __init__(
136136
:type impossible_travel_options: SecurityMonitoringRuleImpossibleTravelOptions, optional
137137
138138
:param keep_alive: Once a signal is generated, the signal will remain “open” if a case is matched at least once within
139-
this keep alive window.
139+
this keep alive window. For third party rules, it should equal max signal duration.
140140
:type keep_alive: SecurityMonitoringRuleKeepAlive, optional
141141
142142
:param max_signal_duration: A signal will “close” regardless of the query being matched once the time exceeds the maximum duration.

0 commit comments

Comments
 (0)