@@ -8,21 +8,21 @@ Feature: Cloud Workload Security
8
8
And a valid "appKeyAuth" key in the system
9
9
And an instance of "CloudWorkloadSecurity" API
10
10
11
- @team:DataDog/cws-backend @team:DataDog/security-monitoring
11
+ @team:DataDog/cws-backend @team:DataDog/k9-cloud- security-platform
12
12
Scenario : Create a Cloud Workload Security Agent rule returns "Bad Request" response
13
13
Given new "CreateCloudWorkloadSecurityAgentRule" request
14
14
And body with value {"data" : {"attributes" : {"description" : "Test Agent rule" , "enabled" : true, "expression" : "open.file.path = sh" , "name" : "{{ unique_lower_alnum }}" }, "type" : "agent_rule" }}
15
15
When the request is sent
16
16
Then the response status is 400 Bad Request
17
17
18
- @skip @team:DataDog/cws-backend @team:DataDog/security-monitoring
18
+ @skip @team:DataDog/cws-backend @team:DataDog/k9-cloud- security-platform
19
19
Scenario : Create a Cloud Workload Security Agent rule returns "Conflict" response
20
20
Given new "CreateCloudWorkloadSecurityAgentRule" request
21
21
And body with value {"data" : {"attributes" : {"description" : "Test Agent rule" , "enabled" : true, "expression" : "exec.file.name == \" sh\" " , "name" : "{{ unique_lower_alnum }}" }, "type" : "agent_rule" }}
22
22
When the request is sent
23
23
Then the response status is 409 Conflict
24
24
25
- @team:DataDog/cws-backend @team:DataDog/security-monitoring
25
+ @team:DataDog/cws-backend @team:DataDog/k9-cloud- security-platform
26
26
Scenario : Create a Cloud Workload Security Agent rule returns "OK" response
27
27
Given new "CreateCloudWorkloadSecurityAgentRule" request
28
28
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
31
31
And the response "data.type" is equal to "agent_rule"
32
32
And the response "data.attributes.description" is equal to "Test Agent rule"
33
33
34
- @team:DataDog/cws-backend @team:DataDog/security-monitoring
34
+ @team:DataDog/cws-backend @team:DataDog/k9-cloud- security-platform
35
35
Scenario : Delete a Cloud Workload Security Agent rule returns "Not Found" response
36
36
Given new "DeleteCloudWorkloadSecurityAgentRule" request
37
37
And request contains "agent_rule_id" parameter with value "abc-123-xyz"
38
38
When the request is sent
39
39
Then the response status is 404 Not Found
40
40
41
- @team:DataDog/cws-backend @team:DataDog/security-monitoring
41
+ @team:DataDog/cws-backend @team:DataDog/k9-cloud- security-platform
42
42
Scenario : Delete a Cloud Workload Security Agent rule returns "OK" response
43
43
Given there is a valid "agent_rule" in the system
44
44
And new "DeleteCloudWorkloadSecurityAgentRule" request
45
45
And request contains "agent_rule_id" parameter from "agent_rule.data.id"
46
46
When the request is sent
47
47
Then the response status is 204 OK
48
48
49
- @team:DataDog/cws-backend @team:DataDog/security-monitoring
49
+ @team:DataDog/cws-backend @team:DataDog/k9-cloud- security-platform
50
50
Scenario : Get a Cloud Workload Security Agent rule returns "Not Found" response
51
51
Given new "GetCloudWorkloadSecurityAgentRule" request
52
52
And request contains "agent_rule_id" parameter with value "abc-123-xyz"
53
53
When the request is sent
54
54
Then the response status is 404 Not Found
55
55
56
- @team:DataDog/cws-backend @team:DataDog/security-monitoring
56
+ @team:DataDog/cws-backend @team:DataDog/k9-cloud- security-platform
57
57
Scenario : Get a Cloud Workload Security Agent rule returns "OK" response
58
58
Given there is a valid "agent_rule" in the system
59
59
And new "GetCloudWorkloadSecurityAgentRule" request
@@ -63,21 +63,21 @@ Feature: Cloud Workload Security
63
63
And the response "data.type" is equal to "agent_rule"
64
64
And the response "data.attributes.description" is equal to "My Agent rule"
65
65
66
- @team:DataDog/cws-backend @team:DataDog/security-monitoring
66
+ @team:DataDog/cws-backend @team:DataDog/k9-cloud- security-platform
67
67
Scenario : Get all Cloud Workload Security Agent rules returns "OK" response
68
68
Given there is a valid "agent_rule" in the system
69
69
And new "ListCloudWorkloadSecurityAgentRules" request
70
70
When the request is sent
71
71
Then the response status is 200 OK
72
72
And the response "data[0].type" is equal to "agent_rule"
73
73
74
- @team:DataDog/cws-backend @team:DataDog/security-monitoring
74
+ @team:DataDog/cws-backend @team:DataDog/k9-cloud- security-platform
75
75
Scenario : Get the latest Cloud Workload Security policy returns "OK" response
76
76
Given new "DownloadCloudWorkloadPolicyFile" request
77
77
When the request is sent
78
78
Then the response status is 200 OK
79
79
80
- @team:DataDog/cws-backend @team:DataDog/security-monitoring
80
+ @team:DataDog/cws-backend @team:DataDog/k9-cloud- security-platform
81
81
Scenario : Update a Cloud Workload Security Agent rule returns "Bad Request" response
82
82
Given there is a valid "agent_rule" in the system
83
83
And new "UpdateCloudWorkloadSecurityAgentRule" request
@@ -86,7 +86,7 @@ Feature: Cloud Workload Security
86
86
When the request is sent
87
87
Then the response status is 400 Bad Request
88
88
89
- @skip @team:DataDog/cws-backend @team:DataDog/security-monitoring
89
+ @skip @team:DataDog/cws-backend @team:DataDog/k9-cloud- security-platform
90
90
Scenario : Update a Cloud Workload Security Agent rule returns "Concurrent Modification" response
91
91
Given there is a valid "agent_rule" in the system
92
92
And new "UpdateCloudWorkloadSecurityAgentRule" request
@@ -95,15 +95,15 @@ Feature: Cloud Workload Security
95
95
When the request is sent
96
96
Then the response status is 409 Concurrent Modification
97
97
98
- @team:DataDog/cws-backend @team:DataDog/security-monitoring
98
+ @team:DataDog/cws-backend @team:DataDog/k9-cloud- security-platform
99
99
Scenario : Update a Cloud Workload Security Agent rule returns "Not Found" response
100
100
Given new "UpdateCloudWorkloadSecurityAgentRule" request
101
101
And request contains "agent_rule_id" parameter with value "abc-123-xyz"
102
102
And body with value {"data" : {"attributes" : {"description" : "Test Agent rule" , "enabled" : true, "expression" : "exec.file.name == \" sh\" " }, "type" : "agent_rule" }}
103
103
When the request is sent
104
104
Then the response status is 404 Not Found
105
105
106
- @team:DataDog/cws-backend @team:DataDog/security-monitoring
106
+ @team:DataDog/cws-backend @team:DataDog/k9-cloud- security-platform
107
107
Scenario : Update a Cloud Workload Security Agent rule returns "OK" response
108
108
Given there is a valid "agent_rule" in the system
109
109
And new "UpdateCloudWorkloadSecurityAgentRule" request
0 commit comments