Skip to content

Commit 3184f2c

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
and
ci.datadog-api-spec
authored
[sensitive data scanner] Change documentation and codeowners (#1504)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent ff09bd7 commit 3184f2c

File tree

4 files changed

+28
-28
lines changed

4 files changed

+28
-28
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2024-01-30 19:41:25.033241",
8-
"spec_repo_commit": "31c15660"
7+
"regenerated": "2024-01-31 12:10:29.268272",
8+
"spec_repo_commit": "52641937"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-01-30 19:41:25.053121",
13-
"spec_repo_commit": "31c15660"
12+
"regenerated": "2024-01-31 12:10:29.295230",
13+
"spec_repo_commit": "52641937"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17240,7 +17240,7 @@ components:
1724017240
description: 'Keyword list that will be checked during scanning in order
1724117241
to validate a match.
1724217242

17243-
The number of keywords in the list must be less than or equal to 20.'
17243+
The number of keywords in the list must be less than or equal to 30.'
1724417244
example:
1724517245
- credit card
1724617246
- cc

features/v2/sensitive_data_scanner.feature

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ Feature: Sensitive Data Scanner
88
And a valid "appKeyAuth" key in the system
99
And an instance of "SensitiveDataScanner" API
1010

11-
@generated @skip @team:DataDog/logs-app @team:DataDog/logs-core
11+
@generated @skip @team:DataDog/logs-app @team:DataDog/sensitive-data-scanner
1212
Scenario: Create Scanning Group returns "Bad Request" response
1313
Given new "CreateScanningGroup" request
1414
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}}
1515
When the request is sent
1616
Then the response status is 400 Bad Request
1717

18-
@team:DataDog/logs-app @team:DataDog/logs-core
18+
@team:DataDog/logs-app @team:DataDog/sensitive-data-scanner
1919
Scenario: Create Scanning Group returns "OK" response
2020
Given a valid "configuration" in the system
2121
And new "CreateScanningGroup" request
@@ -25,7 +25,7 @@ Feature: Sensitive Data Scanner
2525
And the response "data.type" is equal to "sensitive_data_scanner_group"
2626
And the response "data.attributes.name" is equal to "{{ unique }}"
2727

28-
@team:DataDog/logs-app @team:DataDog/logs-core
28+
@team:DataDog/logs-app @team:DataDog/sensitive-data-scanner
2929
Scenario: Create Scanning Rule returns "Bad Request" response
3030
Given a valid "configuration" in the system
3131
And there is a valid "scanning_group" in the system
@@ -34,7 +34,7 @@ Feature: Sensitive Data Scanner
3434
When the request is sent
3535
Then the response status is 400 Bad Request
3636

37-
@team:DataDog/logs-app @team:DataDog/logs-core
37+
@team:DataDog/logs-app @team:DataDog/sensitive-data-scanner
3838
Scenario: Create Scanning Rule returns "OK" response
3939
Given a valid "configuration" in the system
4040
And there is a valid "scanning_group" in the system
@@ -48,23 +48,23 @@ Feature: Sensitive Data Scanner
4848
And the response "data.attributes.included_keyword_configuration.character_count" is equal to 35
4949
And the response "data.attributes.included_keyword_configuration.keywords[0]" is equal to "credit card"
5050

51-
@generated @skip @team:DataDog/logs-app @team:DataDog/logs-core
51+
@generated @skip @team:DataDog/logs-app @team:DataDog/sensitive-data-scanner
5252
Scenario: Delete Scanning Group returns "Bad Request" response
5353
Given new "DeleteScanningGroup" request
5454
And request contains "group_id" parameter from "REPLACE.ME"
5555
And body with value {"meta": {"version": 0}}
5656
When the request is sent
5757
Then the response status is 400 Bad Request
5858

