@@ -10,14 +10,14 @@ Feature: Sensitive Data Scanner
10
10
And a valid "appKeyAuth" key in the system
11
11
And an instance of "SensitiveDataScanner" API
12
12
13
- @generated @skip @team:DataDog/logs-app @team:DataDog/ sensitive-data-scanner
13
+ @generated @skip @team:DataDog/sensitive-data-scanner
14
14
Scenario : Create Scanning Group returns "Bad Request" response
15
15
Given new "CreateScanningGroup" request
16
16
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}}
17
17
When the request is sent
18
18
Then the response status is 400 Bad Request
19
19
20
- @team:DataDog/logs-app @team:DataDog/ sensitive-data-scanner
20
+ @team:DataDog/sensitive-data-scanner
21
21
Scenario : Create Scanning Group returns "OK" response
22
22
Given a valid "configuration" in the system
23
23
And new "CreateScanningGroup" request
@@ -27,7 +27,7 @@ Feature: Sensitive Data Scanner
27
27
And the response "data.type" is equal to "sensitive_data_scanner_group"
28
28
And the response "data.attributes.name" is equal to "{{ unique }}"
29
29
30
- @team:DataDog/logs-app @team:DataDog/ sensitive-data-scanner
30
+ @team:DataDog/sensitive-data-scanner
31
31
Scenario : Create Scanning Rule returns "Bad Request" response
32
32
Given a valid "configuration" in the system
33
33
And there is a valid "scanning_group" in the system
@@ -36,7 +36,7 @@ Feature: Sensitive Data Scanner
36
36
When the request is sent
37
37
Then the response status is 400 Bad Request
38
38
39
- @team:DataDog/logs-app @team:DataDog/ sensitive-data-scanner
39
+ @team:DataDog/sensitive-data-scanner
40
40
Scenario : Create Scanning Rule returns "OK" response
41
41
Given a valid "configuration" in the system
42
42
And there is a valid "scanning_group" in the system
@@ -50,23 +50,23 @@ Feature: Sensitive Data Scanner
50
50
And the response "data.attributes.included_keyword_configuration.character_count" is equal to 35
51
51
And the response "data.attributes.included_keyword_configuration.keywords[0]" is equal to "credit card"
52
52
53
- @generated @skip @team:DataDog/logs-app @team:DataDog/ sensitive-data-scanner
53
+ @generated @skip @team:DataDog/sensitive-data-scanner
54
54
Scenario : Delete Scanning Group returns "Bad Request" response
55
55
Given new "DeleteScanningGroup" request
56
56
And request contains "group_id" parameter from "REPLACE.ME"
57
57
And body with value {"meta" : {"version" : 0}}
58
58
When the request is sent
59
59
Then the response status is 400 Bad Request
60
60
61
- @generated @skip @team:DataDog/logs-app @team:DataDog/ sensitive-data-scanner
61
+ @generated @skip @team:DataDog/sensitive-data-scanner
62
62
Scenario : Delete Scanning Group returns "Not Found" response
63
63
Given new "DeleteScanningGroup" request
64
64
And request contains "group_id" parameter from "REPLACE.ME"
65
65
And body with value {"meta" : {"version" : 0}}
66
66
When the request is sent
67
67
Then the response status is 404 Not Found
68
68
69
- @team:DataDog/logs-app @team:DataDog/ sensitive-data-scanner
69
+ @team:DataDog/sensitive-data-scanner
70
70
Scenario : Delete Scanning Group returns "OK" response
71
71
Given a valid "configuration" in the system
72
72
And there is a valid "scanning_group" in the system
@@ -76,23 +76,23 @@ Feature: Sensitive Data Scanner
76
76
When the request is sent
77
77
Then the response status is 200 OK
78
78
79
- @generated @skip @team:DataDog/logs-app @team:DataDog/ sensitive-data-scanner
79
+ @generated @skip @team:DataDog/sensitive-data-scanner
80
80
Scenario : Delete Scanning Rule returns "Bad Request" response
81
81
Given new "DeleteScanningRule" request
82
82
And request contains "rule_id" parameter from "REPLACE.ME"
83
83
And body with value {"meta" : {"version" : 0}}
84
84
When the request is sent
85
85
Then the response status is 400 Bad Request
86
86
87
- @generated @skip @team:DataDog/logs-app @team:DataDog/ sensitive-data-scanner
87
+ @generated @skip @team:DataDog/sensitive-data-scanner
88
88
Scenario : Delete Scanning Rule returns "Not Found" response
89
89
Given new "DeleteScanningRule" request
90
90
And request contains "rule_id" parameter from "REPLACE.ME"
91
91
And body with value {"meta" : {"version" : 0}}
92
92
When the request is sent
93
93
Then the response status is 404 Not Found
94
94
95
- @team:DataDog/logs-app @team:DataDog/ sensitive-data-scanner
95
+ @team:DataDog/sensitive-data-scanner
96
96
Scenario : Delete Scanning Rule returns "OK" response
97
97
Given a valid "configuration" in the system
98
98
And there is a valid "scanning_group" in the system
@@ -103,13 +103,13 @@ Feature: Sensitive Data Scanner
103
103
When the request is sent
104
104
Then the response status is 200 OK
105
105
106
- @generated @skip @team:DataDog/logs-app @team:DataDog/ sensitive-data-scanner
106
+ @generated @skip @team:DataDog/sensitive-data-scanner
107
107
Scenario : List Scanning Groups returns "Bad Request" response
108
108
Given new "ListScanningGroups" request
109
109
When the request is sent
110
110
Then the response status is 400 Bad Request
111
111
112
- @team:DataDog/logs-app @team:DataDog/ sensitive-data-scanner
112
+ @team:DataDog/sensitive-data-scanner
113
113
Scenario : List Scanning Groups returns "OK" response
114
114
Given a valid "configuration" in the system
115
115
And there is a valid "scanning_group" in the system
@@ -118,19 +118,19 @@ Feature: Sensitive Data Scanner
118
118
Then the response status is 200 OK
119
119
And the response "included" has item with field "id" with value "{{ group.data.id }}"
120
120
121
- @generated @skip @team:DataDog/logs-app @team:DataDog/ sensitive-data-scanner
121
+ @generated @skip @team:DataDog/sensitive-data-scanner
122
122
Scenario : List standard patterns returns "Bad Request" response
123
123
Given new "ListStandardPatterns" request
124
124
When the request is sent
125
125
Then the response status is 400 Bad Request
126
126
127
- @integration-only @team:DataDog/logs-app @team:DataDog/ sensitive-data-scanner
127
+ @integration-only @team:DataDog/sensitive-data-scanner
128
128
Scenario : List standard patterns returns "OK" response
129
129
Given new "ListStandardPatterns" request
130
130
When the request is sent
131
131
Then the response status is 200 OK
132
132
133
- @team:DataDog/logs-app @team:DataDog/ sensitive-data-scanner
133
+ @team:DataDog/sensitive-data-scanner
134
134
Scenario : Reorder Groups returns "Bad Request" response
135
135
Given a valid "configuration" in the system
136
136
And there is a valid "scanning_group" in the system
@@ -139,7 +139,7 @@ Feature: Sensitive Data Scanner
139
139
When the request is sent
140
140
Then the response status is 400 Bad Request
141
141
142
- @replay-only @team:DataDog/logs-app @team:DataDog/ sensitive-data-scanner
142
+ @replay-only @team:DataDog/sensitive-data-scanner
143
143
Scenario : Reorder Groups returns "OK" response
144
144
Given a valid "configuration" in the system
145
145
And there is a valid "scanning_group" in the system
@@ -148,23 +148,23 @@ Feature: Sensitive Data Scanner
148
148
When the request is sent
149
149
Then the response status is 200 OK
150
150
151
- @generated @skip @team:DataDog/logs-app @team:DataDog/ sensitive-data-scanner
151
+ @generated @skip @team:DataDog/sensitive-data-scanner
152
152
Scenario : Update Scanning Group returns "Bad Request" response
153
153
Given new "UpdateScanningGroup" request
154
154
And request contains "group_id" parameter from "REPLACE.ME"
155
155
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}}
156
156
When the request is sent
157
157
Then the response status is 400 Bad Request
158
158
159
- @generated @skip @team:DataDog/logs-app @team:DataDog/ sensitive-data-scanner
159
+ @generated @skip @team:DataDog/sensitive-data-scanner
160
160
Scenario : Update Scanning Group returns "Not Found" response
161
161
Given new "UpdateScanningGroup" request
162
162
And request contains "group_id" parameter from "REPLACE.ME"
163
163
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}}
164
164
When the request is sent
165
165
Then the response status is 404 Not Found
166
166
167
- @team:DataDog/logs-app @team:DataDog/ sensitive-data-scanner
167
+ @team:DataDog/sensitive-data-scanner
168
168
Scenario : Update Scanning Group returns "OK" response
169
169
Given a valid "configuration" in the system
170
170
And there is a valid "scanning_group" in the system
@@ -174,7 +174,7 @@ Feature: Sensitive Data Scanner
174
174
When the request is sent
175
175
Then the response status is 200 OK
176
176
177
- @team:DataDog/logs-app @team:DataDog/ sensitive-data-scanner
177
+ @team:DataDog/sensitive-data-scanner
178
178
Scenario : Update Scanning Rule returns "Bad Request" response
179
179
Given a valid "configuration" in the system
180
180
And there is a valid "scanning_group" in the system
@@ -185,15 +185,15 @@ Feature: Sensitive Data Scanner
185
185
When the request is sent
186
186
Then the response status is 400 Bad Request
187
187
188
- @generated @skip @team:DataDog/logs-app @team:DataDog/ sensitive-data-scanner
188
+ @generated @skip @team:DataDog/sensitive-data-scanner
189
189
Scenario : Update Scanning Rule returns "Not Found" response
190
190
Given new "UpdateScanningRule" request
191
191
And request contains "rule_id" parameter from "REPLACE.ME"
192
192
And body with value {"data" : {"attributes" : {"excluded_namespaces" : ["admin.name" ], "included_keyword_configuration" : {"character_count" : 30, "keywords" : ["credit card" , "cc" ]}, "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}}
193
193
When the request is sent
194
194
Then the response status is 404 Not Found
195
195
196
- @team:DataDog/logs-app @team:DataDog/ sensitive-data-scanner
196
+ @team:DataDog/sensitive-data-scanner
197
197
Scenario : Update Scanning Rule returns "OK" response
198
198
Given a valid "configuration" in the system
199
199
And there is a valid "scanning_group" in the system
0 commit comments