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