diff --git a/.apigentools-info b/.apigentools-info index 8ff1dd3b3639..7edaefbb35e4 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2025-01-27 19:28:22.246402", - "spec_repo_commit": "4a99b1d3" + "regenerated": "2025-01-27 21:19:32.690562", + "spec_repo_commit": "aa10e3e1" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2025-01-27 19:28:22.262046", - "spec_repo_commit": "4a99b1d3" + "regenerated": "2025-01-27 21:19:32.705699", + "spec_repo_commit": "aa10e3e1" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 26637c1582a5..dd2d408e6372 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -22615,6 +22615,7 @@ components: Version: description: Version of the updated signal. If server side version is higher, update will be rejected. + example: 0 format: int64 type: integer WebhooksIntegration: diff --git a/features/v1/security_monitoring.feature b/features/v1/security_monitoring.feature index 34cc3160b92d..4d4904e937eb 100644 --- a/features/v1/security_monitoring.feature +++ b/features/v1/security_monitoring.feature @@ -13,7 +13,7 @@ Feature: Security Monitoring Scenario: Add a security signal to an incident returns "Bad Request" response Given new "AddSecurityMonitoringSignalToIncident" request And request contains "signal_id" parameter from "REPLACE.ME" - And body with value {"incident_id": 2066} + And body with value {"incident_id": 2066, "version": 0} When the request is sent Then the response status is 400 Bad Request @@ -21,7 +21,7 @@ Feature: Security Monitoring Scenario: Add a security signal to an incident returns "Not Found" response Given new "AddSecurityMonitoringSignalToIncident" request And request contains "signal_id" parameter from "REPLACE.ME" - And body with value {"incident_id": 2066} + And body with value {"incident_id": 2066, "version": 0} When the request is sent Then the response status is 404 Not Found @@ -38,7 +38,7 @@ Feature: Security Monitoring Scenario: Change the triage state of a security signal returns "Bad Request" response Given new "EditSecurityMonitoringSignalState" request And request contains "signal_id" parameter from "REPLACE.ME" - And body with value {"archiveReason": "none", "state": "open"} + And body with value {"archiveReason": "none", "state": "open", "version": 0} When the request is sent Then the response status is 400 Bad Request @@ -46,7 +46,7 @@ Feature: Security Monitoring Scenario: Change the triage state of a security signal returns "Not Found" response Given new "EditSecurityMonitoringSignalState" request And request contains "signal_id" parameter from "REPLACE.ME" - And body with value {"archiveReason": "none", "state": "open"} + And body with value {"archiveReason": "none", "state": "open", "version": 0} When the request is sent Then the response status is 404 Not Found @@ -63,7 +63,7 @@ Feature: Security Monitoring Scenario: Modify the triage assignee of a security signal returns "Bad Request" response Given new "EditSecurityMonitoringSignalAssignee" request And request contains "signal_id" parameter from "REPLACE.ME" - And body with value {"assignee": "773b045d-ccf8-4808-bd3b-955ef6a8c940"} + And body with value {"assignee": "773b045d-ccf8-4808-bd3b-955ef6a8c940", "version": 0} When the request is sent Then the response status is 400 Bad Request @@ -71,7 +71,7 @@ Feature: Security Monitoring Scenario: Modify the triage assignee of a security signal returns "Not Found" response Given new "EditSecurityMonitoringSignalAssignee" request And request contains "signal_id" parameter from "REPLACE.ME" - And body with value {"assignee": "773b045d-ccf8-4808-bd3b-955ef6a8c940"} + And body with value {"assignee": "773b045d-ccf8-4808-bd3b-955ef6a8c940", "version": 0} When the request is sent Then the response status is 404 Not Found