Skip to content
Open
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
18 changes: 9 additions & 9 deletions tests/v1/features/security_monitoring.feature
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,23 @@ Feature: Security Monitoring
And a valid "appKeyAuth" key in the system
And an instance of "SecurityMonitoring" API

@generated @skip @team:DataDog/k9-cloud-security-platform
@generated @skip @team:DataDog/k9-cloud-siem
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, "version": 0}
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:DataDog/k9-cloud-security-platform
@generated @skip @team:DataDog/k9-cloud-siem
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, "version": 0}
When the request is sent
Then the response status is 404 Not Found

@replay-only @team:DataDog/k9-cloud-security-platform
@replay-only @team:DataDog/k9-cloud-siem
Scenario: Add a security signal to an incident returns "OK" response
Given new "AddSecurityMonitoringSignalToIncident" request
And request contains "signal_id" parameter with value "AQAAAYDiB_Ol8PbzFAAAAABBWURpQl9PbEFBQU0yeXhGTG9ZV2JnQUE"
Expand All @@ -34,23 +34,23 @@ Feature: Security Monitoring
Then the response status is 200 OK
And the response "status" is equal to "done"

@generated @skip @team:DataDog/k9-cloud-security-platform
@generated @skip @team:DataDog/k9-cloud-siem
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", "version": 0}
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:DataDog/k9-cloud-security-platform
@generated @skip @team:DataDog/k9-cloud-siem
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", "version": 0}
When the request is sent
Then the response status is 404 Not Found

@replay-only @team:DataDog/k9-cloud-security-platform
@replay-only @team:DataDog/k9-cloud-siem
Scenario: Change the triage state of a security signal returns "OK" response
Given new "EditSecurityMonitoringSignalState" request
And request contains "signal_id" parameter with value "AQAAAYDiB_Ol8PbzFAAAAABBWURpQl9PbEFBQU0yeXhGTG9ZV2JnQUE"
Expand All @@ -59,23 +59,23 @@ Feature: Security Monitoring
Then the response status is 200 OK
And the response "status" is equal to "done"

@generated @skip @team:DataDog/k9-cloud-security-platform
@generated @skip @team:DataDog/k9-cloud-siem
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", "version": 0}
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:DataDog/k9-cloud-security-platform
@generated @skip @team:DataDog/k9-cloud-siem
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", "version": 0}
When the request is sent
Then the response status is 404 Not Found

@replay-only @team:DataDog/k9-cloud-security-platform
@replay-only @team:DataDog/k9-cloud-siem
Scenario: Modify the triage assignee of a security signal returns "OK" response
Given new "EditSecurityMonitoringSignalAssignee" request
And request contains "signal_id" parameter with value "AQAAAYDiB_Ol8PbzFAAAAABBWURpQl9PbEFBQU0yeXhGTG9ZV2JnQUE"
Expand Down
4 changes: 2 additions & 2 deletions tests/v2/features/csm_agents.feature
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ Feature: CSM Agents
And a valid "appKeyAuth" key in the system
And an instance of "CSMAgents" API

@team:DataDog/k9-cloud-security-platform
@team:DataDog/k9-misconfigs
Scenario: Get all CSM Agents returns "OK" response
Given new "ListAllCSMAgents" request
When the request is sent
Then the response status is 200 OK

@team:DataDog/k9-cloud-security-platform
@team:DataDog/k9-misconfigs
Scenario: Get all CSM Serverless Agents returns "OK" response
Given new "ListAllCSMServerlessAgents" request
When the request is sent
Expand Down
6 changes: 3 additions & 3 deletions tests/v2/features/csm_coverage_analysis.feature
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@ Feature: CSM Coverage Analysis
And a valid "appKeyAuth" key in the system
And an instance of "CSMCoverageAnalysis" API

@team:DataDog/k9-cloud-security-platform
@team:DataDog/k9-misconfigs
Scenario: Get the CSM Cloud Accounts Coverage Analysis returns "OK" response
Given new "GetCSMCloudAccountsCoverageAnalysis" request
When the request is sent
Then the response status is 200 OK

@team:DataDog/k9-cloud-security-platform
@team:DataDog/k9-misconfigs
Scenario: Get the CSM Hosts and Containers Coverage Analysis returns "OK" response
Given new "GetCSMHostsAndContainersCoverageAnalysis" request
When the request is sent
Then the response status is 200 OK

@team:DataDog/k9-cloud-security-platform
@team:DataDog/k9-misconfigs
Scenario: Get the CSM Serverless Coverage Analysis returns "OK" response
Given new "GetCSMServerlessCoverageAnalysis" request
When the request is sent
Expand Down
Loading
Loading