Skip to content

Commit 729d14f

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
change a category in enum for datadog_appsec_waf_custom_rule (#2993)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 86c68fb commit 729d14f

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
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": "2025-04-03 16:27:57.359938",
8-
"spec_repo_commit": "4468962d"
7+
"regenerated": "2025-04-04 12:49:25.225480",
8+
"spec_repo_commit": "73e22797"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-04-03 16:27:57.391599",
13-
"spec_repo_commit": "4468962d"
12+
"regenerated": "2025-04-04 12:49:25.241428",
13+
"spec_repo_commit": "73e22797"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2864,13 +2864,13 @@ components:
28642864
enum:
28652865
- attack_attempt
28662866
- business_logic
2867-
- security_responses
2867+
- security_response
28682868
example: business_logic
28692869
type: string
28702870
x-enum-varnames:
28712871
- ATTACK_ATTEMPT
28722872
- BUSINESS_LOGIC
2873-
- SECURITY_RESPONSES
2873+
- SECURITY_RESPONSE
28742874
ApplicationSecurityWafCustomRuleType:
28752875
default: custom_rule
28762876
description: The type of the resource. The value should always be `custom_rule`.

api/datadogV2/model_application_security_waf_custom_rule_tags_category.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ type ApplicationSecurityWafCustomRuleTagsCategory string
1515

1616
// List of ApplicationSecurityWafCustomRuleTagsCategory.
1717
const (
18-
APPLICATIONSECURITYWAFCUSTOMRULETAGSCATEGORY_ATTACK_ATTEMPT ApplicationSecurityWafCustomRuleTagsCategory = "attack_attempt"
19-
APPLICATIONSECURITYWAFCUSTOMRULETAGSCATEGORY_BUSINESS_LOGIC ApplicationSecurityWafCustomRuleTagsCategory = "business_logic"
20-
APPLICATIONSECURITYWAFCUSTOMRULETAGSCATEGORY_SECURITY_RESPONSES ApplicationSecurityWafCustomRuleTagsCategory = "security_responses"
18+
APPLICATIONSECURITYWAFCUSTOMRULETAGSCATEGORY_ATTACK_ATTEMPT ApplicationSecurityWafCustomRuleTagsCategory = "attack_attempt"
19+
APPLICATIONSECURITYWAFCUSTOMRULETAGSCATEGORY_BUSINESS_LOGIC ApplicationSecurityWafCustomRuleTagsCategory = "business_logic"
20+
APPLICATIONSECURITYWAFCUSTOMRULETAGSCATEGORY_SECURITY_RESPONSE ApplicationSecurityWafCustomRuleTagsCategory = "security_response"
2121
)
2222

2323
var allowedApplicationSecurityWafCustomRuleTagsCategoryEnumValues = []ApplicationSecurityWafCustomRuleTagsCategory{
2424
APPLICATIONSECURITYWAFCUSTOMRULETAGSCATEGORY_ATTACK_ATTEMPT,
2525
APPLICATIONSECURITYWAFCUSTOMRULETAGSCATEGORY_BUSINESS_LOGIC,
26-
APPLICATIONSECURITYWAFCUSTOMRULETAGSCATEGORY_SECURITY_RESPONSES,
26+
APPLICATIONSECURITYWAFCUSTOMRULETAGSCATEGORY_SECURITY_RESPONSE,
2727
}
2828

2929
// GetAllowedValues reeturns the list of possible values.

0 commit comments

Comments
 (0)