diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 124ae278d8ae..118e4628377d 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -106246,6 +106246,11 @@ components: items: $ref: "#/components/schemas/SecurityMonitoringRuleCase" type: array + compatibleVersion: + description: The version of the rule at which its detection logic last changed. Updates that only change the name, message, tags, or notifications do not change this value. + example: 1 + format: int64 + type: integer createdAt: description: When the rule was created, timestamp in milliseconds. format: int64 @@ -107081,6 +107086,11 @@ components: items: $ref: "#/components/schemas/SecurityMonitoringRuleCase" type: array + compatibleVersion: + description: The version of the rule at which its detection logic last changed. Updates that only change the name, message, tags, or notifications do not change this value. + example: 1 + format: int64 + type: integer complianceSignalOptions: $ref: "#/components/schemas/CloudConfigurationRuleComplianceSignalOptions" createdAt: diff --git a/services/security_monitoring/src/v2/models/SecurityMonitoringSignalRuleResponse.ts b/services/security_monitoring/src/v2/models/SecurityMonitoringSignalRuleResponse.ts index 0cde16f56213..cf529b79c8c5 100644 --- a/services/security_monitoring/src/v2/models/SecurityMonitoringSignalRuleResponse.ts +++ b/services/security_monitoring/src/v2/models/SecurityMonitoringSignalRuleResponse.ts @@ -14,6 +14,10 @@ export class SecurityMonitoringSignalRuleResponse { * Cases for generating signals. */ "cases"?: Array; + /** + * The version of the rule at which its detection logic last changed. Updates that only change the name, message, tags, or notifications do not change this value. + */ + "compatibleVersion"?: number; /** * When the rule was created, timestamp in milliseconds. */ @@ -109,6 +113,11 @@ export class SecurityMonitoringSignalRuleResponse { baseName: "cases", type: "Array", }, + compatibleVersion: { + baseName: "compatibleVersion", + type: "number", + format: "int64", + }, createdAt: { baseName: "createdAt", type: "number", diff --git a/services/security_monitoring/src/v2/models/SecurityMonitoringStandardRuleResponse.ts b/services/security_monitoring/src/v2/models/SecurityMonitoringStandardRuleResponse.ts index 1286824e8721..a8fcd2e3f122 100644 --- a/services/security_monitoring/src/v2/models/SecurityMonitoringStandardRuleResponse.ts +++ b/services/security_monitoring/src/v2/models/SecurityMonitoringStandardRuleResponse.ts @@ -23,6 +23,10 @@ export class SecurityMonitoringStandardRuleResponse { * Cases for generating signals. */ "cases"?: Array; + /** + * The version of the rule at which its detection logic last changed. Updates that only change the name, message, tags, or notifications do not change this value. + */ + "compatibleVersion"?: number; /** * How to generate compliance signals. Useful for cloud_configuration rules only. */ @@ -150,6 +154,11 @@ export class SecurityMonitoringStandardRuleResponse { baseName: "cases", type: "Array", }, + compatibleVersion: { + baseName: "compatibleVersion", + type: "number", + format: "int64", + }, complianceSignalOptions: { baseName: "complianceSignalOptions", type: "CloudConfigurationRuleComplianceSignalOptions",