59-
@generated @skip @team:DataDog/logs-app @team:DataDog/logs-core
59+
@generated @skip @team:DataDog/logs-app @team:DataDog/sensitive-data-scanner
6060
Scenario: Delete Scanning Group returns "Not Found" response
6161
Given new "DeleteScanningGroup" request
6262
And request contains "group_id" parameter from "REPLACE.ME"
6363
And body with value {"meta": {"version": 0}}
6464
When the request is sent
6565
Then the response status is 404 Not Found
6666

67-
@team:DataDog/logs-app @team:DataDog/logs-core
67+
@team:DataDog/logs-app @team:DataDog/sensitive-data-scanner
6868
Scenario: Delete Scanning Group returns "OK" response
6969
Given a valid "configuration" in the system
7070
And there is a valid "scanning_group" in the system
@@ -74,23 +74,23 @@ Feature: Sensitive Data Scanner
7474
When the request is sent
7575
Then the response status is 200 OK
7676

77-
@generated @skip @team:DataDog/logs-app @team:DataDog/logs-core
77+
@generated @skip @team:DataDog/logs-app @team:DataDog/sensitive-data-scanner
7878
Scenario: Delete Scanning Rule returns "Bad Request" response
7979
Given new "DeleteScanningRule" request
8080
And request contains "rule_id" parameter from "REPLACE.ME"
8181
And body with value {"meta": {"version": 0}}
8282
When the request is sent
8383
Then the response status is 400 Bad Request
8484

85-
@generated @skip @team:DataDog/logs-app @team:DataDog/logs-core
85+
@generated @skip @team:DataDog/logs-app @team:DataDog/sensitive-data-scanner
8686
Scenario: Delete Scanning Rule returns "Not Found" response
8787
Given new "DeleteScanningRule" request
8888
And request contains "rule_id" parameter from "REPLACE.ME"
8989
And body with value {"meta": {"version": 0}}
9090
When the request is sent
9191
Then the response status is 404 Not Found
9292

93-
@team:DataDog/logs-app @team:DataDog/logs-core
93+
@team:DataDog/logs-app @team:DataDog/sensitive-data-scanner
9494
Scenario: Delete Scanning Rule returns "OK" response
9595
Given a valid "configuration" in the system
9696
And there is a valid "scanning_group" in the system
@@ -101,13 +101,13 @@ Feature: Sensitive Data Scanner
101101
When the request is sent
102102
Then the response status is 200 OK
103103

104-
@generated @skip @team:DataDog/logs-app @team:DataDog/logs-core
104+
@generated @skip @team:DataDog/logs-app @team:DataDog/sensitive-data-scanner
105105
Scenario: List Scanning Groups returns "Bad Request" response
106106
Given new "ListScanningGroups" request
107107
When the request is sent
108108
Then the response status is 400 Bad Request
109109

110-
@team:DataDog/logs-app @team:DataDog/logs-core
110+
@team:DataDog/logs-app @team:DataDog/sensitive-data-scanner
111111
Scenario: List Scanning Groups returns "OK" response
112112
Given a valid "configuration" in the system
113113
And there is a valid "scanning_group" in the system
@@ -116,19 +116,19 @@ Feature: Sensitive Data Scanner
116116
Then the response status is 200 OK
117117
And the response "included" has item with field "id" with value "{{ group.data.id }}"
118118

119-
@generated @skip @team:DataDog/logs-app @team:DataDog/logs-core
119+
@generated @skip @team:DataDog/logs-app @team:DataDog/sensitive-data-scanner
120120
Scenario: List standard patterns returns "Bad Request" response
121121
Given new "ListStandardPatterns" request
122122
When the request is sent
123123
Then the response status is 400 Bad Request
124124

125-
@integration-only @team:DataDog/logs-app @team:DataDog/logs-core
125+
@integration-only @team:DataDog/logs-app @team:DataDog/sensitive-data-scanner
126126
Scenario: List standard patterns returns "OK" response
127127
Given new "ListStandardPatterns" request
128128
When the request is sent
129129
Then the response status is 200 OK
130130

