Skip to content

Commit ad8eac5

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add suppression tags (#2768)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent dd06bf3 commit ad8eac5

15 files changed

+135
-77
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46991,6 +46991,14 @@ components:
4699146991
the queries to search signals in the signal explorer.
4699246992
example: env:staging status:low
4699346993
type: string
46994+
tags:
46995+
description: List of tags associated with the suppression rule.
46996+
example:
46997+
- technique:T1110-brute-force
46998+
- source:cloudtrail
46999+
items:
47000+
type: string
47001+
type: array
4699447002
update_date:
4699547003
description: A Unix millisecond timestamp given the update date of the suppression
4699647004
rule.
@@ -47052,6 +47060,14 @@ components:
4705247060
same syntax as the queries to search signals in the Signals Explorer.
4705347061
example: env:staging status:low
4705447062
type: string
47063+
tags:
47064+
description: List of tags associated with the suppression rule.
47065+
example:
47066+
- technique:T1110-brute-force
47067+
- source:cloudtrail
47068+
items:
47069+
type: string
47070+
type: array
4705547071
required:
4705647072
- name
4705747073
- enabled
@@ -47147,6 +47163,14 @@ components:
4714747163
the queries to search signals in the signal explorer.
4714847164
example: env:staging status:low
4714947165
type: string
47166+
tags:
47167+
description: List of tags associated with the suppression rule.
47168+
example:
47169+
- technique:T1110-brute-force
47170+
- source:cloudtrail
47171+
items:
47172+
type: string
47173+
type: array
4715047174
version:
4715147175
description: The current version of the suppression. This is optional, but
4715247176
it can help prevent concurrent modifications.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2024-11-27T15:22:34.711Z
1+
2025-11-07T12:27:25.514Z

cassettes/features/v2/security_monitoring/Create-a-suppression-rule-returns-OK-response.yml

Lines changed: 12 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2024-05-10T16:34:39.853Z
1+
2025-11-07T12:27:26.759Z

cassettes/features/v2/security_monitoring/Delete-a-suppression-rule-returns-OK-response.yml

Lines changed: 12 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2024-05-10T16:34:46.398Z
1+
2025-11-07T12:27:27.654Z

cassettes/features/v2/security_monitoring/Get-a-suppression-rule-returns-OK-response.yml

Lines changed: 15 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2024-05-10T16:34:51.901Z
1+
2025-11-07T12:27:28.613Z

cassettes/features/v2/security_monitoring/Update-a-suppression-rule-returns-OK-response.yml

Lines changed: 16 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/v2/security-monitoring/CreateSecurityMonitoringSuppression.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
name: "Example-Security-Monitoring",
1414
rule_query: "type:log_detection source:cloudtrail",
1515
suppression_query: "env:staging status:low",
16+
tags: [
17+
"technique:T1110-brute-force",
18+
"source:cloudtrail",
19+
],
1620
}),
1721
type: DatadogAPIClient::V2::SecurityMonitoringSuppressionType::SUPPRESSIONS,
1822
}),

0 commit comments

Comments
 (0)