Skip to content

Commit 2c4fb44

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
[SIEM] Include ruleId in SecurityMonitoringRuleConvertResponse (#2781)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent ee917f3 commit 2c4fb44

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

services/security_monitoring/src/v2/models/SecurityMonitoringRuleConvertResponse.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ import { AttributeTypeMap } from "@datadog/datadog-api-client";
44
* Result of the convert rule request containing Terraform content.
55
*/
66
export class SecurityMonitoringRuleConvertResponse {
7+
/**
8+
* the ID of the rule.
9+
*/
10+
"ruleId"?: string;
711
/**
812
* Terraform string as a result of converting the rule from JSON.
913
*/
@@ -23,6 +27,10 @@ export class SecurityMonitoringRuleConvertResponse {
2327
* @ignore
2428
*/
2529
static readonly attributeTypeMap: AttributeTypeMap = {
30+
ruleId: {
31+
baseName: "ruleId",
32+
type: "string",
33+
},
2634
terraformContent: {
2735
baseName: "terraformContent",
2836
type: "string",

0 commit comments

Comments
 (0)