File tree Expand file tree Collapse file tree 4 files changed +91
-15
lines changed
content/en/api/v2/security-monitoring Expand file tree Collapse file tree 4 files changed +91
-15
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 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+ }
Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments