Skip to content

Commit d2a9a42

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Cloud SIEM - Add instantaneousBaseline feature parameter. (#33204)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent c9ec5a7 commit d2a9a42

File tree

4 files changed

+91
-15
lines changed

4 files changed

+91
-15
lines changed

content/en/api/v2/security-monitoring/examples.json

Lines changed: 30 additions & 15 deletions
Large diffs are not rendered by default.
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"cases": [
3+
{
4+
"name": "",
5+
"status": "info",
6+
"notifications": []
7+
}
8+
],
9+
"hasExtendedTitle": true,
10+
"isEnabled": true,
11+
"message": "My security monitoring rule",
12+
"name": "My security monitoring rule",
13+
"options": {
14+
"evaluationWindow": 0,
15+
"keepAlive": 300,
16+
"maxSignalDuration": 600,
17+
"detectionMethod": "new_value",
18+
"newValueOptions": {
19+
"forgetAfter": 7,
20+
"instantaneousBaseline": true,
21+
"learningDuration": 1,
22+
"learningThreshold": 0,
23+
"learningMethod": "duration"
24+
}
25+
},
26+
"queries": [
27+
{
28+
"query": "source:source_here",
29+
"groupByFields": [
30+
"@userIdentity.assumed_role"
31+
],
32+
"distinctFields": [],
33+
"metric": "name",
34+
"metrics": [
35+
"name"
36+
],
37+
"aggregation": "new_value",
38+
"name": "",
39+
"dataSource": "logs"
40+
}
41+
],
42+
"tags": [
43+
"env:prod",
44+
"team:security"
45+
],
46+
"type": "log_detection"
47+
}

data/api/v2/CodeExamples.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1687,6 +1687,11 @@
16871687
"suffix": "",
16881688
"description": "Validate a detection rule returns \"OK\" response"
16891689
},
1690+
{
1691+
"group": "security_monitoring",
1692+
"suffix": "_2609327779",
1693+
"description": "Validate a detection rule with detection method 'new_value' with enabled feature 'instantaneousBaseline' returns \"OK\" response"
1694+
},
16901695
{
16911696
"group": "security_monitoring",
16921697
"suffix": "_4152369508",

data/api/v2/full_spec.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47830,6 +47830,8 @@ components:
4783047830
properties:
4783147831
forgetAfter:
4783247832
$ref: '#/components/schemas/SecurityMonitoringRuleNewValueOptionsForgetAfter'
47833+
instantaneousBaseline:
47834+
$ref: '#/components/schemas/SecurityMonitoringRuleNewValueOptionsInstantaneousBaseline'
4783347835
learningDuration:
4783447836
$ref: '#/components/schemas/SecurityMonitoringRuleNewValueOptionsLearningDuration'
4783547837
learningMethod:
@@ -47855,6 +47857,13 @@ components:
4785547857
- TWO_WEEKS
4785647858
- THREE_WEEKS
4785747859
- FOUR_WEEKS
47860+
SecurityMonitoringRuleNewValueOptionsInstantaneousBaseline:
47861+
description: When set to true, Datadog uses previous values that fall within
47862+
the defined learning window to construct the baseline, enabling the system
47863+
to establish an accurate baseline more rapidly rather than relying solely
47864+
on gradual learning over time.
47865+
example: false
47866+
type: boolean
4785847867
SecurityMonitoringRuleNewValueOptionsLearningDuration:
4785947868
default: 0
4786047869
description: 'The duration in days during which values are learned, and after

0 commit comments

Comments
 (0)