Skip to content

Commit c78de6f

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add suppression tags (#32687)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 00c4494 commit c78de6f

File tree

5 files changed

+494
-12
lines changed

5 files changed

+494
-12
lines changed

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

Lines changed: 47 additions & 11 deletions
Large diffs are not rendered by default.

content/en/api/v2/security-monitoring/request.CreateSecurityMonitoringSuppression.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@
77
"expiration_date": 1638443471000,
88
"name": "Example-Security-Monitoring",
99
"rule_query": "type:log_detection source:cloudtrail",
10-
"suppression_query": "env:staging status:low"
10+
"suppression_query": "env:staging status:low",
11+
"tags": [
12+
"technique:T1110-brute-force",
13+
"source:cloudtrail"
14+
]
1115
},
1216
"type": "suppressions"
1317
}

data/api/v2/full_spec.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47424,6 +47424,14 @@ components:
4742447424
the queries to search signals in the signal explorer.
4742547425
example: env:staging status:low
4742647426
type: string
47427+
tags:
47428+
description: List of tags associated with the suppression rule.
47429+
example:
47430+
- technique:T1110-brute-force
47431+
- source:cloudtrail
47432+
items:
47433+
type: string
47434+
type: array
4742747435
update_date:
4742847436
description: A Unix millisecond timestamp given the update date of the suppression
4742947437
rule.
@@ -47485,6 +47493,14 @@ components:
4748547493
same syntax as the queries to search signals in the Signals Explorer.
4748647494
example: env:staging status:low
4748747495
type: string
47496+
tags:
47497+
description: List of tags associated with the suppression rule.
47498+
example:
47499+
- technique:T1110-brute-force
47500+
- source:cloudtrail
47501+
items:
47502+
type: string
47503+
type: array
4748847504
required:
4748947505
- name
4749047506
- enabled
@@ -47580,6 +47596,14 @@ components:
4758047596
the queries to search signals in the signal explorer.
4758147597
example: env:staging status:low
4758247598
type: string
47599+
tags:
47600+
description: List of tags associated with the suppression rule.
47601+
example:
47602+
- technique:T1110-brute-force
47603+
- source:cloudtrail
47604+
items:
47605+
type: string
47606+
type: array
4758347607
version:
4758447608
description: The current version of the suppression. This is optional, but
4758547609
it can help prevent concurrent modifications.

data/api/v2/full_spec_deref.json

