@@ -54,6 +54,14 @@ Feature: Sensitive Data Scanner
54
54
When the request is sent
55
55
Then the response status is 400 Bad Request
56
56
57
+ @generated @skip @team:DataDog/logs-app @team:DataDog/logs-core
58
+ Scenario : Delete Scanning Group returns "Not Found" response
59
+ Given new "DeleteScanningGroup" request
60
+ And request contains "group_id" parameter from "REPLACE.ME"
61
+ And body with value {"meta" : {"version" : 0}}
62
+ When the request is sent
63
+ Then the response status is 404 Not Found
64
+
57
65
@team:DataDog/logs-app @team:DataDog/logs-core
58
66
Scenario : Delete Scanning Group returns "OK" response
59
67
Given a valid "configuration" in the system
@@ -72,6 +80,14 @@ Feature: Sensitive Data Scanner
72
80
When the request is sent
73
81
Then the response status is 400 Bad Request
74
82
83
+ @generated @skip @team:DataDog/logs-app @team:DataDog/logs-core
84
+ Scenario : Delete Scanning Rule returns "Not Found" response
85
+ Given new "DeleteScanningRule" request
86
+ And request contains "rule_id" parameter from "REPLACE.ME"
87
+ And body with value {"meta" : {"version" : 0}}
88
+ When the request is sent
89
+ Then the response status is 404 Not Found
90
+
75
91
@team:DataDog/logs-app @team:DataDog/logs-core
76
92
Scenario : Delete Scanning Rule returns "OK" response
77
93
Given a valid "configuration" in the system
@@ -136,6 +152,14 @@ Feature: Sensitive Data Scanner
136
152
When the request is sent
137
153
Then the response status is 400 Bad Request
138
154
155
+ @generated @skip @team:DataDog/logs-app @team:DataDog/logs-core
156
+ Scenario : Update Scanning Group returns "Not Found" response
157
+ Given new "UpdateScanningGroup" request
158
+ And request contains "group_id" parameter from "REPLACE.ME"
159
+ And body with value {"data" : {"attributes" : {"filter" : {}, "product_list" : ["logs" ]}, "relationships" : {"configuration" : {"data" : {"type" : "sensitive_data_scanner_configuration" }}, "rules" : {"data" : [{"type" : "sensitive_data_scanner_rule" }]}}, "type" : "sensitive_data_scanner_group" }, "meta" : {"version" : 0}}
160
+ When the request is sent
161
+ Then the response status is 404 Not Found
162
+
139
163
@team:DataDog/logs-app @team:DataDog/logs-core
140
164
Scenario : Update Scanning Group returns "OK" response
141
165
Given a valid "configuration" in the system
@@ -157,6 +181,14 @@ Feature: Sensitive Data Scanner
157
181
When the request is sent
158
182
Then the response status is 400 Bad Request
159
183
184
+ @generated @skip @team:DataDog/logs-app @team:DataDog/logs-core
185
+ Scenario : Update Scanning Rule returns "Not Found" response
186
+ Given new "UpdateScanningRule" request
187
+ And request contains "rule_id" parameter from "REPLACE.ME"
188
+ And body with value {"data" : {"attributes" : {"excluded_namespaces" : ["admin.name" ], "namespaces" : ["admin" ], "tags" : [], "text_replacement" : {"type" : "none" }}, "relationships" : {"group" : {"data" : {"type" : "sensitive_data_scanner_group" }}, "standard_pattern" : {"data" : {"type" : "sensitive_data_scanner_standard_pattern" }}}, "type" : "sensitive_data_scanner_rule" }, "meta" : {"version" : 0}}
189
+ When the request is sent
190
+ Then the response status is 404 Not Found
191
+
160
192
@team:DataDog/logs-app @team:DataDog/logs-core
161
193
Scenario : Update Scanning Rule returns "OK" response
162
194
Given a valid "configuration" in the system
0 commit comments