Skip to content

Commit 10d476c

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Security Monitoring - Support anomaly threshold detection method (#1695)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent be3f86a commit 10d476c

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
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-07-18 15:19:08.545769",
8-
"spec_repo_commit": "a2447c71"
7+
"regenerated": "2024-07-18 16:48:33.363689",
8+
"spec_repo_commit": "fd57724c"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-07-18 15:19:08.575058",
13-
"spec_repo_commit": "a2447c71"
12+
"regenerated": "2024-07-18 16:48:33.390094",
13+
"spec_repo_commit": "fd57724c"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17736,6 +17736,7 @@ components:
1773617736
- impossible_travel
1773717737
- hardcoded
1773817738
- third_party
17739+
- anomaly_threshold
1773917740
type: string
1774017741
x-enum-varnames:
1774117742
- THRESHOLD
@@ -17744,6 +17745,7 @@ components:
1774417745
- IMPOSSIBLE_TRAVEL
1774517746
- HARDCODED
1774617747
- THIRD_PARTY
17748+
- ANOMALY_THRESHOLD
1774717749
SecurityMonitoringRuleEvaluationWindow:
1774817750
description: 'A time window is specified to match when at least one of the cases
1774917751
matches true. This is a sliding window

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1550,6 +1550,7 @@ const enumsMap: { [key: string]: any[] } = {
15501550
"impossible_travel",
15511551
"hardcoded",
15521552
"third_party",
1553+
"anomaly_threshold",
15531554
],
15541555
SecurityMonitoringRuleEvaluationWindow: [
15551556
0, 60, 300, 600, 900, 1800, 3600, 7200,

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@ export type SecurityMonitoringRuleDetectionMethod =
1717
| typeof IMPOSSIBLE_TRAVEL
1818
| typeof HARDCODED
1919
| typeof THIRD_PARTY
20+
| typeof ANOMALY_THRESHOLD
2021
| UnparsedObject;
2122
export const THRESHOLD = "threshold";
2223
export const NEW_VALUE = "new_value";
2324
export const ANOMALY_DETECTION = "anomaly_detection";
2425
export const IMPOSSIBLE_TRAVEL = "impossible_travel";
2526
export const HARDCODED = "hardcoded";
2627
export const THIRD_PARTY = "third_party";
28+
export const ANOMALY_THRESHOLD = "anomaly_threshold";

0 commit comments

Comments
 (0)