Skip to content

Commit

Permalink
Regenerate client from commit 467a9b17 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Feb 6, 2023
1 parent 9739abc commit 67b5ce1
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.4",
"regenerated": "2023-02-02 14:04:32.453084",
"spec_repo_commit": "2cc8984b"
"regenerated": "2023-02-06 14:54:29.293873",
"spec_repo_commit": "467a9b17"
},
"v2": {
"apigentools_version": "1.6.4",
"regenerated": "2023-02-02 14:04:32.468524",
"spec_repo_commit": "2cc8984b"
"regenerated": "2023-02-06 14:54:29.306471",
"spec_repo_commit": "467a9b17"
}
}
}
4 changes: 4 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9733,13 +9733,15 @@ components:
- anomaly_detection
- impossible_travel
- hardcoded
- third_party
type: string
x-enum-varnames:
- THRESHOLD
- NEW_VALUE
- ANOMALY_DETECTION
- IMPOSSIBLE_TRAVEL
- HARDCODED
- THIRD_PARTY
SecurityMonitoringRuleEvaluationWindow:
description: 'A time window is specified to match when at least one of the cases
matches true. This is a sliding window
Expand Down Expand Up @@ -9953,6 +9955,7 @@ components:
- new_value
- geo_data
- event_count
- none
type: string
x-enum-varnames:
- COUNT
Expand All @@ -9962,6 +9965,7 @@ components:
- NEW_VALUE
- GEO_DATA
- EVENT_COUNT
- NONE
SecurityMonitoringRuleResponse:
description: Create a new rule.
oneOf:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const (
SECURITYMONITORINGRULEDETECTIONMETHOD_ANOMALY_DETECTION SecurityMonitoringRuleDetectionMethod = "anomaly_detection"
SECURITYMONITORINGRULEDETECTIONMETHOD_IMPOSSIBLE_TRAVEL SecurityMonitoringRuleDetectionMethod = "impossible_travel"
SECURITYMONITORINGRULEDETECTIONMETHOD_HARDCODED SecurityMonitoringRuleDetectionMethod = "hardcoded"
SECURITYMONITORINGRULEDETECTIONMETHOD_THIRD_PARTY SecurityMonitoringRuleDetectionMethod = "third_party"
)

var allowedSecurityMonitoringRuleDetectionMethodEnumValues = []SecurityMonitoringRuleDetectionMethod{
Expand All @@ -27,6 +28,7 @@ var allowedSecurityMonitoringRuleDetectionMethodEnumValues = []SecurityMonitorin
SECURITYMONITORINGRULEDETECTIONMETHOD_ANOMALY_DETECTION,
SECURITYMONITORINGRULEDETECTIONMETHOD_IMPOSSIBLE_TRAVEL,
SECURITYMONITORINGRULEDETECTIONMETHOD_HARDCODED,
SECURITYMONITORINGRULEDETECTIONMETHOD_THIRD_PARTY,
}

// GetAllowedValues reeturns the list of possible values.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const (
SECURITYMONITORINGRULEQUERYAGGREGATION_NEW_VALUE SecurityMonitoringRuleQueryAggregation = "new_value"
SECURITYMONITORINGRULEQUERYAGGREGATION_GEO_DATA SecurityMonitoringRuleQueryAggregation = "geo_data"
SECURITYMONITORINGRULEQUERYAGGREGATION_EVENT_COUNT SecurityMonitoringRuleQueryAggregation = "event_count"
SECURITYMONITORINGRULEQUERYAGGREGATION_NONE SecurityMonitoringRuleQueryAggregation = "none"
)

var allowedSecurityMonitoringRuleQueryAggregationEnumValues = []SecurityMonitoringRuleQueryAggregation{
Expand All @@ -31,6 +32,7 @@ var allowedSecurityMonitoringRuleQueryAggregationEnumValues = []SecurityMonitori
SECURITYMONITORINGRULEQUERYAGGREGATION_NEW_VALUE,
SECURITYMONITORINGRULEQUERYAGGREGATION_GEO_DATA,
SECURITYMONITORINGRULEQUERYAGGREGATION_EVENT_COUNT,
SECURITYMONITORINGRULEQUERYAGGREGATION_NONE,
}

// GetAllowedValues reeturns the list of possible values.
Expand Down

0 comments on commit 67b5ce1

Please sign in to comment.