Skip to content

Commit 6a0125a

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
and
ci.datadog-api-spec
authored
Avoid clashes due to id (#2022)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent bf69957 commit 6a0125a

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

.apigentools-info

+4-4
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": "2025-01-27 19:28:18.330379",
8-
"spec_repo_commit": "4a99b1d3"
7+
"regenerated": "2025-01-27 21:19:33.830146",
8+
"spec_repo_commit": "aa10e3e1"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-01-27 19:28:18.346174",
13-
"spec_repo_commit": "4a99b1d3"
12+
"regenerated": "2025-01-27 21:19:33.846154",
13+
"spec_repo_commit": "aa10e3e1"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -22615,6 +22615,7 @@ components:
2261522615
Version:
2261622616
description: Version of the updated signal. If server side version is higher,
2261722617
update will be rejected.
22618+
example: 0
2261822619
format: int64
2261922620
type: integer
2262022621
WebhooksIntegration:

features/v1/security_monitoring.feature

+6-6
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ Feature: Security Monitoring
1313
Scenario: Add a security signal to an incident returns "Bad Request" response
1414
Given new "AddSecurityMonitoringSignalToIncident" request
1515
And request contains "signal_id" parameter from "REPLACE.ME"
16-
And body with value {"incident_id": 2066}
16+
And body with value {"incident_id": 2066, "version": 0}
1717
When the request is sent
1818
Then the response status is 400 Bad Request
1919

2020
@generated @skip @team:DataDog/k9-cloud-security-platform
2121
Scenario: Add a security signal to an incident returns "Not Found" response
2222
Given new "AddSecurityMonitoringSignalToIncident" request
2323
And request contains "signal_id" parameter from "REPLACE.ME"
24-
And body with value {"incident_id": 2066}
24+
And body with value {"incident_id": 2066, "version": 0}
2525
When the request is sent
2626
Then the response status is 404 Not Found
2727

@@ -38,15 +38,15 @@ Feature: Security Monitoring
3838
Scenario: Change the triage state of a security signal returns "Bad Request" response
3939
Given new "EditSecurityMonitoringSignalState" request
4040
And request contains "signal_id" parameter from "REPLACE.ME"
41-
And body with value {"archiveReason": "none", "state": "open"}
41+
And body with value {"archiveReason": "none", "state": "open", "version": 0}
4242
When the request is sent
4343
Then the response status is 400 Bad Request
4444

4545
@generated @skip @team:DataDog/k9-cloud-security-platform
4646
Scenario: Change the triage state of a security signal returns "Not Found" response
4747
Given new "EditSecurityMonitoringSignalState" request
4848
And request contains "signal_id" parameter from "REPLACE.ME"
49-
And body with value {"archiveReason": "none", "state": "open"}
49+
And body with value {"archiveReason": "none", "state": "open", "version": 0}
5050
When the request is sent
5151
Then the response status is 404 Not Found
5252

@@ -63,15 +63,15 @@ Feature: Security Monitoring
6363
Scenario: Modify the triage assignee of a security signal returns "Bad Request" response
6464
Given new "EditSecurityMonitoringSignalAssignee" request
6565
And request contains "signal_id" parameter from "REPLACE.ME"
66-
And body with value {"assignee": "773b045d-ccf8-4808-bd3b-955ef6a8c940"}
66+
And body with value {"assignee": "773b045d-ccf8-4808-bd3b-955ef6a8c940", "version": 0}
6767
When the request is sent
6868
Then the response status is 400 Bad Request
6969

7070
@generated @skip @team:DataDog/k9-cloud-security-platform
7171
Scenario: Modify the triage assignee of a security signal returns "Not Found" response
7272
Given new "EditSecurityMonitoringSignalAssignee" request
7373
And request contains "signal_id" parameter from "REPLACE.ME"
74-
And body with value {"assignee": "773b045d-ccf8-4808-bd3b-955ef6a8c940"}
74+
And body with value {"assignee": "773b045d-ccf8-4808-bd3b-955ef6a8c940", "version": 0}
7575
When the request is sent
7676
Then the response status is 404 Not Found
7777

0 commit comments

Comments
 (0)