Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}
1 change: 1 addition & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
12 changes: 6 additions & 6 deletions features/v1/security_monitoring.feature
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ 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

@generated @skip @team:DataDog/k9-cloud-security-platform
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

Expand All @@ -38,15 +38,15 @@ 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

@generated @skip @team:DataDog/k9-cloud-security-platform
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

Expand All @@ -63,15 +63,15 @@ 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

@generated @skip @team:DataDog/k9-cloud-security-platform
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

Expand Down
Loading