@@ -8,21 +8,21 @@ Feature: Cloud Workload Security
88 And a valid "appKeyAuth" key in the system
99 And an instance of "CloudWorkloadSecurity" API
1010
11- @team:DataDog/cws-backend @team:DataDog/k9-cloud-security-platform
11+ @team:DataDog/k9-cloud-security-platform @team:DataDog/k9-cws-backend
1212 Scenario : Create a Cloud Workload Security Agent rule returns "Bad Request" response
1313 Given new "CreateCloudWorkloadSecurityAgentRule" request
1414 And body with value {"data" : {"attributes" : {"description" : "Test Agent rule" , "enabled" : true, "expression" : "open.file.path = sh" , "name" : "{{ unique_lower_alnum }}" }, "type" : "agent_rule" }}
1515 When the request is sent
1616 Then the response status is 400 Bad Request
1717
18- @skip @team:DataDog/cws-backend @team:DataDog/k9-cloud-security-platform
18+ @skip @team:DataDog/k9-cloud-security-platform @team:DataDog/k9-cws-backend
1919 Scenario : Create a Cloud Workload Security Agent rule returns "Conflict" response
2020 Given new "CreateCloudWorkloadSecurityAgentRule" request
2121 And body with value {"data" : {"attributes" : {"description" : "Test Agent rule" , "enabled" : true, "expression" : "exec.file.name == \" sh\" " , "name" : "{{ unique_lower_alnum }}" }, "type" : "agent_rule" }}
2222 When the request is sent
2323 Then the response status is 409 Conflict
2424
25- @team:DataDog/cws-backend @team:DataDog/k9-cloud-security-platform
25+ @team:DataDog/k9-cloud-security-platform @team:DataDog/k9-cws-backend
2626 Scenario : Create a Cloud Workload Security Agent rule returns "OK" response
2727 Given new "CreateCloudWorkloadSecurityAgentRule" request
2828 And body with value {"data" : {"attributes" : {"description" : "Test Agent rule" , "enabled" : true, "expression" : "exec.file.name == \" sh\" " , "name" : "{{ unique_lower_alnum }}" }, "type" : "agent_rule" }}
@@ -31,29 +31,29 @@ Feature: Cloud Workload Security
3131 And the response "data.type" is equal to "agent_rule"
3232 And the response "data.attributes.description" is equal to "Test Agent rule"
3333
34- @team:DataDog/cws-backend @team:DataDog/k9-cloud-security-platform
34+ @team:DataDog/k9-cloud-security-platform @team:DataDog/k9-cws-backend
3535 Scenario : Delete a Cloud Workload Security Agent rule returns "Not Found" response
3636 Given new "DeleteCloudWorkloadSecurityAgentRule" request
3737 And request contains "agent_rule_id" parameter with value "abc-123-xyz"
3838 When the request is sent
3939 Then the response status is 404 Not Found
4040
41- @team:DataDog/cws-backend @team:DataDog/k9-cloud-security-platform
41+ @team:DataDog/k9-cloud-security-platform @team:DataDog/k9-cws-backend
4242 Scenario : Delete a Cloud Workload Security Agent rule returns "OK" response
4343 Given there is a valid "agent_rule" in the system
4444 And new "DeleteCloudWorkloadSecurityAgentRule" request
4545 And request contains "agent_rule_id" parameter from "agent_rule.data.id"
4646 When the request is sent
4747 Then the response status is 204 OK
4848
49- @team:DataDog/cws-backend @team:DataDog/k9-cloud-security-platform
49+ @team:DataDog/k9-cloud-security-platform @team:DataDog/k9-cws-backend
5050 Scenario : Get a Cloud Workload Security Agent rule returns "Not Found" response
5151 Given new "GetCloudWorkloadSecurityAgentRule" request
5252 And request contains "agent_rule_id" parameter with value "abc-123-xyz"
5353 When the request is sent
5454 Then the response status is 404 Not Found
5555
56- @team:DataDog/cws-backend @team:DataDog/k9-cloud-security-platform
56+ @team:DataDog/k9-cloud-security-platform @team:DataDog/k9-cws-backend
5757 Scenario : Get a Cloud Workload Security Agent rule returns "OK" response
5858 Given there is a valid "agent_rule" in the system
5959 And new "GetCloudWorkloadSecurityAgentRule" request
@@ -63,21 +63,21 @@ Feature: Cloud Workload Security
6363 And the response "data.type" is equal to "agent_rule"
6464 And the response "data.attributes.description" is equal to "My Agent rule"
6565
66- @team:DataDog/cws-backend @team:DataDog/k9-cloud-security-platform
66+ @team:DataDog/k9-cloud-security-platform @team:DataDog/k9-cws-backend
6767 Scenario : Get all Cloud Workload Security Agent rules returns "OK" response
6868 Given there is a valid "agent_rule" in the system
6969 And new "ListCloudWorkloadSecurityAgentRules" request
7070 When the request is sent
7171 Then the response status is 200 OK
7272 And the response "data[0].type" is equal to "agent_rule"
7373
74- @team:DataDog/cws-backend @team:DataDog/k9-cloud-security-platform
74+ @team:DataDog/k9-cloud-security-platform @team:DataDog/k9-cws-backend
7575 Scenario : Get the latest Cloud Workload Security policy returns "OK" response
7676 Given new "DownloadCloudWorkloadPolicyFile" request
7777 When the request is sent
7878 Then the response status is 200 OK
7979
80- @team:DataDog/cws-backend @team:DataDog/k9-cloud-security-platform
80+ @team:DataDog/k9-cloud-security-platform @team:DataDog/k9-cws-backend
8181 Scenario : Update a Cloud Workload Security Agent rule returns "Bad Request" response
8282 Given there is a valid "agent_rule" in the system
8383 And new "UpdateCloudWorkloadSecurityAgentRule" request
@@ -86,7 +86,7 @@ Feature: Cloud Workload Security
8686 When the request is sent
8787 Then the response status is 400 Bad Request
8888
89- @skip @team:DataDog/cws-backend @team:DataDog/k9-cloud-security-platform
89+ @skip @team:DataDog/k9-cloud-security-platform @team:DataDog/k9-cws-backend
9090 Scenario : Update a Cloud Workload Security Agent rule returns "Concurrent Modification" response
9191 Given there is a valid "agent_rule" in the system
9292 And new "UpdateCloudWorkloadSecurityAgentRule" request
@@ -95,15 +95,15 @@ Feature: Cloud Workload Security
9595 When the request is sent
9696 Then the response status is 409 Concurrent Modification
9797
98- @team:DataDog/cws-backend @team:DataDog/k9-cloud-security-platform
98+ @team:DataDog/k9-cloud-security-platform @team:DataDog/k9-cws-backend
9999 Scenario : Update a Cloud Workload Security Agent rule returns "Not Found" response
100100 Given new "UpdateCloudWorkloadSecurityAgentRule" request
101101 And request contains "agent_rule_id" parameter with value "abc-123-xyz"
102102 And body with value {"data" : {"attributes" : {"description" : "Test Agent rule" , "enabled" : true, "expression" : "exec.file.name == \" sh\" " }, "type" : "agent_rule" }}
103103 When the request is sent
104104 Then the response status is 404 Not Found
105105
106- @team:DataDog/cws-backend @team:DataDog/k9-cloud-security-platform
106+ @team:DataDog/k9-cloud-security-platform @team:DataDog/k9-cws-backend
107107 Scenario : Update a Cloud Workload Security Agent rule returns "OK" response
108108 Given there is a valid "agent_rule" in the system
109109 And new "UpdateCloudWorkloadSecurityAgentRule" request
0 commit comments