131-
@team:DataDog/logs-app @team:DataDog/logs-core
131+
@team:DataDog/logs-app @team:DataDog/sensitive-data-scanner
132132
Scenario: Reorder Groups returns "Bad Request" response
133133
Given a valid "configuration" in the system
134134
And there is a valid "scanning_group" in the system
@@ -137,7 +137,7 @@ Feature: Sensitive Data Scanner
137137
When the request is sent
138138
Then the response status is 400 Bad Request
139139

140-
@replay-only @team:DataDog/logs-app @team:DataDog/logs-core
140+
@replay-only @team:DataDog/logs-app @team:DataDog/sensitive-data-scanner
141141
Scenario: Reorder Groups returns "OK" response
142142
Given a valid "configuration" in the system
143143
And there is a valid "scanning_group" in the system
@@ -146,23 +146,23 @@ Feature: Sensitive Data Scanner
146146
When the request is sent
147147
Then the response status is 200 OK
148148

149-
@generated @skip @team:DataDog/logs-app @team:DataDog/logs-core
149+
@generated @skip @team:DataDog/logs-app @team:DataDog/sensitive-data-scanner
150150
Scenario: Update Scanning Group returns "Bad Request" response
151151
Given new "UpdateScanningGroup" request
152152
And request contains "group_id" parameter from "REPLACE.ME"
153153
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}}
154154
When the request is sent
155155
Then the response status is 400 Bad Request
156156

157-
@generated @skip @team:DataDog/logs-app @team:DataDog/logs-core
157+
@generated @skip @team:DataDog/logs-app @team:DataDog/sensitive-data-scanner
158158
Scenario: Update Scanning Group returns "Not Found" response
159159
Given new "UpdateScanningGroup" request
160160
And request contains "group_id" parameter from "REPLACE.ME"
161161
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}}
162162
When the request is sent
163163
Then the response status is 404 Not Found
164164

165-
@team:DataDog/logs-app @team:DataDog/logs-core
165+
@team:DataDog/logs-app @team:DataDog/sensitive-data-scanner
166166
Scenario: Update Scanning Group returns "OK" response
167167
Given a valid "configuration" in the system
168168
And there is a valid "scanning_group" in the system
@@ -172,7 +172,7 @@ Feature: Sensitive Data Scanner
172172
When the request is sent
173173
Then the response status is 200 OK
174174

175-
@team:DataDog/logs-app @team:DataDog/logs-core
175+
@team:DataDog/logs-app @team:DataDog/sensitive-data-scanner
176176
Scenario: Update Scanning Rule returns "Bad Request" response
177177
Given a valid "configuration" in the system
178178
And there is a valid "scanning_group" in the system
@@ -183,15 +183,15 @@ Feature: Sensitive Data Scanner
183183
When the request is sent
184184
Then the response status is 400 Bad Request
185185

186-
@generated @skip @team:DataDog/logs-app @team:DataDog/logs-core
186+
@generated @skip @team:DataDog/logs-app @team:DataDog/sensitive-data-scanner
187187
Scenario: Update Scanning Rule returns "Not Found" response
188188
Given new "UpdateScanningRule" request
189189
And request contains "rule_id" parameter from "REPLACE.ME"
190190
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}}
191191
When the request is sent
192192
Then the response status is 404 Not Found
193193

194-
@team:DataDog/logs-app @team:DataDog/logs-core
194+
@team:DataDog/logs-app @team:DataDog/sensitive-data-scanner
195195
Scenario: Update Scanning Rule returns "OK" response
196196
Given a valid "configuration" in the system
197197
And there is a valid "scanning_group" in the system

packages/datadog-api-client-v2/models/SensitiveDataScannerIncludedKeywordConfiguration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export class SensitiveDataScannerIncludedKeywordConfiguration {
2020
"characterCount": number;
2121
/**
2222
* Keyword list that will be checked during scanning in order to validate a match.
23-
* The number of keywords in the list must be less than or equal to 20.
23+
* The number of keywords in the list must be less than or equal to 30.
2424
*/
2525
"keywords": Array<string>;
2626

0 commit comments

Comments
 (0)