Skip to content

Commit 22b1691

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 5323d855 of spec repo
1 parent a4bafe6 commit 22b1691

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
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-11 16:35:12.035901",
8-
"spec_repo_commit": "d83fe206"
7+
"regenerated": "2024-07-15 10:11:08.247370",
8+
"spec_repo_commit": "5323d855"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-07-11 16:35:12.052518",
13-
"spec_repo_commit": "d83fe206"
12+
"regenerated": "2024-07-15 10:11:08.264989",
13+
"spec_repo_commit": "5323d855"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17415,6 +17415,7 @@ components:
1741517415
- impossible_travel
1741617416
- hardcoded
1741717417
- third_party
17418+
- anomaly_threshold
1741817419
type: string
1741917420
x-enum-varnames:
1742017421
- THRESHOLD
@@ -17423,6 +17424,7 @@ components:
1742317424
- IMPOSSIBLE_TRAVEL
1742417425
- HARDCODED
1742517426
- THIRD_PARTY
17427+
- ANOMALY_THRESHOLD
1742617428
SecurityMonitoringRuleEvaluationWindow:
1742717429
description: 'A time window is specified to match when at least one of the cases
1742817430
matches true. This is a sliding window

src/datadog_api_client/v2/model/security_monitoring_rule_detection_method.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class SecurityMonitoringRuleDetectionMethod(ModelSimple):
1616
"""
1717
The detection method.
1818
19-
:param value: Must be one of ["threshold", "new_value", "anomaly_detection", "impossible_travel", "hardcoded", "third_party"].
19+
:param value: Must be one of ["threshold", "new_value", "anomaly_detection", "impossible_travel", "hardcoded", "third_party", "anomaly_threshold"].
2020
:type value: str
2121
"""
2222

@@ -27,13 +27,15 @@ class SecurityMonitoringRuleDetectionMethod(ModelSimple):
2727
"impossible_travel",
2828
"hardcoded",
2929
"third_party",
30+
"anomaly_threshold",
3031
}
3132
THRESHOLD: ClassVar["SecurityMonitoringRuleDetectionMethod"]
3233
NEW_VALUE: ClassVar["SecurityMonitoringRuleDetectionMethod"]
3334
ANOMALY_DETECTION: ClassVar["SecurityMonitoringRuleDetectionMethod"]
3435
IMPOSSIBLE_TRAVEL: ClassVar["SecurityMonitoringRuleDetectionMethod"]
3536
HARDCODED: ClassVar["SecurityMonitoringRuleDetectionMethod"]
3637
THIRD_PARTY: ClassVar["SecurityMonitoringRuleDetectionMethod"]
38+
ANOMALY_THRESHOLD: ClassVar["SecurityMonitoringRuleDetectionMethod"]
3739

3840
@cached_property
3941
def openapi_types(_):
@@ -48,3 +50,4 @@ def openapi_types(_):
4850
SecurityMonitoringRuleDetectionMethod.IMPOSSIBLE_TRAVEL = SecurityMonitoringRuleDetectionMethod("impossible_travel")
4951
SecurityMonitoringRuleDetectionMethod.HARDCODED = SecurityMonitoringRuleDetectionMethod("hardcoded")
5052
SecurityMonitoringRuleDetectionMethod.THIRD_PARTY = SecurityMonitoringRuleDetectionMethod("third_party")
53+
SecurityMonitoringRuleDetectionMethod.ANOMALY_THRESHOLD = SecurityMonitoringRuleDetectionMethod("anomaly_threshold")

0 commit comments

Comments
 (0)