Skip to content

Commit 0b2e3b0

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
authored andcommitted
[SIEM] Include ruleId in SecurityMonitoringRuleConvertResponse (#2782)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 61b0a7b commit 0b2e3b0

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39011,6 +39011,9 @@ components:
3901139011
SecurityMonitoringRuleConvertResponse:
3901239012
description: Result of the convert rule request containing Terraform content.
3901339013
properties:
39014+
ruleId:
39015+
description: the ID of the rule.
39016+
type: string
3901439017
terraformContent:
3901539018
description: Terraform string as a result of converting the rule from JSON.
3901639019
type: string

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1010
* Result of the convert rule request containing Terraform content.
1111
*/
1212
export class SecurityMonitoringRuleConvertResponse {
13+
/**
14+
* the ID of the rule.
15+
*/
16+
"ruleId"?: string;
1317
/**
1418
* Terraform string as a result of converting the rule from JSON.
1519
*/
@@ -31,6 +35,10 @@ export class SecurityMonitoringRuleConvertResponse {
3135
* @ignore
3236
*/
3337
static readonly attributeTypeMap: AttributeTypeMap = {
38+
ruleId: {
39+
baseName: "ruleId",
40+
type: "string",
41+
},
3442
terraformContent: {
3543
baseName: "terraformContent",
3644
type: "string",

0 commit comments

Comments
 (0)