Skip to content

Commit 64180e8

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Security Monitoring Rule - Add the updatedAt field in the SecurityMonitoringStandardRuleResponse (#2114)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 130eb02 commit 64180e8

9 files changed

+62
-48
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-12-09 11:21:38.816823",
8-
"spec_repo_commit": "21da0df3"
7+
"regenerated": "2024-12-10 13:52:29.278222",
8+
"spec_repo_commit": "4f71be94"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-12-09 11:21:38.838595",
13-
"spec_repo_commit": "21da0df3"
12+
"regenerated": "2024-12-10 13:52:29.297144",
13+
"spec_repo_commit": "4f71be94"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22893,6 +22893,10 @@ components:
2289322893
description: User ID of the user who updated the rule.
2289422894
format: int64
2289522895
type: integer
22896+
updatedAt:
22897+
description: The date the rule was last updated, in milliseconds.
22898+
format: int64
22899+
type: integer
2289622900
version:
2289722901
description: The version of the rule.
2289822902
format: int64
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2024-05-10T16:34:48.233Z
1+
2024-11-22T13:52:05.136Z

cassettes/features/v2/security_monitoring/List-rules-returns-OK-response.yml

Lines changed: 22 additions & 22 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:48.765Z
1+
2024-11-22T13:52:07.331Z

cassettes/features/v2/security_monitoring/Update-a-cloud-configuration-rule-s-details-returns-OK-response.yml

Lines changed: 9 additions & 9 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:54.978Z
1+
2024-11-22T13:52:12.595Z

cassettes/features/v2/security_monitoring/Update-an-existing-rule-returns-OK-response.yml

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

lib/datadog_api_client/v2/models/security_monitoring_standard_rule_response.rb

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ class SecurityMonitoringStandardRuleResponse
8484
# User ID of the user who updated the rule.
8585
attr_accessor :update_author_id
8686

87+
# The date the rule was last updated, in milliseconds.
88+
attr_accessor :updated_at
89+
8790
# The version of the rule.
8891
attr_accessor :version
8992

@@ -114,6 +117,7 @@ def self.attribute_map
114117
:'third_party_cases' => :'thirdPartyCases',
115118
:'type' => :'type',
116119
:'update_author_id' => :'updateAuthorId',
120+
:'updated_at' => :'updatedAt',
117121
:'version' => :'version'
118122
}
119123
end
@@ -143,6 +147,7 @@ def self.openapi_types
143147
:'third_party_cases' => :'Array<SecurityMonitoringThirdPartyRuleCase>',
144148
:'type' => :'SecurityMonitoringRuleTypeRead',
145149
:'update_author_id' => :'Integer',
150+
:'updated_at' => :'Integer',
146151
:'version' => :'Integer'
147152
}
148153
end
@@ -263,6 +268,10 @@ def initialize(attributes = {})
263268
self.update_author_id = attributes[:'update_author_id']
264269
end
265270

271+
if attributes.key?(:'updated_at')
272+
self.updated_at = attributes[:'updated_at']
273+
end
274+
266275
if attributes.key?(:'version')
267276
self.version = attributes[:'version']
268277
end
@@ -315,6 +324,7 @@ def ==(o)
315324
third_party_cases == o.third_party_cases &&
316325
type == o.type &&
317326
update_author_id == o.update_author_id &&
327+
updated_at == o.updated_at &&
318328
version == o.version
319329
additional_properties == o.additional_properties
320330
end
@@ -323,7 +333,7 @@ def ==(o)
323333
# @return [Integer] Hash code
324334
# @!visibility private
325335
def hash
326-
[cases, compliance_signal_options, created_at, creation_author_id, default_tags, deprecation_date, filters, has_extended_title, id, is_default, is_deleted, is_enabled, message, name, options, queries, reference_tables, tags, third_party_cases, type, update_author_id, version].hash
336+
[cases, compliance_signal_options, created_at, creation_author_id, default_tags, deprecation_date, filters, has_extended_title, id, is_default, is_deleted, is_enabled, message, name, options, queries, reference_tables, tags, third_party_cases, type, update_author_id, updated_at, version].hash
327337
end
328338
end
329339
end

0 commit comments

Comments
 (0)