Skip to content

Commit 6a0f7ed

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add suppressions to SensitiveDataScannerRule resource (#3212)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 6e17847 commit 6a0f7ed

28 files changed

Lines changed: 396 additions & 284 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 40 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56089,8 +56089,9 @@ components:
5608956089

5609056090
The number of keywords in the list must be less than or equal to 30.'
5609156091
example:
56092-
- credit card
56093-
- cc
56092+
- email
56093+
- address
56094+
- login
5609456095
items:
5609556096
type: string
5609656097
type: array
@@ -56229,6 +56230,8 @@ components:
5622956230
maximum: 5
5623056231
minimum: 1
5623156232
type: integer
56233+
suppressions:
56234+
$ref: '#/components/schemas/SensitiveDataScannerSuppressions'
5623256235
tags:
5623356236
description: List of tags.
5623456237
items:
@@ -56450,6 +56453,41 @@ components:
5645056453
type:
5645156454
$ref: '#/components/schemas/SensitiveDataScannerStandardPatternType'
5645256455
type: object
56456+
SensitiveDataScannerSuppressions:
56457+
description: 'Object describing the suppressions for a rule. There are three
56458+
types of suppressions, `starts_with`, `ends_with`, and `exact_match`.
56459+
56460+
Suppressed matches are not obfuscated, counted in metrics, or displayed in
56461+
the Findings page.'
56462+
properties:
56463+
ends_with:
56464+
description: List of strings to use for suppression of matches ending with
56465+
these strings.
56466+
example:
56467+
- '@example.com'
56468+
- another.example.com
56469+
items:
56470+
type: string
56471+
type: array
56472+
exact_match:
56473+
description: List of strings to use for suppression of matches exactly matching
56474+
these strings.
56475+
example:
56476+
- admin@example.com
56477+
- user@example.com
56478+
items:
56479+
type: string
56480+
type: array
56481+
starts_with:
56482+
description: List of strings to use for suppression of matches starting
56483+
with these strings.
56484+
example:
56485+
- admin
56486+
- user
56487+
items:
56488+
type: string
56489+
type: array
56490+
type: object
5645356491
SensitiveDataScannerTextReplacement:
5645456492
description: Object describing how the scanned event will be replaced.
5645556493
properties:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2026-01-19T13:11:03.221Z"
1+
"2026-02-04T15:35:09.418Z"

cassettes/v2/Sensitive-Data-Scanner_3248008071/Create-Scanning-Group-returns-OK-response_232578477/recording.har

Lines changed: 18 additions & 18 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2026-01-19T13:11:04.324Z"
1+
"2026-02-04T15:35:10.455Z"

cassettes/v2/Sensitive-Data-Scanner_3248008071/Create-Scanning-Rule-returns-Bad-Request-response_3579605322/recording.har

Lines changed: 20 additions & 20 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2026-01-19T13:11:06.289Z"
1+
"2026-02-04T15:35:12.357Z"

cassettes/v2/Sensitive-Data-Scanner_3248008071/Create-Scanning-Rule-returns-OK-response_273264728/recording.har

Lines changed: 26 additions & 26 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2026-01-19T13:11:08.516Z"
1+
"2026-02-04T15:35:14.554Z"

cassettes/v2/Sensitive-Data-Scanner_3248008071/Create-Scanning-Rule-with-should_save_match-returns-OK-response_3931772115/recording.har

Lines changed: 26 additions & 26 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2026-01-19T13:11:10.959Z"
1+
"2026-02-04T15:35:16.741Z"

0 commit comments

Comments
 (0)