Skip to content

Commit 749562e

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add editable field to suppression rule (#1673)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 5c5e892 commit 749562e

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
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-08-21 16:52:41.809373",
8-
"spec_repo_commit": "ffed3856"
7+
"regenerated": "2024-08-21 17:41:02.666521",
8+
"spec_repo_commit": "e8ef24a7"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-08-21 16:52:41.835691",
13-
"spec_repo_commit": "ffed3856"
12+
"regenerated": "2024-08-21 17:41:02.685109",
13+
"spec_repo_commit": "e8ef24a7"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19603,6 +19603,10 @@ components:
1960319603
description: A description for the suppression rule.
1960419604
example: This rule suppresses low-severity signals in staging environments.
1960519605
type: string
19606+
editable:
19607+
description: Whether the suppression rule is editable.
19608+
example: true
19609+
type: boolean
1960619610
enabled:
1960719611
description: Whether the suppression rule is enabled.
1960819612
example: true

packages/datadog-api-client-v2/models/SecurityMonitoringSuppressionAttributes.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ export class SecurityMonitoringSuppressionAttributes {
2727
* A description for the suppression rule.
2828
*/
2929
"description"?: string;
30+
/**
31+
* Whether the suppression rule is editable.
32+
*/
33+
"editable"?: boolean;
3034
/**
3135
* Whether the suppression rule is enabled.
3236
*/
@@ -93,6 +97,10 @@ export class SecurityMonitoringSuppressionAttributes {
9397
baseName: "description",
9498
type: "string",
9599
},
100+
editable: {
101+
baseName: "editable",
102+
type: "boolean",
103+
},
96104
enabled: {
97105
baseName: "enabled",
98106
type: "boolean",

0 commit comments

Comments
 (0)