Lines changed: 209 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334334,6 +334334,17 @@
334334334334
"example": "env:staging status:low",
334335334335
"type": "string"
334336334336
},
334337+
"tags": {
334338+
"description": "List of tags associated with the suppression rule.",
334339+
"example": [
334340+
"technique:T1110-brute-force",
334341+
"source:cloudtrail"
334342+
],
334343+
"items": {
334344+
"type": "string"
334345+
},
334346+
"type": "array"
334347+
},
334337334348
"update_date": {
334338334349
"description": "A Unix millisecond timestamp given the update date of the suppression rule.",
334339334350
"format": "int64",
@@ -334458,6 +334469,17 @@
334458334469
"example": "env:staging status:low",
334459334470
"type": "string"
334460334471
},
334472+
"tags": {
334473+
"description": "List of tags associated with the suppression rule.",
334474+
"example": [
334475+
"technique:T1110-brute-force",
334476+
"source:cloudtrail"
334477+
],
334478+
"items": {
334479+
"type": "string"
334480+
},
334481+
"type": "array"
334482+
},
334461334483
"update_date": {
334462334484
"description": "A Unix millisecond timestamp given the update date of the suppression rule.",
334463334485
"format": "int64",
@@ -334534,6 +334556,17 @@
334534334556
"description": "The suppression query of the suppression rule. If a signal matches this query, it is suppressed and is not triggered. It uses the same syntax as the queries to search signals in the Signals Explorer.",
334535334557
"example": "env:staging status:low",
334536334558
"type": "string"
334559+
},
334560+
"tags": {
334561+
"description": "List of tags associated with the suppression rule.",
334562+
"example": [
334563+
"technique:T1110-brute-force",
334564+
"source:cloudtrail"
334565+
],
334566+
"items": {
334567+
"type": "string"
334568+
},
334569+
"type": "array"
334537334570
}
334538334571
},
334539334572
"required": [
@@ -334590,6 +334623,17 @@
334590334623
"description": "The suppression query of the suppression rule. If a signal matches this query, it is suppressed and is not triggered. It uses the same syntax as the queries to search signals in the Signals Explorer.",
334591334624
"example": "env:staging status:low",
334592334625
"type": "string"
334626+
},
334627+
"tags": {
334628+
"description": "List of tags associated with the suppression rule.",
334629+
"example": [
334630+
"technique:T1110-brute-force",
334631+
"source:cloudtrail"
334632+
],
334633+
"items": {
334634+
"type": "string"
334635+
},
334636+
"type": "array"
334593334637
}
334594334638
},
334595334639
"required": [
@@ -334668,6 +334712,17 @@
334668334712
"description": "The suppression query of the suppression rule. If a signal matches this query, it is suppressed and is not triggered. It uses the same syntax as the queries to search signals in the Signals Explorer.",
334669334713
"example": "env:staging status:low",
334670334714
"type": "string"
334715+
},
334716+
"tags": {
334717+
"description": "List of tags associated with the suppression rule.",
334718+
"example": [
334719+
"technique:T1110-brute-force",
334720+
"source:cloudtrail"
334721+
],
334722+
"items": {
334723+
"type": "string"
334724+
},
334725+
"type": "array"
334671334726
}
334672334727
},
334673334728
"required": [
@@ -334785,6 +334840,17 @@
334785334840
"example": "env:staging status:low",
334786334841
"type": "string"
334787334842
},
334843+
"tags": {
334844+
"description": "List of tags associated with the suppression rule.",
334845+
"example": [
334846+
"technique:T1110-brute-force",
334847+
"source:cloudtrail"
334848+
],
334849+
"items": {
334850+
"type": "string"
334851+
},
334852+
"type": "array"
334853+
},
334788334854
"update_date": {
334789334855
"description": "A Unix millisecond timestamp given the update date of the suppression rule.",
334790334856
"format": "int64",
@@ -334899,6 +334965,17 @@
334899334965
"example": "env:staging status:low",
334900334966
"type": "string"
334901334967
},
334968+
"tags": {
334969+
"description": "List of tags associated with the suppression rule.",
334970+
"example": [
334971+
"technique:T1110-brute-force",
334972+
"source:cloudtrail"
334973+
],
334974+
"items": {
334975+
"type": "string"
334976+
},
334977+
"type": "array"
334978+
},
334902334979
"version": {
334903334980
"description": "The current version of the suppression. This is optional, but it can help prevent concurrent modifications.",
334904334981
"format": "int32",
@@ -334958,6 +335035,17 @@
334958335035
"example": "env:staging status:low",
334959335036
"type": "string"
334960335037
},
335038+
"tags": {
335039+
"description": "List of tags associated with the suppression rule.",
335040+
"example": [
335041+
"technique:T1110-brute-force",
335042+
"source:cloudtrail"
335043+
],
335044+
"items": {
335045+
"type": "string"
335046+
},
335047+
"type": "array"
335048+
},
334961335049
"version": {
334962335050
"description": "The current version of the suppression. This is optional, but it can help prevent concurrent modifications.",
334963335051
"format": "int32",
@@ -335039,6 +335127,17 @@
335039335127
"example": "env:staging status:low",
335040335128
"type": "string"
335041335129
},
335130+
"tags": {
335131+
"description": "List of tags associated with the suppression rule.",
335132+
"example": [
335133+
"technique:T1110-brute-force",
335134+
"source:cloudtrail"
335135+
],
335136+
"items": {
335137+
"type": "string"
335138+
},
335139+
"type": "array"
335140+
},
335042335141
"version": {
335043335142
"description": "The current version of the suppression. This is optional, but it can help prevent concurrent modifications.",
335044335143
"format": "int32",
@@ -335153,6 +335252,17 @@
335153335252
"example": "env:staging status:low",
335154335253
"type": "string"
335155335254
},
335255+
"tags": {
335256+
"description": "List of tags associated with the suppression rule.",
335257+
"example": [
335258+
"technique:T1110-brute-force",
335259+
"source:cloudtrail"
335260+
],
335261+
"items": {
335262+
"type": "string"
335263+
},
335264+
"type": "array"
335265+
},
335156335266
"update_date": {
335157335267
"description": "A Unix millisecond timestamp given the update date of the suppression rule.",
335158335268
"format": "int64",
@@ -670577,6 +670687,17 @@
670577670687
"example": "env:staging status:low",
670578670688
"type": "string"
670579670689
},
670690+
"tags": {
670691+
"description": "List of tags associated with the suppression rule.",
670692+
"example": [
670693+
"technique:T1110-brute-force",
670694+
"source:cloudtrail"
670695+
],
670696+
"items": {
670697+
"type": "string"
670698+
},
670699+
"type": "array"
670700+
},
670580670701
"update_date": {
670581670702
"description": "A Unix millisecond timestamp given the update date of the suppression rule.",
670582670703
"format": "int64",
@@ -670768,6 +670889,17 @@
670768670889
"description": "The suppression query of the suppression rule. If a signal matches this query, it is suppressed and is not triggered. It uses the same syntax as the queries to search signals in the Signals Explorer.",
670769670890
"example": "env:staging status:low",
670770670891
"type": "string"
670892+
},
670893+
"tags": {
670894+
"description": "List of tags associated with the suppression rule.",
670895+
"example": [
670896+
"technique:T1110-brute-force",
670897+
"source:cloudtrail"
670898+
],
670899+
"items": {
670900+
"type": "string"
670901+
},
670902+
"type": "array"
670771670903
}
670772670904
},
670773670905
"required": [
@@ -670889,6 +671021,17 @@
670889671021
"example": "env:staging status:low",
670890671022
"type": "string"
670891671023
},
671024+
"tags": {
671025+
"description": "List of tags associated with the suppression rule.",
671026+
"example": [
671027+
"technique:T1110-brute-force",
671028+
"source:cloudtrail"
671029+
],
671030+
"items": {
671031+
"type": "string"
671032+
},
671033+
"type": "array"
671034+
},
670892671035
"update_date": {
670893671036
"description": "A Unix millisecond timestamp given the update date of the suppression rule.",
670894671037
"format": "int64",
@@ -672957,6 +673100,17 @@
672957673100
"example": "env:staging status:low",
672958673101
"type": "string"
672959673102
},
673103+
"tags": {
673104+
"description": "List of tags associated with the suppression rule.",
673105+
"example": [
673106+
"technique:T1110-brute-force",
673107+
"source:cloudtrail"
673108+
],
673109+
"items": {
673110+
"type": "string"
673111+
},
673112+
"type": "array"
673113+
},
672960673114
"update_date": {
672961673115
"description": "A Unix millisecond timestamp given the update date of the suppression rule.",
672962673116
"format": "int64",
@@ -673220,6 +673374,17 @@
673220673374
"example": "env:staging status:low",
673221673375
"type": "string"
673222673376
},
673377+
"tags": {
673378+
"description": "List of tags associated with the suppression rule.",
673379+
"example": [
673380+
"technique:T1110-brute-force",
673381+
"source:cloudtrail"
673382+
],
673383+
"items": {
673384+
"type": "string"
673385+
},
673386+
"type": "array"
673387+
},
673223673388
"update_date": {
673224673389
"description": "A Unix millisecond timestamp given the update date of the suppression rule.",
673225673390
"format": "int64",
@@ -673441,6 +673606,17 @@
673441673606
"description": "The suppression query of the suppression rule. If a signal matches this query, it is suppressed and is not triggered. It uses the same syntax as the queries to search signals in the Signals Explorer.",
673442673607
"example": "env:staging status:low",
673443673608
"type": "string"
673609+
},
673610+
"tags": {
673611+
"description": "List of tags associated with the suppression rule.",
673612+
"example": [
673613+
"technique:T1110-brute-force",
673614+
"source:cloudtrail"
673615+
],
673616+
"items": {
673617+
"type": "string"
673618+
},
673619+
"type": "array"
673444673620
}
673445673621
},
673446673622
"required": [
@@ -673810,6 +673986,17 @@
673810673986
"example": "env:staging status:low",
673811673987
"type": "string"
673812673988
},
673989+
"tags": {
673990+
"description": "List of tags associated with the suppression rule.",
673991+
"example": [
673992+
"technique:T1110-brute-force",
673993+
"source:cloudtrail"
673994+
],
673995+
"items": {
673996+
"type": "string"
673997+
},
673998+
"type": "array"
673999+
},
673813674000
"update_date": {
673814674001
"description": "A Unix millisecond timestamp given the update date of the suppression rule.",
673815674002
"format": "int64",
@@ -674041,6 +674228,17 @@
674041674228
"example": "env:staging status:low",
674042674229
"type": "string"
674043674230
},
674231+
"tags": {
674232+
"description": "List of tags associated with the suppression rule.",
674233+
"example": [
674234+
"technique:T1110-brute-force",
674235+
"source:cloudtrail"
674236+
],
674237+
"items": {
674238+
"type": "string"
674239+
},
674240+
"type": "array"
674241+
},
674044674242
"version": {
674045674243
"description": "The current version of the suppression. This is optional, but it can help prevent concurrent modifications.",
674046674244
"format": "int32",
@@ -674162,6 +674360,17 @@
674162674360
"example": "env:staging status:low",
674163674361
"type": "string"
674164674362
},
674363+
"tags": {
674364+
"description": "List of tags associated with the suppression rule.",
674365+
"example": [
674366+
"technique:T1110-brute-force",
674367+
"source:cloudtrail"
674368+
],
674369+
"items": {
674370+
"type": "string"
674371+
},
674372+
"type": "array"
674373+
},
674165674374
"update_date": {
674166674375
"description": "A Unix millisecond timestamp given the update date of the suppression rule.",
674167674376
"format": "int64",

0 commit comments

Comments
 (0)