Skip to content

Commit 93a19ab

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Deprecate the pattern property for SDS Standard Pattern Attributes (#1546)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 3918b39 commit 93a19ab

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
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-02-29 14:49:21.352759",
8-
"spec_repo_commit": "bb5305bc"
7+
"regenerated": "2024-03-05 16:47:43.626564",
8+
"spec_repo_commit": "acf036aa"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-02-29 14:49:21.368688",
13-
"spec_repo_commit": "bb5305bc"
12+
"regenerated": "2024-03-05 16:47:43.641966",
13+
"spec_repo_commit": "acf036aa"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18316,7 +18316,10 @@ components:
1831618316
description: Name of the standard pattern.
1831718317
type: string
1831818318
pattern:
18319-
description: Regex to match.
18319+
deprecated: true
18320+
description: (Deprecated) Regex to match, optionally documented for older
18321+
standard rules. Refer to the `description` field to understand what the
18322+
rule does.
1832018323
type: string
1832118324
priority:
1832218325
description: Integer from 1 (high) to 5 (low) indicating standard pattern

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export class SensitiveDataScannerStandardPatternAttributes {
2323
*/
2424
"name"?: string;
2525
/**
26-
* Regex to match.
26+
* (Deprecated) Regex to match, optionally documented for older standard rules. Refer to the `description` field to understand what the rule does.
2727
*/
2828
"pattern"?: string;
2929
/**

0 commit comments

Comments
 (0)